提交 3d09661f authored 作者: David Warde-Farley's avatar David Warde-Farley

STY: misc whitespace + PEP8

上级 33c35e1b
...@@ -609,9 +609,10 @@ class TestConv2DGPU(unittest.TestCase): ...@@ -609,9 +609,10 @@ class TestConv2DGPU(unittest.TestCase):
if theano.config.mode in ['DebugMode', 'DEBUG_MODE']: if theano.config.mode in ['DebugMode', 'DEBUG_MODE']:
theano_mode = theano.compile.mode.get_mode('FAST_RUN').including('gpu') theano_mode = theano.compile.mode.get_mode('FAST_RUN').including('gpu')
for mode in ['valid', 'full']: for mode in ['valid', 'full']:
for shapes in [((3,2,8,8), (4,2,5,5), (8,8)), for shapes in [((3, 2, 8, 8), (4, 2, 5, 5), (8, 8)),
((3,2,8,8), (4,2,5,5), (5,8)), ((3, 2, 8, 8), (4, 2, 5, 5), (5, 8)),
#((3,2,8,8), (4,2,5,5), (8,5)),# We use only the number of columns. #((3, 2, 8, 8), (4, 2, 5, 5), (8, 5)),
# We use only the number of columns.
]: ]:
self.assertRaises(ValueError, _params_allgood, shapes[0], shapes[1], self.assertRaises(ValueError, _params_allgood, shapes[0], shapes[1],
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论