Skip to content

Commit 71a8e1b

Browse files
committed
small fix doc
test=release/1.3
1 parent ad02267 commit 71a8e1b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

paddle/fluid/pybind/pybind.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,9 +398,9 @@ PYBIND11_MODULE(core, m) {
398398
py::arg("recursive_sequence_lengths"), R"DOC(
399399
Set LoD of the LoDTensor according to recursive sequence length.
400400
401-
For example, if recursive_sequence_lengths=[2, 3], meaning that
401+
For example, if recursive_sequence_lengths=[[2, 3]], meaning that
402402
there are two sequences with length 2 and 3 respectively, the
403-
corresponding lod would be [0, 2, 2+3], i.e, [0, 2, 5].
403+
corresponding lod would be [[0, 2, 2+3]], i.e, [[0, 2, 5]].
404404
405405
Args:
406406
recursive_sequence_lengths (List[List[int]]): sequence lengths.

0 commit comments

Comments
 (0)