提交 6a6bb9fa authored 作者: Frederic Bastien's avatar Frederic Bastien

fix test.

上级 c64a9d5d
...@@ -217,7 +217,7 @@ def test_elemwise_bad_broadcast(): ...@@ -217,7 +217,7 @@ def test_elemwise_bad_broadcast():
import unittest import unittest
try: try:
f(rand_cuda_ndarray((10, 3)), rand_cuda_ndarray((10, 1))) f(rand_cuda_ndarray((10, 3)), rand_cuda_ndarray((10, 1)))
except ValueError: except TypeError:
pass pass
else: else:
raise Exception("Theano should have raised an error") raise Exception("Theano should have raised an error")
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论