diff --git a/python/paddle/fluid/layers/nn.py b/python/paddle/fluid/layers/nn.py index 97068f1979debcf5b617f86decf085d0368bcc64..e7f343508a736635a48367060b78e4ff25f34db2 100644 --- a/python/paddle/fluid/layers/nn.py +++ b/python/paddle/fluid/layers/nn.py @@ -7494,7 +7494,8 @@ def reorg(x, stride, name=None): raise ValueError("stride must be a python Int") if name is None: - out = helper.create_variable_for_type_inference(dtype=x.dtype) + out = helper.create_variable_for_type_inference( + dtype=x.dtype) #fix create else: out = helper.create_variable( name=name, dtype=x.dtype, persistable=False)