提交 a4b9daec authored 作者: Hengjean's avatar Hengjean 提交者: Frederic

Solved "givens" related problem.

上级 7f1f0fe9
...@@ -1153,6 +1153,9 @@ class FunctionMaker(object): ...@@ -1153,6 +1153,9 @@ class FunctionMaker(object):
t2 = copy.deepcopy(output_old) t2 = copy.deepcopy(output_old)
# is_same_graph complains if fgraph is not None # is_same_graph complains if fgraph is not None
givens = dict(zip(t1.fgraph.inputs,
t2.fgraph.inputs))
def removeAllFgraph(remove): def removeAllFgraph(remove):
if hasattr(remove, 'fgraph'): if hasattr(remove, 'fgraph'):
del remove.fgraph del remove.fgraph
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论