提交 1908d995 authored 作者: Frederic Bastien's avatar Frederic Bastien

Fix test in 32 bit python

上级 49785840
...@@ -514,8 +514,8 @@ def test_scan_debugprint4(): ...@@ -514,8 +514,8 @@ def test_scan_debugprint4():
def fn(a_m2, a_m1, b_m2, b_m1): def fn(a_m2, a_m1, b_m2, b_m1):
return a_m1 + a_m2, b_m1 + b_m2 return a_m1 + a_m2, b_m1 + b_m2
a0 = theano.shared(numpy.arange(2)) a0 = theano.shared(numpy.arange(2, dtype='int64'))
b0 = theano.shared(numpy.arange(2)) b0 = theano.shared(numpy.arange(2, dtype='int64'))
(a, b), _ = theano.scan( (a, b), _ = theano.scan(
fn, outputs_info=[{'initial': a0, 'taps': [-2, -1]}, fn, outputs_info=[{'initial': a0, 'taps': [-2, -1]},
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论