提交 36f7e849 authored 作者: Frederic Bastien's avatar Frederic Bastien

make tests valid that both case fail

上级 9354d3b8
...@@ -84,6 +84,10 @@ class TestSignalConv2D(unittest.TestCase): ...@@ -84,6 +84,10 @@ class TestSignalConv2D(unittest.TestCase):
""" """
try: try:
conv.conv2d(T.dtensor4(), T.dtensor3()) conv.conv2d(T.dtensor4(), T.dtensor3())
self.fail()
except:
pass
try:
conv.conv2d(T.dtensor3(), T.dvector()) conv.conv2d(T.dtensor3(), T.dvector())
self.fail() self.fail()
except: except:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论