Skip to content

Commit 91cc5d6

Browse files
committed
add the forward operator.
1 parent 515981d commit 91cc5d6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

paddle/operators/linear_chain_crf_op.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,15 +119,15 @@ class LinearChainCrfOp : public framework::OperatorWithKernel {
119119
using framework::OperatorWithKernel::OperatorWithKernel;
120120

121121
protected:
122-
void InferShape(framework::InferShapeContextBase* ctx) const override {}
122+
void InferShape(framework::InferShapeContext* ctx) const override {}
123123
};
124124

125125
class LinearChainCrfGradOp : public framework::OperatorWithKernel {
126126
public:
127127
using framework::OperatorWithKernel::OperatorWithKernel;
128128

129129
protected:
130-
void InferShape(framework::InferShapeContextBase* ctx) const override {}
130+
void InferShape(framework::InferShapeContext* ctx) const override {}
131131
};
132132

133133
} // namespace operators

0 commit comments

Comments
 (0)