:github_url: https://github.com/pytorch/pytorch .. _exhale_function_group__torch-dispatch-overloads_1ga2037ceb48b4bcf8a09f3f2def4e1b545: Template Function torch::dispatch(c10::DeviceType, Func&&) ========================================================== - Defined in :ref:`file_torch_library.h` Function Documentation ---------------------- .. doxygenfunction:: torch::dispatch(c10::DeviceType, Func&&)