Skip to content

Commit da62d6c

Browse files
author
Yibing Liu
committed
fix the doc display problem in rank_loss_op
1 parent ff8a677 commit da62d6c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

paddle/operators/rank_loss_op.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,11 +77,11 @@ The RankLoss operator takes three inputs: Left (o_i), Right (o_j) and Label
7777
the label respectively, and yields the rank loss C_{i,j} using the following
7878
equation:
7979
80-
\f$$
81-
C_{i,j} = -\tilde{P_{ij}} * o_{i,j} + log(1 + e^{o_{i,j}}) \\
80+
$$
81+
C_{i,j} = -\tilde{P_{ij}} * o_{i,j} + \log(1 + e^{o_{i,j}}) \\
8282
o_{i,j} = o_i - o_j \\
8383
\tilde{P_{i,j}} = \left \{0, 0.5, 1 \right \} \ or \ \left \{0, 1 \right \}
84-
\f$$
84+
$$
8585
8686
The operator can take batch inputs with size batch_size (batch_size >= 1).
8787

0 commit comments

Comments
 (0)