提交 526a5365 authored 作者: Frederic Bastien's avatar Frederic Bastien

use more standard printing following code review.

上级 5b23d38c
......@@ -341,9 +341,9 @@ class Scan(Op):
else:
gpu_str = 'cpu'
if self.inplace :
aux_txt = '[inplace,%s]'%gpu_str
aux_txt = '{inplace,%s}'%gpu_str
else:
aux_txt = '[%s]'%gpu_str
aux_txt = '{%s}'%gpu_str
if self.name:
return self.name+aux_txt
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论