From 1ad4efa8deb1413c5aa77dbbcbcd66fc8d2018c0 Mon Sep 17 00:00:00 2001 From: wanghaoshuang Date: Wed, 27 Sep 2017 15:38:38 +0800 Subject: [PATCH] Fix comments --- paddle/operators/clip_op.cc | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/paddle/operators/clip_op.cc b/paddle/operators/clip_op.cc index 6b9f5320640..b3dd060fd72 100644 --- a/paddle/operators/clip_op.cc +++ b/paddle/operators/clip_op.cc @@ -17,8 +17,6 @@ namespace paddle { namespace operators { -using framework::LoDTensor; - class ClipOp : public framework::OperatorWithKernel { public: using framework::OperatorWithKernel::OperatorWithKernel; @@ -45,7 +43,7 @@ class ClipOpMaker : public framework::OpProtoAndCheckerMaker { : OpProtoAndCheckerMaker(proto, op_checker) { AddInput("X", "(Tensor)The input of clip op." - "The dimension size of input tensor must be between [1, 9]."); + "The number of dimensions must be between [1, 9]."); AddOutput("Out", "(Tensor)The output of clip op with shape as input(X)"); AddAttr( "min", "(float)Minimum value, under which element is replaced by min."); -- GitLab