提交 ca1ebe71 authored 作者: rizar's avatar rizar

Update docs of clone_get_equiv

上级 a53d8ec3
...@@ -834,11 +834,14 @@ def clone_get_equiv(inputs, outputs, copy_inputs=True, copy_orphans=True, memo=N ...@@ -834,11 +834,14 @@ def clone_get_equiv(inputs, outputs, copy_inputs=True, copy_orphans=True, memo=N
---------- ----------
inputs : a list of Variables inputs : a list of Variables
outputs : a list of Variables outputs : a list of Variables
copy_inputs_and_orphans : bool copy_inputs : bool
True means to create the cloned graph from new input and constant True means to create the cloned graph from new input
nodes (the bottom of a feed-upward graph). nodes (the bottom of a feed-upward graph).
False means to clone a graph that is rooted at the original input False means to clone a graph that is rooted at the original input
nodes. nodes.
copy_orphans:
When True, new constant nodes are created. When False, original
constant nodes are reused in the new graph.
memo : None or dict memo : None or dict
Optionally start with a partly-filled dictionary for the return value. Optionally start with a partly-filled dictionary for the return value.
If a dictionary is passed, this function will work in-place on that If a dictionary is passed, this function will work in-place on that
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论