提交 f15e8dc2 authored 作者: Bryn Keller's avatar Bryn Keller

Added warning on accept_inplace parameter for function and pfunc

上级 1c1a108b
......@@ -102,7 +102,8 @@ def function(inputs, outputs=None, mode=None, updates=None, givens=None,
Variables that are neither in "updates" nor in "no_default_updates".
accept_inplace : bool
True iff the graph can contain inplace operations prior to the
optimization phase (default is False).
optimization phase (default is False). *Note* this parameter is unsupported,
and its use is not recommended.
name : str
An optional name for this function. The profile mode will print the time
spent in this function.
......
......@@ -308,7 +308,8 @@ def pfunc(params, outputs=None, mode=None, updates=None, givens=None,
"no_default_updates".
accept_inplace : bool
True iff the graph can contain inplace operations prior to the
optimization phase (default is False).
optimization phase (default is False). *Note* this parameter is unsupported,
and its use is not recommended.
name : None or string
Attaches a name to the profiling result of this function.
allow_input_downcast : bool
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论