提交 10bb500a authored 作者: amrithasuresh's avatar amrithasuresh

Updated numpy as np

上级 701beaa3
...@@ -5,7 +5,7 @@ from __future__ import absolute_import, print_function, division ...@@ -5,7 +5,7 @@ from __future__ import absolute_import, print_function, division
import logging import logging
from nose.plugins.skip import SkipTest from nose.plugins.skip import SkipTest
import numpy import numpy as np
from six.moves import StringIO from six.moves import StringIO
...@@ -509,8 +509,8 @@ def test_scan_debugprint4(): ...@@ -509,8 +509,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, dtype='int64')) a0 = theano.shared(np.arange(2, dtype='int64'))
b0 = theano.shared(numpy.arange(2, dtype='int64')) b0 = theano.shared(np.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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论