提交 451c9a88 authored 作者: Ying Zhang's avatar Ying Zhang

small change

上级 be4c138c
...@@ -5719,7 +5719,7 @@ class Test_Reshape(unittest.TestCase): ...@@ -5719,7 +5719,7 @@ class Test_Reshape(unittest.TestCase):
def test_local_useless_reshape(self): def test_local_useless_reshape(self):
mode = theano.compile.get_default_mode().including( mode = theano.compile.get_default_mode().including(
'local_useless_reshape') 'local_useless_reshape')
i = T.iscalar('x') i = T.iscalar('i')
m=theano.tensor.mgrid[0:i,] m=theano.tensor.mgrid[0:i,]
f = theano.function([i], m, mode=mode) f = theano.function([i], m, mode=mode)
topo = f.maker.fgraph.toposort() topo = f.maker.fgraph.toposort()
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论