*As a rule, the attributes in this module should not be modified by user code.*
*As a rule, the attributes in this module should not be modified by user code.*
Reference
Theano's code comes with default values for these attributes, but you can
=========
override them from your .theanorc file, and override those values in turn by
the :envvar:`THEANO_FLAGS` environment variable.
The order of precedence is:
1. an assignment to theano.config.<property>
2. an assignment in :envvar:`THEANO_FLAGS`
3. an assignment in the .theanorc file (or the file indicated in :envvar:`THEANORC`)
You can print out the current/effective configuration at any time by printing
theano.config. For example, to see a list of all active configuration
variables, type this from the command-line:
.. code-block:: bash
python -c 'import theano; print theano.config' | less
Environment Variables
=====================
.. envvar:: THEANO_FLAGS
.. envvar:: THEANO_FLAGS
This is a list of comma-delimited key=value pairs that control Theano's behavior.
This is a list of comma-delimited key[=value] pairs that control Theano's behavior. A key that appears without an '=value' must be for a boolean value, and it acts as setting it to True.
For example, in bash, you can type:
For example, in bash, you can override your :envvar:`THEANORC` defaults