提交 71279f60 authored 作者: Olivier Delalleau's avatar Olivier Delalleau

Documented 'ignore' option of compute_test_value

上级 aaf361c7
...@@ -472,9 +472,12 @@ import theano and print the config variable, as in: ...@@ -472,9 +472,12 @@ import theano and print the config variable, as in:
augmented with test values, by writing to their ``'tag.test_value'`` augmented with test values, by writing to their ``'tag.test_value'``
attribute (e.g. x.tag.test_value = numpy.random.rand(5,4)). attribute (e.g. x.tag.test_value = numpy.random.rand(5,4)).
``'warn'`` will result in a UserWarning being raised when some Op inputs When not ``'off'``, the value of this option dictates what happens when
do not contain an appropriate test value. ``'raise'`` will instead raise an Op's inputs do not provide appropriate test values:
an Exception when a problem is encountered during this debugging phase. - ``'ignore'`` will silently skip the debug mechanism for this Op
- ``'warn'`` will raise a UserWarning and skip the debug mechanism for
this Op
- ``'raise'`` will raise an Exception
.. attribute:: config.exception_verbosity .. attribute:: config.exception_verbosity
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论