Skip to content

Commit 0ffec51

Browse files
committed
Fix comments
1 parent 1e510d9 commit 0ffec51

File tree

1 file changed

+4
-6
lines changed

1 file changed

+4
-6
lines changed

paddle/fluid/operators/pool_op.cc

Lines changed: 4 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -178,9 +178,8 @@ Pool2dOpMaker::Pool2dOpMaker(OpProto *proto, OpAttrChecker *op_checker)
178178
AddAttr<bool>(
179179
"ceil_mode",
180180
"(bool, default false) Wether to use the ceil function to calculate "
181-
"output height and width."
182-
"True is the default. If it is set to False, the floor function will"
183-
"be used")
181+
"output height and width. False is the default. If it is set to False, "
182+
"the floor function will be used.")
184183
.SetDefault(false);
185184
AddAttr<std::string>(
186185
"data_format",
@@ -274,9 +273,8 @@ Pool3dOpMaker::Pool3dOpMaker(OpProto *proto, OpAttrChecker *op_checker)
274273
AddAttr<bool>(
275274
"ceil_mode",
276275
"(bool, default false) Wether to use the ceil function to calculate "
277-
"output height and width."
278-
"True is the default. If it is set to False, the floor function will"
279-
"be used")
276+
"output height and width. False is the default. If it is set to False, "
277+
"the floor function will be used.")
280278
.SetDefault(false);
281279
AddAttr<std::string>(
282280
"data_format",

0 commit comments

Comments
 (0)