提交 1ae4563b authored 作者: Tegan Maharaj's avatar Tegan Maharaj

added SkipTest for FAST_COMPILE

上级 fdeacb7a
...@@ -1592,6 +1592,10 @@ class TestConv2dGrads(unittest.TestCase): ...@@ -1592,6 +1592,10 @@ class TestConv2dGrads(unittest.TestCase):
def setUp(self): def setUp(self):
if (not theano.config.cxx or
theano.config.mode == "FAST_COMPILE"):
raise SkipTest("Need blas to test conv2d")
self.random_stream = numpy.random.RandomState(utt.fetch_seed()) self.random_stream = numpy.random.RandomState(utt.fetch_seed())
self.inputs_shapes = [(8, 1, 12, 12), (1, 1, 5, 5), (1, 1, 5, 6), (1, 1, 6, 6)] self.inputs_shapes = [(8, 1, 12, 12), (1, 1, 5, 5), (1, 1, 5, 6), (1, 1, 6, 6)]
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论