提交 9c796571 authored 作者: David Warde-Farley's avatar David Warde-Farley

BUG: undefined name 'cond'

上级 e88308e1
......@@ -329,7 +329,7 @@ def ifelse(condition, then_branch, else_branch, name=None):
gpu=False,
name=name)
ins = [cond] + list(then_branch) + list(else_branch)
ins = [condition] + list(then_branch) + list(else_branch)
rval = new_ifelse.make_node(*ins).outputs
if rval_type is None:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论