提交 782ef3c5 编写于 作者: J JiabinYang

test=develop

上级 8e8e8e66
...@@ -7494,7 +7494,7 @@ def reorg(x, stride, name=None): ...@@ -7494,7 +7494,7 @@ def reorg(x, stride, name=None):
raise ValueError("stride must be a python Int") raise ValueError("stride must be a python Int")
if name is None: if name is None:
out = helper.create_tmp_variable(dtype=x.dtype) out = helper.create_variable_for_type_inference(dtype=x.dtype)
else: else:
out = helper.create_variable( out = helper.create_variable(
name=name, dtype=x.dtype, persistable=False) name=name, dtype=x.dtype, persistable=False)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册