.. role:: hidden :class: hidden-section .. currentmodule:: torchtune.generation generate_next_token =================== .. autofunction:: generate_next_token