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