Merge pull request #4646 from reyoung/feature/fix_compile_error

Fix compile error in develop branch
revert-4814-Add_sequence_project_op
Yu Yang 7 years ago committed by GitHub
commit d23cd51450

@ -22,7 +22,7 @@ class AdamaxOp : 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 AdamaxOp should not be null.");
PADDLE_ENFORCE(ctx->HasInput("Grad"),

Loading…
Cancel
Save