Skip to content

Commit 24fea62

Browse files
committed
polish doc: mean
1 parent acdb57a commit 24fea62

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

paddle/fluid/operators/mean_op.cc

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -33,12 +33,10 @@ class MeanOp : public framework::OperatorWithKernel {
3333
class MeanOpMaker : public framework::OpProtoAndCheckerMaker {
3434
public:
3535
void Make() override {
36-
AddInput("X", "The input of mean op");
37-
AddOutput("Out", "The output of mean op").Reuse("X");
36+
AddInput("X", "(Tensor) The input of mean op");
37+
AddOutput("Out", "(Tensor) The output of mean op").Reuse("X");
3838
AddComment(R"DOC(
39-
Mean Operator.
40-
41-
Out is a scalar which is the mean of all elements in X.
39+
Mean Operator calculates the mean of all elements in X.
4240
4341
)DOC");
4442
}

0 commit comments

Comments
 (0)