提交 e1e700e1 authored 作者: Frederic Bastien's avatar Frederic Bastien

moved the test_conv.py:TestConv2D test from fct test_basic to fct…

moved the test_conv.py:TestConv2D test from fct test_basic to fct test_img_kernel_same_shape. This way it don't show up as the basic test that fail. The cause is the gcc on fc9 fail to properly compile that test when the image and kernel have the same size.
上级 488246bf
...@@ -94,6 +94,9 @@ class TestConv2D(unittest.TestCase): ...@@ -94,6 +94,9 @@ class TestConv2D(unittest.TestCase):
self.validate((3,2,8,8), (4,2,5,5), 'full') self.validate((3,2,8,8), (4,2,5,5), 'full')
self.validate((3,2,7,5), (5,2,2,3), 'full') self.validate((3,2,7,5), (5,2,2,3), 'full')
# test filter same size as input # test filter same size as input
def test_img_kernel_same_shape(self):
self.validate((3,2,3,3), (4,2,3,3), 'full')
self.validate((3,2,3,3), (4,2,3,3), 'valid') self.validate((3,2,3,3), (4,2,3,3), 'valid')
def test_unroll_patch_false(self): def test_unroll_patch_false(self):
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论