提交 409c6009 authored 作者: Frederic Bastien's avatar Frederic Bastien

Skip one more test when no scipy

上级 6c24e0ec
......@@ -1991,6 +1991,8 @@ class TestAsymmetricPadding(unittest.TestCase):
utt.verify_grad(conv_gradweight, [img, top], mode=self.mode, eps=1)
def test_gradinput(self):
if not theano.tensor.nnet.abstract_conv.imported_scipy_signal:
raise SkipTest("SciPy needed")
kern_sym = theano.tensor.tensor4('kern')
top_sym = theano.tensor.tensor4('top')
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论