未验证 提交 2ec13062 编写于 作者: C Cao Ying 提交者: GitHub

Merge pull request #6907 from lcy-seso/fix_doc

fix doc.
...@@ -113,7 +113,7 @@ This operator is used to perform matrix multiplication for input $X$ and $Y$. ...@@ -113,7 +113,7 @@ This operator is used to perform matrix multiplication for input $X$ and $Y$.
The equation is: The equation is:
$$Out = X * Y$$ $$Out = X * Y$$
Both the input $X$ and $Y$ can carry the LoD (Level of Details) information, Both the input $X$ and $Y$ can carry the LoD (Level of Details) information,
or not. But the output only shares the LoD information with input $X$. or not. But the output only shares the LoD information with input $X$.
......
...@@ -154,13 +154,14 @@ class PositiveNegativePairOpMaker : public framework::OpProtoAndCheckerMaker { ...@@ -154,13 +154,14 @@ class PositiveNegativePairOpMaker : public framework::OpProtoAndCheckerMaker {
"Noting that reducing on the first dim will make the LoD info lost.") "Noting that reducing on the first dim will make the LoD info lost.")
.SetDefault(0); .SetDefault(0);
AddComment(R"DOC( AddComment(R"DOC(
PositiveNegativePairOp can be used to evaluate Learning To Rank(LTR) PositiveNegativePairOp can be used to evaluate Learning To Rank(LTR) model's
model performance. performance.
Within some context, e.g. the "query", a LTR model generates scores
for a list of items, which gives a partial order of the items. Within some context, e.g. the "query", a LTR model generates scores for a list
PositiveNegativePairOp takes a list of reference rank order of items, which gives a partial order of the items. PositiveNegativePairOp
(Input("Label")) and the model generated scores (Input(Score)) as takes a list of reference rank order (Input("Label")) and the model generated
inputs and counts the pairs that ranked correctly and incorrectly. scores (Input(Score)) as inputs and counts the pairs that ranked correctly
and incorrectly.
)DOC"); )DOC");
} }
}; };
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册