提交 6997991b authored 作者: Ying Zhang's avatar Ying Zhang

add space

上级 ee750865
......@@ -5720,7 +5720,7 @@ def test_local_useless_reshape():
mode = theano.compile.get_default_mode().including(
'local_useless_reshape')
i = T.iscalar('i')
m=theano.tensor.mgrid[0:i,]
m = theano.tensor.mgrid[0:i,]
f = theano.function([i], m, mode=mode)
topo = f.maker.fgraph.toposort()
assert not any(isinstance(n.op, tensor.basic.Reshape) for n in topo)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论