Skip to content

Commit f03e0e4

Browse files
committed
Polish doc
test=develop
1 parent a7cae62 commit f03e0e4

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
@@ -5840,13 +5840,13 @@ def margin_rank_loss(label, left, right, margin=0.1, name=None):
58405840
58415841
Args:
58425842
label (Variable): Indicates whether the left is ranked higher than the right or not.
5843-
left (Variable): ranking score for left.
5844-
right (Variable): ranking score for right.
5843+
left (Variable): Ranking score for left.
5844+
right (Variable): Ranking score for right.
58455845
margin (float): Indicates the given margin to be added to right
58465846
name (str|None): A name for this layer (optional). If set None, the layer
58475847
will be named automatically.
58485848
Returns:
5849-
list: The Variable of ranking loss.
5849+
Variable: The ranking loss.
58505850
Raises:
58515851
ValueError: Any of label, left, and right is not a Variable.
58525852
Examples:

0 commit comments

Comments
 (0)