提交 a664e329 authored 作者: Frederic's avatar Frederic

Doc that an old parameter is deprecated

上级 9d210f3b
...@@ -185,6 +185,8 @@ def clone(output, ...@@ -185,6 +185,8 @@ def clone(output,
as the original graph. If False, clone them. Note that cloned as the original graph. If False, clone them. Note that cloned
shared variables still use the same underlying storage, so they shared variables still use the same underlying storage, so they
will always have the same value. will always have the same value.
:param copy_inputs: deprecated, use share_inputs.
""" """
if copy_inputs is not DEPRECATED_ARG: if copy_inputs is not DEPRECATED_ARG:
warnings.warn('In `clone()` function, the argument `copy_inputs` has been deprecated and renamed into `share_inputs`') warnings.warn('In `clone()` function, the argument `copy_inputs` has been deprecated and renamed into `share_inputs`')
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论