提交 e28057a7 authored 作者: Arnaud Bergeron's avatar Arnaud Bergeron

Fix typos.

上级 838508a9
...@@ -50,7 +50,7 @@ two characters '->' and the device name. The context name is a simple ...@@ -50,7 +50,7 @@ two characters '->' and the device name. The context name is a simple
string which does not have any special meaning for Theano. For string which does not have any special meaning for Theano. For
parsing reasons, the context name cannot contain the sequence '->' or parsing reasons, the context name cannot contain the sequence '->' or
';'. To avoid confusion context names that begin with 'cuda' or ';'. To avoid confusion context names that begin with 'cuda' or
'opencl' as disallowed. The device name is a device in the form that 'opencl' are disallowed. The device name is a device in the form that
gpuarray expects like 'cuda0' or 'opencl0:0'. gpuarray expects like 'cuda0' or 'opencl0:0'.
.. note:: .. note::
...@@ -62,9 +62,9 @@ gpuarray expects like 'cuda0' or 'opencl0:0'. ...@@ -62,9 +62,9 @@ gpuarray expects like 'cuda0' or 'opencl0:0'.
$ THEANO_FLAGS="contexts=dev0->cuda0" $ THEANO_FLAGS="contexts=dev0->cuda0"
When you define a context map, if :attr:`config.print_device` is When you define a context map, if :attr:`config.print_active_device`
`True`, Theano will print the mappings as they are defined. This will is `True` (the default), Theano will print the mappings as they are
look like this: defined. This will look like this:
.. code-block:: bash .. code-block:: bash
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论