提交 ac1f882b authored 作者: notoraptor's avatar notoraptor

Add the new flag in documentation.

上级 fc189694
...@@ -671,6 +671,14 @@ import theano and print the config variable, as in: ...@@ -671,6 +671,14 @@ import theano and print the config variable, as in:
A directory with bin/, lib/, include/ folders containing cuda utilities. A directory with bin/, lib/, include/ folders containing cuda utilities.
.. attribute:: config.cuda.enabled
Bool value: either ``True`` of ``False``
Default: ``True``
If set to `False`, C code in old backend is not compiled.
.. attribute:: config.dnn.enabled .. attribute:: config.dnn.enabled
String value: ``'auto'``, ``'True'``, ``'False'`` String value: ``'auto'``, ``'True'``, ``'False'``
......
...@@ -199,7 +199,6 @@ AddConfigVar( ...@@ -199,7 +199,6 @@ AddConfigVar(
StrParam(default_cuda_root), StrParam(default_cuda_root),
in_c_key=False) in_c_key=False)
# To be used as an internal config or for developers (i.e. not to be put in documentation)
AddConfigVar( AddConfigVar(
'cuda.enabled', 'cuda.enabled',
'If false, C code in old backend is not compiled.', 'If false, C code in old backend is not compiled.',
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论