提交 acc3ffff authored 作者: Frederic Bastien's avatar Frederic Bastien

Partial revert of previous commit for a test.

上级 c0e407c0
......@@ -1518,6 +1518,8 @@ class ScanSaveMem(gof.Optimizer):
# 3.6 Compose the new scan
# TODO: currently we don't support scan with 0 step. So
# don't create one.
# For test, mark that savemem have optimized this node
info['_scan_savemem_visited'] = True
if theano.tensor.extract_constant(node_ins[0]) == 0:
return
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论