提交 eae14cef authored 作者: Pierre Luc Carrier's avatar Pierre Luc Carrier

Fixed tests failing in DebugMode

上级 b3fa0e92
......@@ -818,9 +818,9 @@ class PushOutScanOutput(gof.Optimizer):
scan_node.op.info['n_shared_outs'] +
scan_node.op.info['n_nit_sot'])
# (the initial value is the nb of taps to feed back as inputs to the
# next iteration of Scan's inner graph. Use 0 for a nit_sot output.)
nw_node_input_init_value = tensor.as_tensor_variable(0)
# (the initial value is the nb of steps to store. For a nistot,
# it should be the number of steps performed by scan)
nw_node_input_init_value = scan_node.inputs[0]
nw_node_inputs = (scan_node.inputs[:nw_node_input_idx] +
[nw_node_input_init_value] +
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论