one-hot (F.one_hot)
Software / App
Used as an implementation trick to route gradients when scattering back from max/indices operations.
Mentioned in 1 video
Used as an implementation trick to route gradients when scattering back from max/indices operations.