提交 e0c3d732 authored 作者: Razvan Pascanu's avatar Razvan Pascanu

initialize the destroy map to empty and let the inplace optimization to populate it

上级 010aa620
...@@ -607,6 +607,7 @@ def scan(fn, ...@@ -607,6 +607,7 @@ def scan(fn,
info['truncate_gradient'] = -1 info['truncate_gradient'] = -1
info['name'] = name info['name'] = name
info['mode'] = mode info['mode'] = mode
info['destroy_map'] = {}
info['inplace'] = False info['inplace'] = False
info['gpu'] = False info['gpu'] = False
info['as_while'] = as_while info['as_while'] = as_while
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论