-
Notifications
You must be signed in to change notification settings - Fork 159
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
[cker] Introduce ReLU6 gradient kernel #12476
Conversation
This PR introduces ReLU6 gradient kernel. ONE-DCO-1.0-Signed-off-by: SeungHui Youn <[email protected]>
Relu6OpVerifier<float> verifier; | ||
|
||
// clang-format off | ||
// std::vector<float> input_fwd = {-2.0, -1.0, 2.0, 3.0, 6.0, 7.0}; |
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.
input_fwd
is just for reference.
I thought with the input of forwarding, understanding the test case is much easier :)
This comment was marked as resolved.
This comment was marked as resolved.
fc77bc1
to
b7d9614
Compare
PTAL, Thank you in advance. |
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.
LGTM
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.
LGTM 👍
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.
LGTM
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.
LGTM
This PR introduces ReLU6 gradient kernel.
issue : #12388
draft : #12395
ONE-DCO-1.0-Signed-off-by: SeungHui Youn [email protected]