提交 3f2d8206 authored 作者: Frederic Bastien's avatar Frederic Bastien

reverted change that should not have been commited.

上级 f0fe6f5f
...@@ -529,7 +529,7 @@ class test_canonize(unittest.TestCase): ...@@ -529,7 +529,7 @@ class test_canonize(unittest.TestCase):
if not isinstance(mode,theano.compile.debugmode.DebugMode): if not isinstance(mode,theano.compile.debugmode.DebugMode):
assert numpy.isfinite(f(0)) assert numpy.isfinite(f(0))
assert len(f.maker.env.toposort())==3 assert len(f.maker.env.toposort())==2
assert f.maker.env.toposort()[0].op==T.sgn assert f.maker.env.toposort()[0].op==T.sgn
f=theano.function([x],[(4*x)/abs(x/2)], mode = mode) f=theano.function([x],[(4*x)/abs(x/2)], mode = mode)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论