Skip to content

Commit ac2911c

Browse files
TomorrowIsAnOtherDayreyoung
authored andcommitted
fix code style
1 parent 19a28b1 commit ac2911c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

python/paddle/fluid/layers/tensor.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -193,9 +193,7 @@ def assign(input, output):
193193
helper = LayerHelper('assign', **locals())
194194
if isinstance(input, Variable):
195195
helper.append_op(
196-
type='assign',
197-
inputs={'X': [input]},
198-
outputs={'Out': [output]})
196+
type='assign', inputs={'X': [input]}, outputs={'Out': [output]})
199197
elif isinstance(input, numpy.ndarray):
200198
dtype = convert_np_dtype_to_dtype_(input.dtype)
201199
if dtype == VarDesc.VarType.FP32:

0 commit comments

Comments
 (0)