diff --git a/paddle/fluid/operators/pool_op.cc b/paddle/fluid/operators/pool_op.cc index 0edbbfc1744f96afa06cf42b2dc03ebc022cdd36..ac22acb25a7ab33a26de49804667703e84b78a8a 100644 --- a/paddle/fluid/operators/pool_op.cc +++ b/paddle/fluid/operators/pool_op.cc @@ -178,9 +178,8 @@ Pool2dOpMaker::Pool2dOpMaker(OpProto *proto, OpAttrChecker *op_checker) AddAttr( "ceil_mode", "(bool, default false) Wether to use the ceil function to calculate " - "output height and width." - "True is the default. If it is set to False, the floor function will" - "be used") + "output height and width. False is the default. If it is set to False, " + "the floor function will be used.") .SetDefault(false); AddAttr( "data_format", @@ -274,9 +273,8 @@ Pool3dOpMaker::Pool3dOpMaker(OpProto *proto, OpAttrChecker *op_checker) AddAttr( "ceil_mode", "(bool, default false) Wether to use the ceil function to calculate " - "output height and width." - "True is the default. If it is set to False, the floor function will" - "be used") + "output height and width. False is the default. If it is set to False, " + "the floor function will be used.") .SetDefault(false); AddAttr( "data_format",