提交 c7876e8c 编写于 作者: D dengkaipeng

fix format. test=develop

上级 be3eedcc
...@@ -7146,7 +7146,8 @@ def image_resize(input, ...@@ -7146,7 +7146,8 @@ def image_resize(input,
inputs['OutSize'] = out_shape inputs['OutSize'] = out_shape
else: else:
if not (_is_list_or_turple_(out_shape)): if not (_is_list_or_turple_(out_shape)):
raise TypeError("out_shape should be a list or tuple or Variable.") raise TypeError(
"out_shape should be a list or tuple or Variable.")
if len(out_shape) != 2: if len(out_shape) != 2:
raise ValueError("out_shape length should be 2.") raise ValueError("out_shape length should be 2.")
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册