提交 b24a17c6 authored 作者: Frederic's avatar Frederic

make grad test small to make it faster in debugmode.

上级 642b26b1
......@@ -91,7 +91,7 @@ class TestDiffOp(utt.InferShapeTester):
def test_grad(self):
x = T.vector('x')
a = np.random.random(500)
a = np.random.random(50)
gf = theano.function([x], T.grad(T.sum(diff(x)), x))
utt.verify_grad(self.op, [a])
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论