-
Notifications
You must be signed in to change notification settings - Fork 63
Vishakha/softplus #179
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
Vishakha/softplus #179
Conversation
| static Status TranslateSoftplusOp( | ||
| const Node* op, const std::vector<const Tensor*>& static_input_map, | ||
| Builder::OpMap& ng_op_map) { | ||
| shared_ptr<ng::Node> ng_inp; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://www.tensorflow.org/api_docs/cc/class/tensorflow/ops/softplus.html
log(exp(features) + 1)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May be add this - log(exp(features) + 1) as a comment for future reference.
kanvi-nervana
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor comment otherwise LGTM :)
| static Status TranslateSoftplusOp( | ||
| const Node* op, const std::vector<const Tensor*>& static_input_map, | ||
| Builder::OpMap& ng_op_map) { | ||
| shared_ptr<ng::Node> ng_inp; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
May be add this - log(exp(features) + 1) as a comment for future reference.
Added Softplus Op