Convert PyTorch AT_DISPATCH macros to AT_DISPATCH_V2 format in ATen C++ code. Use when porting AT_DISPATCH_ALL_TYPES_AND*, AT_DISPATCH_FLOATING_TYPES*, or other dispatch macros to the new v2 API. For ATen kernel files, CUDA kernels, and native operator implementations.
Convert legacy AT_DISPATCH macros to AT_DISPATCH_V2 format for modern dispatch in ATen C++ code.
Download the skill repository as a ZIP file