提交 9a421442 authored 作者: Frederic's avatar Frederic

1 more test about the vm/cvm gc bug.

上级 7b507e2b
......@@ -306,3 +306,9 @@ def test_vm_gc():
f = theano.function([theano.In(x, mutable=True)], [p + 1, p + 2],
mode=mode)
f([1, 2, 3])
p = RunOnce()(x)
pp = p + p
f = theano.function([x], [pp + pp],
mode=mode)
f([1, 2, 3])
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论