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

fixed bug caused by changing name convention for variables

上级 9de8fcaf
......@@ -191,7 +191,7 @@ def canonical_arguments(sequences,
negative_n_steps = tensor.lt(tensor.as_tensor_variable(n_steps), 0)
for input in to_list(sequences):
if not isinstance(u, dict):
if not isinstance(input, dict):
nw_input = tensor.as_tensor_variable(input)
if go_backwards:
nw_input = nw_input[::-1]
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论