提交 84b8fb80 authored 作者: --global's avatar --global

Document flag for scan output pre_allocation

上级 2d8742b4
......@@ -208,6 +208,17 @@ import theano and print the config variable, as in:
significant speed up on functions with many ops that are fast to
execute, but this increases Theano's memory usage.
.. attribute:: scan.allow_output_prealloc
Bool value, either ``True`` or ``False``
Default: ``True``
This enables, or not, an optimization in Scan in which it tries to
pre-allocate memory for its outputs. Enabling the optimization can
give a significant speed up with Scan at the cost of slightly increased
memory usage.
.. attribute:: openmp
Bool value: either True or False
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论