提交 52e99b5e authored 作者: James Bergstra's avatar James Bergstra

PEP8 in test

上级 56dc76b9
...@@ -28,9 +28,9 @@ class T_bunch_of_modes(unittest.TestCase): ...@@ -28,9 +28,9 @@ class T_bunch_of_modes(unittest.TestCase):
x = T.matrix() x = T.matrix()
y = T.vector() y = T.vector()
f = theano.function([x,y], x+y, mode=mode) f = theano.function([x, y], x + y, mode=mode)
# test that it runs something # test that it runs something
f([[1,2],[3,4]], [5, 6]) f([[1, 2], [3, 4]], [5, 6])
linker_classes_involved.append(f.maker.mode.linker.__class__) linker_classes_involved.append(f.maker.mode.linker.__class__)
print 'MODE:', mode, f.maker.mode.linker, 'stop' print 'MODE:', mode, f.maker.mode.linker, 'stop'
# regression check: # regression check:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论