提交 7f3c6ea4 编写于 作者: D dongzhihong

"fix comment"

上级 91b2851c
...@@ -3051,7 +3051,7 @@ def sequence_pad(x, pad_value, maxlen=None, name=None): ...@@ -3051,7 +3051,7 @@ def sequence_pad(x, pad_value, maxlen=None, name=None):
x = fluid.layers.data(name='y', shape=[10, 5], x = fluid.layers.data(name='y', shape=[10, 5],
dtype='float32', lod_level=1) dtype='float32', lod_level=1)
pad_value = fluid.layers.assign( pad_value = fluid.layers.assign(
input=numpy.array([0], dtype=numpy.float32)) input=numpy.array([0.0], dtype=numpy.float32))
out = fluid.layers.sequence_pad(x=x, pad_value=pad_value) out = fluid.layers.sequence_pad(x=x, pad_value=pad_value)
""" """
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册