Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactorize grad op builder.cc #3433

Merged

Conversation

wangkuiyi
Copy link
Collaborator

@wangkuiyi wangkuiyi commented Aug 11, 2017

Fixes #3427

@wangkuiyi wangkuiyi requested a review from JiayiFeng August 11, 2017 22:09
class OpRegistry;

using VarIndexMap = std::unordered_map<std::string, int>;
typedef std::vector<int> Ints;

enum class OpArgType { IN, OUT };
Copy link
Collaborator

@JiayiFeng JiayiFeng Aug 11, 2017

Choose a reason for hiding this comment

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

Seems that we don't need OpArgType anymore. Remove it?

Copy link
Collaborator

@JiayiFeng JiayiFeng left a comment

Choose a reason for hiding this comment

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

LGTM!

@JiayiFeng JiayiFeng merged commit e6fca65 into PaddlePaddle:develop Aug 11, 2017
@wangkuiyi wangkuiyi deleted the refactorize_grad_op_builder.cc branch August 11, 2017 23:49
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