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

better comment.

上级 dd8070ea
...@@ -592,10 +592,10 @@ def function(inputs, outputs, mode='FAST_RUN', accept_inplace = False): ...@@ -592,10 +592,10 @@ def function(inputs, outputs, mode='FAST_RUN', accept_inplace = False):
The return value of the returned function will match the format of this The return value of the returned function will match the format of this
argument (either the value itself or a list of one or more return values) argument (either the value itself or a list of one or more return values)
mode -> a descriptive string or a Mode instance; descriptive strings can be one of: mode -> a descriptive string or a Mode instance; descriptive strings can be one of:
* SANITY_CHECK * SANITY_CHECK TODO: NotImplemented
* FAST_COMPILE * FAST_COMPILE (apply only optimization that are fast to apply)
* FAST_RUN (default) * FAST_RUN (default) (optimize without too much time)
* EXPENSIVE_OPTIMIZATION * EXPENSIVE_OPTIMIZATION TODO: NotImplemented
accept_inplace -> True iff the graph can contain inplace operations accept_inplace -> True iff the graph can contain inplace operations
prior to the optimization phase (default is False) prior to the optimization phase (default is False)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论