提交 93f4f290 authored 作者: Frederic's avatar Frederic

set the config to raise during test.

上级 827d4953
...@@ -584,6 +584,7 @@ def test_upcasting_scalar_nogemm(): ...@@ -584,6 +584,7 @@ def test_upcasting_scalar_nogemm():
on_opt_error = config.on_opt_error on_opt_error = config.on_opt_error
try: try:
config.on_opt_error = 'raise'
rval = T.dot(w, v) * alpha + t rval = T.dot(w, v) * alpha + t
f = theano.function([w, v, t, alpha], rval) f = theano.function([w, v, t, alpha], rval)
finally: finally:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论