提交 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):
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)
mode -> a descriptive string or a Mode instance; descriptive strings can be one of:
* SANITY_CHECK
* FAST_COMPILE
* FAST_RUN (default)
* EXPENSIVE_OPTIMIZATION
* SANITY_CHECK TODO: NotImplemented
* FAST_COMPILE (apply only optimization that are fast to apply)
* FAST_RUN (default) (optimize without too much time)
* EXPENSIVE_OPTIMIZATION TODO: NotImplemented
accept_inplace -> True iff the graph can contain inplace operations
prior to the optimization phase (default is False)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论