Skip to content

Comments

Unify Reduce functions and simplify register code#4632

Merged
luotao1 merged 2 commits intoPaddlePaddle:developfrom
luotao1:reduce
Oct 9, 2017
Merged

Unify Reduce functions and simplify register code#4632
luotao1 merged 2 commits intoPaddlePaddle:developfrom
luotao1:reduce

Conversation

@luotao1
Copy link
Contributor

@luotao1 luotao1 commented Oct 9, 2017

like #4485, Unify Reduce functions and simplify register code

@luotao1 luotao1 requested a review from guoshengCS October 9, 2017 07:08
ops::ReduceGradKernel<paddle::platform::CPUPlace, float,
ops::MaxOrMinGradFunctor>);

REGISTER_OP(reduce_min, ops::ReduceOp, ops::ReduceMaxOpMaker, reduce_min_grad,
Copy link
Contributor

Choose a reason for hiding this comment

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

这里有个之前遗漏的问题ops::ReduceMaxOpMaker应该是ops::ReduceMinOpMaker,也请麻烦一并修复下吧

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Done

Copy link
Contributor

Choose a reason for hiding this comment

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

Thanks~

@luotao1 luotao1 merged commit d9585f9 into PaddlePaddle:develop Oct 9, 2017
@luotao1 luotao1 deleted the reduce branch October 9, 2017 12:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants