We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
使用 flow.clip(x, 0, 6) 数值表现是跟 Relu6一致的 但是在求梯度的时候行为不一致
flow.clip(x, 0, 6)
clip在边界值,如上例的0, 6 时候,梯度为1
而 Relu6在边界值的表现,梯度为0
现在正在开发 Relu6算子
The text was updated successfully, but these errors were encountered:
输入会恰好等于 0 或者 6 吗
Sorry, something went wrong.
是的,如果恰好等于这两个边界值,梯度的表现是不一样的
什么情况会恰好等于边界值呢
No branches or pull requests
使用
flow.clip(x, 0, 6)
数值表现是跟 Relu6一致的但是在求梯度的时候行为不一致
clip在边界值,如上例的0, 6 时候,梯度为1
而 Relu6在边界值的表现,梯度为0
现在正在开发 Relu6算子
The text was updated successfully, but these errors were encountered: