提交 a6bef925 authored 作者: Ying Zhang's avatar Ying Zhang

tensor to theano.tensor

上级 451c9a88
...@@ -5723,7 +5723,7 @@ def test_local_useless_reshape(self): ...@@ -5723,7 +5723,7 @@ def test_local_useless_reshape(self):
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()
assert not any(isinstance(n.op, tensor.basic.Reshape) for n in topo) assert not any(isinstance(n.op, theano.tensor.basic.Reshape) for n in topo)
def test_local_reshape_lift(): def test_local_reshape_lift():
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论