Skip to content

Commit 7f3c6ea

Browse files
committed
"fix comment"
1 parent 91b2851 commit 7f3c6ea

File tree

1 file changed

+1
-1
lines changed
  • python/paddle/fluid/layers

1 file changed

+1
-1
lines changed

python/paddle/fluid/layers/nn.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3051,7 +3051,7 @@ def sequence_pad(x, pad_value, maxlen=None, name=None):
30513051
x = fluid.layers.data(name='y', shape=[10, 5],
30523052
dtype='float32', lod_level=1)
30533053
pad_value = fluid.layers.assign(
3054-
input=numpy.array([0], dtype=numpy.float32))
3054+
input=numpy.array([0.0], dtype=numpy.float32))
30553055
out = fluid.layers.sequence_pad(x=x, pad_value=pad_value)
30563056
"""
30573057

0 commit comments

Comments
 (0)