提交 2bb742eb authored 作者: Razvan Pascanu's avatar Razvan Pascanu

small changes to the name of the op

上级 66819515
......@@ -128,11 +128,10 @@ class ScanOp(PureOp):
gpu_str = 'gpu'
else:
gpu_str = 'cpu'
if self.as_repeatUntil:
name = 'do_while'
if self.as_repeatUntil is not None:
name = 'repeat/until'
else:
name = 'for'
name = 'loop'
if self.inplace:
aux_txt = '%s{inplace,%s,%s}' % (name, gpu_str, str(self.name))
else:
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论