## 🚀 Feature Convert a tensor of index values to one-hot encoding ## Motivation It's kind of strange not to have it ## Pitch This old PR does it: https://github.com/pytorch/pytorch/pull/4774 also torch.distributions has it as well, we should just expose it as part of torch.*