提交 efe503b0 authored 作者: Pascal Lamblin's avatar Pascal Lamblin

Document that the value of some flags cannot be changed once set.

上级 ed02ec70
......@@ -113,6 +113,8 @@ import theano and print the config variable, as in:
to use a specific device. If we are not able to use the GPU, either we fall back
on the CPU, or an error is raised, depending on the :attr:`force_device` flag.
This flag's value cannot be modified during the program execution.
.. attribute:: force_device
Bool value: either ``True`` or ``False``
......@@ -122,6 +124,8 @@ import theano and print the config variable, as in:
If ``True``, we raise an error if we cannot use the specified :attr:`device`.
If ``False``, we fall back to the CPU.
This flag's value cannot be modified during the program execution.
.. attribute:: init_gpu_device
String value: either ``''``, ``'gpu'``, ``'gpu0'``, ``'gpu1'``, ``'gpu2'``,
......@@ -136,6 +140,8 @@ import theano and print the config variable, as in:
This flag is useful to run GPU-specific tests on a particular GPU, instead
of using the default one.
This flag's value cannot be modified during the program execution.
.. attribute:: floatX
String value: either 'float64' or 'float32'.
......@@ -210,6 +216,8 @@ import theano and print the config variable, as in:
It is also recommended you put this into your .theanorc, so this setting
will always be used.
This flag's value cannot be modified during the program execution.
.. attribute:: home
Default: env-variable $HOME
......@@ -222,6 +230,8 @@ import theano and print the config variable, as in:
This directory stores the architecture-dependent compilation directories.
This flag's value cannot be modified during the program execution.
.. attribute:: compiledir
Default: $HOME/.theano/<arch-identifier>
......@@ -229,6 +239,8 @@ import theano and print the config variable, as in:
This directory stores dynamically-compiled modules for a particular
architecture.
This flag's value cannot be modified during the program execution.
.. attribute:: config.blas.ldflags
Default: '-lblas'
......@@ -258,6 +270,8 @@ import theano and print the config variable, as in:
use the flags: optimizer_excluding:inplace_opt, where
inplace_opt is the name of that optimization.
This flag's value cannot be modified during the program execution.
.. attribute:: optimizer_including
Default: ""
......@@ -265,6 +279,8 @@ import theano and print the config variable, as in:
A list of optimizer tags that we want included in the default Mode.
If multiple tags, separate them by ':'.
This flag's value cannot be modified during the program execution.
.. attribute:: optimizer_requiring
Default: ""
......@@ -272,6 +288,8 @@ import theano and print the config variable, as in:
A list of optimizer tags that we require for optimizer in the default Mode.
If multiple tags, separate them by ':'.
This flag's value cannot be modified during the program execution.
.. attribute:: nocleanup
Bool value: either True or False
......@@ -282,4 +300,4 @@ import theano and print the config variable, as in:
This mean it remove file that he tried to compile but failed.
Set to True to keep the source file that failed to compile to
debug them.
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论