提交 10093404 authored 作者: Frederic Bastien's avatar Frederic Bastien 提交者: Alexander Belopolsky

fix a test when scipy is not available

上级 e6720ee9
...@@ -540,9 +540,14 @@ class test_Eigh(test_Eig): ...@@ -540,9 +540,14 @@ class test_Eigh(test_Eig):
class test_Eigh_float32(test_Eigh): class test_Eigh_float32(test_Eigh):
dtype = 'float32' dtype = 'float32'
def test_matrix_inverse_solve(): def test_matrix_inverse_solve():
if not imported_scipy: if not imported_scipy:
<<<<<<< refs/remotes/upstream/master
raise SkipTest("Scipy needed for the Solve op.") raise SkipTest("Scipy needed for the Solve op.")
=======
return
>>>>>>> HEAD~4
A = theano.tensor.dmatrix('A') A = theano.tensor.dmatrix('A')
b = theano.tensor.dmatrix('b') b = theano.tensor.dmatrix('b')
node = matrix_inverse(A).dot(b).owner node = matrix_inverse(A).dot(b).owner
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论