提交 046b46d3 authored 作者: Arnaud Bergeron's avatar Arnaud Bergeron

Skip AbstractConv tests if there is no blas since we need it for the refrence implementation.

上级 496ba4ba
......@@ -64,6 +64,8 @@ class TestGetConvOutShape(unittest.TestCase):
class BaseTestConv2d(unittest.TestCase):
def setUp(self):
if theano.config.blas.ldflags == '':
raise SkipTest("BLAS required for reference")
self.inputs_shapes = [(8, 1, 12, 12), (8, 1, 18, 18), (2, 1, 4, 4),
(6, 1, 10, 11), (2, 1, 6, 5), (1, 5, 9, 9)]
self.filters_shapes = [(5, 1, 2, 2), (4, 1, 3, 3), (2, 1, 3, 3),
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论