From 0ffec514cdc10f38ac5bdc5d8590a25c351dc23b Mon Sep 17 00:00:00 2001 From: wanghaoshuang Date: Wed, 28 Feb 2018 18:47:51 +0800 Subject: [PATCH] Fix comments --- paddle/fluid/operators/pool_op.cc | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/paddle/fluid/operators/pool_op.cc b/paddle/fluid/operators/pool_op.cc index 0edbbfc174..ac22acb25a 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", -- GitLab