torch.nn.functional.one\_hot
============================

.. currentmodule:: torch.nn.functional

.. autofunction:: one_hot