提交 e482cafd authored 作者: Frederic Bastien's avatar Frederic Bastien

Better docstring

上级 02b95b47
...@@ -119,6 +119,8 @@ def function(inputs, outputs=None, mode=None, updates=None, givens=None, ...@@ -119,6 +119,8 @@ def function(inputs, outputs=None, mode=None, updates=None, givens=None,
profile: None, True, or ProfileStats instance profile: None, True, or ProfileStats instance
Accumulate profiling information into a given ProfileStats instance. Accumulate profiling information into a given ProfileStats instance.
If argument is `True` then a new ProfileStats instance will be used. If argument is `True` then a new ProfileStats instance will be used.
If argument is a string, a new ProfileStats instance will be created
with that string as its ``message`` attribute.
This profiling object will be available via self.profile. This profiling object will be available via self.profile.
on_unused_input on_unused_input
What to do if a variable in the 'inputs' list is not used in the graph. What to do if a variable in the 'inputs' list is not used in the graph.
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论