Skip to content

Commit 7d84de4

Browse files
author
Yibing Liu
committed
Fix some typos
1 parent 16b2c6d commit 7d84de4

File tree

1 file changed

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

1 file changed

+3
-3
lines changed

python/paddle/fluid/layers/nn.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1925,19 +1925,19 @@ def sequence_slice(input, offset, length, name=None):
19251925
out.data = [[a1, a2], [b1, b2], [e1, e2]],
19261926
out.lod = [[0, 2, 3]], out.dims = (3, 2)
19271927
1928-
NOTE: The first dimension size of input, the size of offset and Length,
1928+
NOTE: The first dimension size of input, the size of offset and Length
19291929
should be equal. The offset start from 0.
19301930
19311931
Args:
19321932
input(Variable): The input Variable which consists of the complete
1933-
sentences.
1933+
sequences.
19341934
offset(Variable): The offset to slice each sequence.
19351935
length(Variable): The length of each subsequence.
19361936
name(str|None): A name for this layer(optional). If set None, the
19371937
layer will be named automatically.
19381938
19391939
Returns:
1940-
Variable: The subsequences.
1940+
Variable: The output subsequences.
19411941
19421942
Examples:
19431943

0 commit comments

Comments
 (0)