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

Polish from concat to conv shift operators #5347

Merged
merged 4 commits into from
Nov 4, 2017

Conversation

kexinzhao
Copy link
Contributor

No description provided.

wangkuiyi
wangkuiyi previously approved these changes Nov 3, 2017
The equation is:
Out[i] = subnet_t[i], if Cond[i] == true
Out[i] = subnet_t[i], if Cond[i] == false
Sample dependent Cond Operator.
Copy link
Collaborator

Choose a reason for hiding this comment

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

How do we decide about capitalization? Should this title be "Sample-dependent" or "Sample Dependent"?

Another question is should we say "Conditional Operator", or just keep it "Cond Operator"?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I think we should go with all capitalization for this title.
So I will change the title to "Sample Dependent Conditional Operator".

Regarding the "Conditional Operator" or "Cond Operator", I would say that if we know the meaningful full description of the Operator then we should go with the full name (like in this case, the author of this op already add "sample dependent" before cond). In other cases, we can go with the c++ class name (like "Cond", which should be a more common practice).

@wangkuiyi wangkuiyi merged commit c5c0243 into PaddlePaddle:develop Nov 4, 2017
@kexinzhao kexinzhao deleted the concat_conv_shift branch November 14, 2017 22:13
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