add the forward operator.

fix-typo
caoying03 7 years ago
parent 515981d714
commit 91cc5d6208

@ -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

Loading…
Cancel
Save