提交 3b0a1fbf authored 作者: Razvan Pascanu's avatar Razvan Pascanu

add flag to ignore unused inputs to the new interface for scan

上级 19233856
...@@ -455,7 +455,8 @@ def scan(fn, ...@@ -455,7 +455,8 @@ def scan(fn,
dummy_outs, dummy_outs,
updates=updates, updates=updates,
mode=compile.mode.Mode(linker='py', mode=compile.mode.Mode(linker='py',
optimizer=None)) optimizer=None),
on_unused_input='ignore')
## ##
### Step 5. Re-arange inputs of scan into a more strict order ### Step 5. Re-arange inputs of scan into a more strict order
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论