提交 7ceab2bc authored 作者: Frederic Bastien's avatar Frederic Bastien

make test faster in debug mode

上级 c4780f64
......@@ -73,10 +73,10 @@ class TestSignalConv2D(unittest.TestCase):
just have to test whether or not signal.conv.conv2d can support inputs and filters of
type matrix or tensor3.
"""
self.validate((3,7,5), (5,2,3), 'valid')
self.validate((7,5), (5,2,3), 'valid')
self.validate((3,7,5), (2,3), 'valid')
self.validate((7,5), (2,3), 'valid')
self.validate((1,4,5), (2,2,3), verify_grad=True)
self.validate((7,5), (5,2,3), verify_grad=False)
self.validate((3,7,5), (2,3), verify_grad=False)
self.validate((7,5), (2,3), verify_grad=False)
def test_fail(self):
"""
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论