提交 932cc538 authored 作者: Razvan Pascanu's avatar Razvan Pascanu

removed useless variable

I will use ``cond`` as ``as_repeatUntil`` because both variables have the same semantics
上级 3415e0b3
......@@ -393,10 +393,6 @@ def scan(fn,
args = inputs_slices + states_slices + parameters
cond, states_and_outputs, updates = \
scan_utils.get_updates_and_outputs(fn(*args))
if cond is not None:
as_repeatUntil = True
else:
as_repeatUntil = False
# User is allowed to provide no information if it only behaves like a
# map
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论