fix format. test=develop

revert-16734-refine/test_imperative_transformer
dengkaipeng 6 years ago
parent be3eedcc4a
commit c7876e8c46

@ -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.")

Loading…
Cancel
Save