提交 74db255b authored 作者: Tanjay94's avatar Tanjay94

Fixed SlowAttr in various tests.

上级 369af1ad
...@@ -192,7 +192,6 @@ def test_clinker_straightforward(): ...@@ -192,7 +192,6 @@ def test_clinker_straightforward():
assert fn(2.0, 2.0, 2.0) == 2.0 assert fn(2.0, 2.0, 2.0) == 2.0
@attr('slow')
def test_clinker_literal_inlining(): def test_clinker_literal_inlining():
if not theano.config.cxx: if not theano.config.cxx:
raise SkipTest("G++ not available, so we need to skip this test.") raise SkipTest("G++ not available, so we need to skip this test.")
...@@ -208,7 +207,6 @@ def test_clinker_literal_inlining(): ...@@ -208,7 +207,6 @@ def test_clinker_literal_inlining():
assert "4.12345678" in code # we expect the number to be inlined assert "4.12345678" in code # we expect the number to be inlined
@attr('slow')
def test_clinker_single_node(): def test_clinker_single_node():
if not theano.config.cxx: if not theano.config.cxx:
raise SkipTest("G++ not available, so we need to skip this test.") raise SkipTest("G++ not available, so we need to skip this test.")
...@@ -219,7 +217,6 @@ def test_clinker_single_node(): ...@@ -219,7 +217,6 @@ def test_clinker_single_node():
assert fn(2.0, 7.0) == 9 assert fn(2.0, 7.0) == 9
@attr('slow')
def test_clinker_dups(): def test_clinker_dups():
if not theano.config.cxx: if not theano.config.cxx:
raise SkipTest("G++ not available, so we need to skip this test.") raise SkipTest("G++ not available, so we need to skip this test.")
...@@ -232,7 +229,6 @@ def test_clinker_dups(): ...@@ -232,7 +229,6 @@ def test_clinker_dups():
# note: for now the behavior of fn(2.0, 7.0) is undefined # note: for now the behavior of fn(2.0, 7.0) is undefined
@attr('slow')
def test_clinker_not_used_inputs(): def test_clinker_not_used_inputs():
if not theano.config.cxx: if not theano.config.cxx:
raise SkipTest("G++ not available, so we need to skip this test.") raise SkipTest("G++ not available, so we need to skip this test.")
...@@ -244,7 +240,6 @@ def test_clinker_not_used_inputs(): ...@@ -244,7 +240,6 @@ def test_clinker_not_used_inputs():
assert fn(2.0, 1.5, 1.0) == 3.5 assert fn(2.0, 1.5, 1.0) == 3.5
@attr('slow')
def test_clinker_dups_inner(): def test_clinker_dups_inner():
if not theano.config.cxx: if not theano.config.cxx:
raise SkipTest("G++ not available, so we need to skip this test.") raise SkipTest("G++ not available, so we need to skip this test.")
...@@ -273,7 +268,6 @@ def test_opwiseclinker_straightforward(): ...@@ -273,7 +268,6 @@ def test_opwiseclinker_straightforward():
assert fn(2.0, 2.0, 2.0) == -6 assert fn(2.0, 2.0, 2.0) == -6
@attr('slow')
def test_opwiseclinker_constant(): def test_opwiseclinker_constant():
x, y, z = inputs() x, y, z = inputs()
x = Constant(tdouble, 7.2, name='x') x = Constant(tdouble, 7.2, name='x')
...@@ -307,7 +301,6 @@ def test_duallinker_straightforward(): ...@@ -307,7 +301,6 @@ def test_duallinker_straightforward():
assert res == 15.3 assert res == 15.3
@attr('slow')
def test_duallinker_mismatch(): def test_duallinker_mismatch():
if not theano.config.cxx: if not theano.config.cxx:
raise SkipTest("G++ not available, so we need to skip this test.") raise SkipTest("G++ not available, so we need to skip this test.")
......
...@@ -301,7 +301,6 @@ class TestSP(unittest.TestCase): ...@@ -301,7 +301,6 @@ class TestSP(unittest.TestCase):
l2hidval = l2propup(l2kernvals,l1hidval) l2hidval = l2propup(l2kernvals,l1hidval)
def test_maxpool(self): def test_maxpool(self):
# generate flatted images # generate flatted images
maxpoolshps = ((2,2),(3,3),(4,4),(5,5),(6,6)) maxpoolshps = ((2,2),(3,3),(4,4),(5,5),(6,6))
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论