提交 2f3f2e53 authored 作者: Reyhane Askari's avatar Reyhane Askari 提交者: Frederic Bastien

updated doc for fast cycle detection

上级 5e0cc2b7
...@@ -67,6 +67,13 @@ compilation but it will also use more memory because ...@@ -67,6 +67,13 @@ compilation but it will also use more memory because
resulting in a trade off between speed of compilation and memory resulting in a trade off between speed of compilation and memory
usage. usage.
Alternatively, if the graph is big, using the flag ``cycle_detection=fast``
will speedup the computations by removing some of the inplace
optimizations. This would allow theano to skip a time consuming cycle
detection algorithm. If the graph is big enough,we suggest that you use
this flag instead of ``optimizer_excluding=inplace``. It will result in a
computation time that is in between fast compile and fast run.
Theano flag `reoptimize_unpickled_function` controls if an unpickled Theano flag `reoptimize_unpickled_function` controls if an unpickled
theano function should reoptimize its graph or not. Theano users can theano function should reoptimize its graph or not. Theano users can
use the standard python pickle tools to save a compiled theano use the standard python pickle tools to save a compiled theano
......
...@@ -225,7 +225,8 @@ stabilize "+++++" "++" Only applies stability opts ...@@ -225,7 +225,8 @@ stabilize "+++++" "++" Only applies stability opts
================= ============ ============== ================================================== ================= ============ ============== ==================================================
For a detailed list of the specific optimizations applied for each of these For a detailed list of the specific optimizations applied for each of these
optimizers, see :ref:`optimizations`. Also, see :ref:`unsafe_optimization`. optimizers, see :ref:`optimizations`. Also, see :ref:`unsafe_optimization` and
:ref:`faster-theano-function-compilation`.
.. _using_debugmode: .. _using_debugmode:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论