提交 e9f7fab3 authored 作者: Razvan Pascanu's avatar Razvan Pascanu

call the function in the test

this will be tested by DEBUG_MODE
上级 5033994d
...@@ -313,8 +313,10 @@ class T_Scan(unittest.TestCase): ...@@ -313,8 +313,10 @@ class T_Scan(unittest.TestCase):
if isinstance(x.op, theano.scan_module.scan_op.Scan)] if isinstance(x.op, theano.scan_module.scan_op.Scan)]
# This assertation fails if savemem optimization failed on scan # This assertation fails if savemem optimization failed on scan
assert nodes[0].op._scan_savemem_visited assert nodes[0].op._scan_savemem_visited
rng = numpy.random.RandomState(utt.fetch_seed())
my_f(rng.uniform(size=(3,)),
4,
numpy.int64([2, 2, 3]))
# simple rnn, one input, one state, weights for each; input/state # simple rnn, one input, one state, weights for each; input/state
# are vectors, weights are scalars # are vectors, weights are scalars
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论