提交 105f70a4 authored 作者: Frederic Bastien's avatar Frederic Bastien

removed double fix of test.

上级 3903c503
...@@ -10,7 +10,6 @@ from theano import printing ...@@ -10,7 +10,6 @@ from theano import printing
from nose.plugins.skip import SkipTest from nose.plugins.skip import SkipTest
from theano.tensor.nnet import * from theano.tensor.nnet import *
from numpy.testing import dec
class T_sigmoid(unittest.TestCase): class T_sigmoid(unittest.TestCase):
def setUp(self): def setUp(self):
...@@ -925,8 +924,6 @@ class Test_softmax_opt(): ...@@ -925,8 +924,6 @@ class Test_softmax_opt():
assert softmax in f_ops assert softmax in f_ops
f(self.rng.rand(3,4)) f(self.rng.rand(3,4))
@dec.knownfailureif(True,
"This case is not implemented")
def test_grad(self): def test_grad(self):
c = T.matrix() c = T.matrix()
p_y = T.exp(c) / T.exp(c).sum(axis=1).dimshuffle(0,'x') p_y = T.exp(c) / T.exp(c).sum(axis=1).dimshuffle(0,'x')
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论