diff --git a/paddle/operators/fill_zeros_like_op.cc b/paddle/operators/fill_zeros_like_op.cc index 87f5f09ce9b29fa915e3cef559293293367c964b..ace852513221f6fd71d0aa20076ef241ea45e5ef 100644 --- a/paddle/operators/fill_zeros_like_op.cc +++ b/paddle/operators/fill_zeros_like_op.cc @@ -17,7 +17,7 @@ limitations under the License. */ namespace paddle { namespace operators { -class FillZerosLikeOp : public framework::OperatorWithKernel { +class FillZerosLikeOp : public OperatorWithKernel { protected: void InferShape(const framework::InferShapeContext &ctx) const override { PADDLE_ENFORCE(ctx.InputSize() == 1UL, @@ -33,7 +33,7 @@ protected: } }; -class FillZerosLikeOpMaker : public framework::OpProtoAndCheckerMaker { +class FillZerosLikeOpMaker : public OpProtoAndCheckerMaker { public: FillZerosLikeOpMaker(framework::OpProto *proto, framework::OpAttrChecker *op_checker)