提交 8d19662c authored 作者: nouiz's avatar nouiz

Merge pull request #741 from lamblin/update_clone_docstring

Document confusing argument in theano.clone
...@@ -151,6 +151,12 @@ def clone(output, ...@@ -151,6 +151,12 @@ def clone(output,
:type replace: dict :type replace: dict
:param replace: dictionary describing which subgraphs should be :param replace: dictionary describing which subgraphs should be
replaced by what replaced by what
:type copy_inputs: bool
:param copy_inputs: If True, use the same inputs (and shared variables)
as the original graph. If False, clone them. Note that cloned
shared variables still use the same underlying storage, so they
will always have the same value.
""" """
inps, outs, other_stuff = rebuild_collect_shared(output, inps, outs, other_stuff = rebuild_collect_shared(output,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论