fix conflict (#4883)

revert-4814-Add_sequence_project_op
QI JUN 8 years ago committed by Qiao Longfei
parent 164898277c
commit 521514da36

@ -22,7 +22,7 @@ class MomentumOp : public framework::OperatorWithKernel {
using framework::OperatorWithKernel::OperatorWithKernel;
protected:
void InferShape(framework::InferShapeContextBase *ctx) const override {
void InferShape(framework::InferShapeContext *ctx) const override {
PADDLE_ENFORCE(ctx->HasInput("Param"),
"Input(param) of Momentum should not be null.");
PADDLE_ENFORCE(ctx->HasInput("Grad"),

Loading…
Cancel
Save