提交 19e2d992 authored 作者: David Warde-Farley's avatar David Warde-Farley 提交者: Arnaud Bergeron

0L -> 0.

上级 8333f079
...@@ -5091,7 +5091,7 @@ def test_compute_test_value_grad_cast(): ...@@ -5091,7 +5091,7 @@ def test_compute_test_value_grad_cast():
w = theano.shared(numpy.random.randn(4, 3).astype(floatX), name='w') w = theano.shared(numpy.random.randn(4, 3).astype(floatX), name='w')
outputs, _ = theano.scan(lambda i, h, w: (theano.dot(h[i], w), i), outputs, _ = theano.scan(lambda i, h, w: (theano.dot(h[i], w), i),
outputs_info=[None, 0L], non_sequences=[h, w], outputs_info=[None, 0], non_sequences=[h, w],
n_steps=3) n_steps=3)
theano.grad(outputs[0].sum(), w) theano.grad(outputs[0].sum(), w)
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论