Skip to content

Conversation

@yongtang
Copy link
Member

@yongtang yongtang commented Aug 4, 2018

This fix tries to address the issue raised in #21380
where the gradient of tf.nn.relu6 throws out an error.
The issue seems to be that relu6 was not placed
in OpDoesntRequireInput like tf.nn.relu.

This fix fixes #21380.

Signed-off-by: Yong Tang [email protected]

This fix tries to address the issue raised in 21380
where the gradient of tf.nn.relu6 throws out an error.
The issue seems to be that relu6 was not placed
in OpDoesntRequireInput like tf.nn.relu.

This fix fixes 21380.

Signed-off-by: Yong Tang <[email protected]>
Copy link
Contributor

@asimshankar asimshankar left a comment

Choose a reason for hiding this comment

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

Thanks for the fix @yongtang !

@asimshankar asimshankar added kokoro:force-run Tests on submitted change ready to pull PR ready for merge process labels Aug 6, 2018
@kokoro-team kokoro-team removed the kokoro:force-run Tests on submitted change label Aug 6, 2018
@tensorflow-copybara tensorflow-copybara merged commit fd7c6bd into tensorflow:master Aug 7, 2018
tensorflow-copybara pushed a commit that referenced this pull request Aug 7, 2018
@yongtang yongtang deleted the 21380-eager-Relu6Grad branch August 7, 2018 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

cla: yes ready to pull PR ready for merge process

Projects

None yet

Development

Successfully merging this pull request may close these issues.

tf.GradientTape.gradient raise error with tf.nn.relu6

6 participants