提交 b5a288b2 authored 作者: Frederic Bastien's avatar Frederic Bastien

flake8

上级 4bf5448d
...@@ -1528,7 +1528,7 @@ class TestCompositeCodegen(unittest.TestCase): ...@@ -1528,7 +1528,7 @@ class TestCompositeCodegen(unittest.TestCase):
def test_local_useless_composite(self): def test_local_useless_composite(self):
x = theano.scalar.float32() x = theano.scalar.float32()
c = theano.scalar.Composite([x], [x+1, x-1]) c = theano.scalar.Composite([x], [x + 1, x - 1])
X = theano.tensor.matrix() X = theano.tensor.matrix()
o = theano.tensor.Elemwise(scalar_op=c)(X) o = theano.tensor.Elemwise(scalar_op=c)(X)
mode = theano.compile.mode.get_default_mode().including( mode = theano.compile.mode.get_default_mode().including(
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论