提交 180f5f24 authored 作者: Frederic Bastien's avatar Frederic Bastien

mark test as knowfailure that cause only slowness.

上级 d2f81cef
......@@ -3,7 +3,11 @@ import traceback
import theano.tensor as T
from theano.gof import Env
from theano.printing import pp
import numpy, theano
from numpy.testing import dec
from numpy.testing.noseclasses import KnownFailureTest
from theano.tensor.blas import *
from theano.tensor.blas import (_dot22, _dot22scalar, res_is_a, _as_scalar, _is_real_matrix,
_gemm_canonicalize, _factor_canonicalized)
......@@ -541,6 +545,7 @@ def test_inplace0():
raise Failure('gemm_inplace in graph')
assert _dot22 in [n.op for n in f.maker.env.nodes]
raise KnownFailureTest("gemm not always inserted")
f = inplace_func([X,Y,Z,a,b, R, S, c],
[Z * (c*Z + a * T.dot(X,Y) + b * T.dot(R,S).T)], mode='FAST_RUN')
# gemm_inplace should be inserted here, to work in-place on Z*c
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论