Skip to content

move OpProtoAndCheckerMaker from operator to op_proto_maker#4217

Merged
jacquesqiao merged 2 commits intoPaddlePaddle:developfrom
jacquesqiao:add_op_proto_maker
Sep 20, 2017
Merged

move OpProtoAndCheckerMaker from operator to op_proto_maker#4217
jacquesqiao merged 2 commits intoPaddlePaddle:developfrom
jacquesqiao:add_op_proto_maker

Conversation

@jacquesqiao
Copy link
Member

@jacquesqiao jacquesqiao commented Sep 20, 2017

fix: #4219

OpProtoAndCheckerMaker(OpProto* proto, OpAttrChecker* op_checker)
: proto_(proto), op_checker_(op_checker) {}

~OpProtoAndCheckerMaker() {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

virtual ~OpProtoAndCheckerMaker

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

done

dx_ptr, PReluGradFunctor<T>(alpha_ptr));

// TODO (Zhuoyuan): add dalpha upgrade when GPU kernels ready
// TODO(Zhuoyuan): add dalpha upgrade when GPU kernels ready
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe update develop branch.

Copy link
Collaborator

@reyoung reyoung left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jacquesqiao jacquesqiao merged commit b19a829 into PaddlePaddle:develop Sep 20, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

2 participants