提交 1ad4efa8 编写于 作者: W wanghaoshuang

Fix comments

上级 6da5670f
...@@ -17,8 +17,6 @@ ...@@ -17,8 +17,6 @@
namespace paddle { namespace paddle {
namespace operators { namespace operators {
using framework::LoDTensor;
class ClipOp : public framework::OperatorWithKernel { class ClipOp : public framework::OperatorWithKernel {
public: public:
using framework::OperatorWithKernel::OperatorWithKernel; using framework::OperatorWithKernel::OperatorWithKernel;
...@@ -45,7 +43,7 @@ class ClipOpMaker : public framework::OpProtoAndCheckerMaker { ...@@ -45,7 +43,7 @@ class ClipOpMaker : public framework::OpProtoAndCheckerMaker {
: OpProtoAndCheckerMaker(proto, op_checker) { : OpProtoAndCheckerMaker(proto, op_checker) {
AddInput("X", AddInput("X",
"(Tensor)The input of clip op." "(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)"); AddOutput("Out", "(Tensor)The output of clip op with shape as input(X)");
AddAttr<AttrType>( AddAttr<AttrType>(
"min", "(float)Minimum value, under which element is replaced by min."); "min", "(float)Minimum value, under which element is replaced by min.");
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册