Fix comments

update-doc-pybind
wanghaoshuang 8 years ago
parent 6da5670f62
commit 1ad4efa8de

@ -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 {
: 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.");

Loading…
Cancel
Save