Move PyTorch dispatch macros to the v2 API.
kernel development
Converts legacy PyTorch AT_DISPATCH macros to the AT_DISPATCH_V2 format.
When to use it
Use when converting dispatch macros or porting ATen kernels to the new dispatch API.
Give it a project containing legacy AT_DISPATCH macros; it edits the code, shows the converted file, and explains the changes.
What you provide
No additional actions listed in the analysis.
No setup requirements listed in the analysis.