Skip to content

Commit e2783bb

Browse files
committed
update split_lod_tensor doc
1 parent 9de779f commit e2783bb

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

python/paddle/fluid/layers/control_flow.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,8 +69,10 @@ def split_lod_tensor(input, mask, level=0):
6969
level(int): The specific lod level to split.
7070
7171
Returns:
72-
Variable: The true branch of tensor as per the mask applied to input.
73-
Variable: The false branch of tensor as per the mask applied to input.
72+
tuple(Variable, Variable):
73+
The true branch of tensor as per the mask applied to input.
74+
75+
The false branch of tensor as per the mask applied to input.
7476
7577
Examples:
7678
.. code-block:: python

0 commit comments

Comments
 (0)