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

Changed the function to take into consideration also fixed inputs

上级 d3715b59
......@@ -247,7 +247,7 @@ class ScanOp(PureOp):
# 3.1 Construct the inner function of scan
if self.as_repeatUntil is not None:
fn_outs = self.as_repeatUntil
self.fn = theano.function([], fn_outs,
self.fn = theano.function(non_tensor_args, fn_outs,
givens=givens,
updates=updates,
mode=self.mode_instance,
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论