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

fix to the scan_utils

destroy_map is not always defined for a scan op.
上级 9333a813
......@@ -858,6 +858,7 @@ class scan_args(object):
self.other_info = dict()
for k in ('truncate_gradient', 'name', 'mode', 'destroy_map',
'gpu', 'as_while', 'profile'):
if k in info:
self.other_info[k] = info[k]
inner_inputs = property(lambda self: (self.inner_in_seqs +
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论