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

small changes to the name of the op

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