From 91cc5d6208f55bb950d18f359e379002968f6cf9 Mon Sep 17 00:00:00 2001 From: caoying03 Date: Thu, 12 Oct 2017 10:54:06 +0800 Subject: [PATCH] add the forward operator. --- paddle/operators/linear_chain_crf_op.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paddle/operators/linear_chain_crf_op.cc b/paddle/operators/linear_chain_crf_op.cc index 434382a72fe..fd473980654 100644 --- a/paddle/operators/linear_chain_crf_op.cc +++ b/paddle/operators/linear_chain_crf_op.cc @@ -119,7 +119,7 @@ class LinearChainCrfOp : public framework::OperatorWithKernel { using framework::OperatorWithKernel::OperatorWithKernel; protected: - void InferShape(framework::InferShapeContextBase* ctx) const override {} + void InferShape(framework::InferShapeContext* ctx) const override {} }; class LinearChainCrfGradOp : public framework::OperatorWithKernel { @@ -127,7 +127,7 @@ class LinearChainCrfGradOp : public framework::OperatorWithKernel { using framework::OperatorWithKernel::OperatorWithKernel; protected: - void InferShape(framework::InferShapeContextBase* ctx) const override {} + void InferShape(framework::InferShapeContext* ctx) const override {} }; } // namespace operators -- GitLab