提交 27cc4099 authored 作者: Ian Goodfellow's avatar Ian Goodfellow

made function accept tuples of outputs as well as lists

上级 158b1edc
......@@ -53,6 +53,10 @@ def rebuild_collect_shared( outputs
"updates" nor in "no_default_updates".
"""
if isinstance(outputs,tuple):
outputs = list(outputs)
## This function implements similar functionality as graph.clone
## and it should be merged with that
clone_d = {}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论