Merge branch 'feature/fix_compile_error' into feature/complete_variable_bind

revert-4814-Add_sequence_project_op
Yu Yang 8 years ago
commit 4be2f44c68

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