提交 466a75f9 authored 作者: ChienliMa's avatar ChienliMa

Correct typo. Add stoarge_map to PerformLinker.make_thunk(). Now it works!

上级 fb607620
......@@ -593,7 +593,7 @@ class Function(object):
# But to be safe for now as it isn't documented and we aren't sure
# it is well tested, we don't share the part of the storage_map.
for key in storage_map.keys():
if key not in self.maker.fgraph.outputs and \
if key not in self.maker.fgraph.outputs and
not isinstance(key, theano.tensor.Constant):
new_storage_map[memo[key]] = storage_map[key]
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论