提交 6c218ad8 authored 作者: ChienliMa's avatar ChienliMa

delete debug code

上级 a8a12e8e
......@@ -331,7 +331,7 @@ class T_function(unittest.TestCase):
for mode in ["FAST_RUN","FAST_COMPILE"]:
ori = theano.function([x], out, mode=mode,updates={z:z*2})
cpy = ori.copy(delete_updates=True)
print cpy(1)
assert cpy(1)[0] == 4
assert cpy(1)[0] == 4
assert cpy(1)[0] == 4
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论