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

Typo fix in warning message

上级 ec5af5b0
......@@ -435,10 +435,10 @@ AddConfigVar('warn.reduce_join',
'might have given an incorrect result. '
'To disable this warning, set the Theano flag '
'warn.reduce_join to False. The problem was an '
'optimization that modify the pattern '
'optimization, that modified the pattern '
'"Reduce{scalar.op}(Join(axis=0, a, b), axis=0)", '
'did not checked the reduction axis. So if the '
'reduction axis is not 0, you got wrong answer.'),
'did not check the reduction axis. So if the '
'reduction axis was not 0, you got a wrong answer.'),
BoolParam(warn_default('0.7')),
in_c_key=False)
......
......@@ -3544,10 +3544,10 @@ def local_reduce_join(node):
'might have given an incorrect result for this code. '
'To disable this warning, set the Theano flag '
'warn.reduce_join to False. The problem was an '
'optimization that modify the pattern '
'optimization, that modified the pattern '
'"Reduce{scalar.op}(Join(axis=0, a, b), axis=0)", '
'did not checked the reduction axis. So if the '
'reduction axis is not 0, you got wrong answer.'
'did not check the reduction axis. So if the '
'reduction axis was not 0, you got a wrong answer.'
))
return
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论