.. role:: hidden
    :class: hidden-section
.. currentmodule:: torchtune.generation


get_position_ids_from_padding_mask
==================================

.. autofunction:: get_position_ids_from_padding_mask