Skip to content

Commit e80c6b3

Browse files
committed
Refine API doc string
1 parent 50104f1 commit e80c6b3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

paddle/fluid/operators/activation_op.cc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,12 +24,12 @@ namespace operators {
2424
: public ::paddle::framework::OpProtoAndCheckerMaker { \
2525
public: \
2626
void Make() override { \
27-
AddInput("X", "Input of " #OP_NAME "operator"); \
28-
AddOutput("Out", "Output of" #OP_NAME "operator"); \
27+
AddInput("X", "Input of " #OP_NAME " operator"); \
28+
AddOutput("Out", "Output of " #OP_NAME " operator"); \
2929
AddAttr<bool>("use_mkldnn", \
3030
"(bool, default false) Only used in mkldnn kernel") \
3131
.SetDefault(false); \
32-
AddComment(#OP_COMMENT); \
32+
AddComment(OP_COMMENT); \
3333
} \
3434
}
3535

0 commit comments

Comments
 (0)