提交 3ccdadfd authored 作者: Frederic's avatar Frederic

fix gh-2929

上级 77ea266d
...@@ -137,7 +137,7 @@ is controlled by the value of the ``mode`` parameter. ...@@ -137,7 +137,7 @@ is controlled by the value of the ``mode`` parameter.
Theano defines the following modes by name: Theano defines the following modes by name:
- ``'FAST_COMPILE'``: Apply just a few graph optimizations and only use Python implementations. - ``'FAST_COMPILE'``: Apply just a few graph optimizations and only use Python implementations. So GPU is disabled.
- ``'FAST_RUN'``: Apply all optimizations and use C implementations where possible. - ``'FAST_RUN'``: Apply all optimizations and use C implementations where possible.
- ``'DebugMode``: Verify the correctness of all optimizations, and compare C and Python - ``'DebugMode``: Verify the correctness of all optimizations, and compare C and Python
implementations. This mode can take much longer than the other modes, but can identify implementations. This mode can take much longer than the other modes, but can identify
......
...@@ -783,5 +783,9 @@ Modify and execute to support *stride* (i.e. to avoid constraining the input to ...@@ -783,5 +783,9 @@ Modify and execute to support *stride* (i.e. to avoid constraining the input to
Note Note
---- ----
See :ref:`example_other_random` to know how to handle random numbers * See :ref:`example_other_random` to know how to handle random numbers
on the GPU. on the GPU.
* The mode `FAST_COMPILE` disable c code, so also disable the GPU. You
can use the Theano flag optimizer='fast_compile' to speed up
compilatino and keeping the GPU.
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论