提交 aacf893d authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Added 0.4 as valid value for option warn.ignore_bug_before

上级 33530514
...@@ -245,13 +245,13 @@ import theano and print the config variable, as in: ...@@ -245,13 +245,13 @@ import theano and print the config variable, as in:
.. attribute:: config.warn.ignore_bug_before .. attribute:: config.warn.ignore_bug_before
String value: 'None', 'all', '0.3' String value: 'None', 'all', '0.3', '0.4'
Default: 'None' Default: 'None'
When we fix a Theano bug that generated bad results under some When we fix a Theano bug that generated bad results under some
circonstances, we also make Theano raise a warning when it encounter circumstances, we also make Theano raise a warning when it encounters
the same circonstances again. This helps to detect if said bug the same circumstances again. This helps to detect if said bug
had affected your past experiments, as you only need to run your had affected your past experiments, as you only need to run your
experiment again with the new version, and you do not have to experiment again with the new version, and you do not have to
understand the Theano internal that triggered the bug. A better understand the Theano internal that triggered the bug. A better
...@@ -263,8 +263,8 @@ import theano and print the config variable, as in: ...@@ -263,8 +263,8 @@ import theano and print the config variable, as in:
You can set its value to the first version of Theano You can set its value to the first version of Theano
that you used (probably 0.3 or higher) that you used (probably 0.3 or higher)
`None` mean that all warnings will be displayed. `None` means that all warnings will be displayed.
`all` mean to hide all warnings. `all` means all warnings will be ignored.
It is recommended that you put a version, so that you will see future It is recommended that you put a version, so that you will see future
warnings. warnings.
......
...@@ -211,7 +211,7 @@ AddConfigVar('numpy.seterr_invalid', ...@@ -211,7 +211,7 @@ AddConfigVar('numpy.seterr_invalid',
### ###
AddConfigVar('warn.ignore_bug_before', AddConfigVar('warn.ignore_bug_before',
"If 'None', we warn about all Theano bugs found by default. If 'all', we don't warn about Theano bugs found by default. If a version, we print only the warnings relative to Theano bugs found after that version. Warning for specific bugs can be configured with specific [warn] flags.", "If 'None', we warn about all Theano bugs found by default. If 'all', we don't warn about Theano bugs found by default. If a version, we print only the warnings relative to Theano bugs found after that version. Warning for specific bugs can be configured with specific [warn] flags.",
EnumStr('None', 'all', '0.3', allow_override=False), EnumStr('None', 'all', '0.3','0.4', allow_override=False),
in_c_key=False) in_c_key=False)
default_0_3 = True default_0_3 = True
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论