add x/0 gradient behaviour to documentation #128796
Labels
actionable
module: autograd
Related to torch.autograd, and the autograd engine in general
module: docs
Related to our documentation, both in docs/ and docblocks
triaged
This issue has been looked at a team member, and triaged and prioritized into an appropriate module
📚 The doc issue
The behaviour that divison by zero causes nan gradients even when masked (#4132) is not prominent in the documentation. As there are multiple issues of people that ran into this on github it would be nice if it's easier to find.
Suggest a potential alternative/fix
Add this to the documentation, perhaps even to tutorials
cc @svekars @brycebortree @ezyang @albanD @gqchen @pearu @nikitaved @soulitzer @lezcano @Varal7
The text was updated successfully, but these errors were encountered: