Lightlines
By pytorch

at-dispatch-v2

pytorch3.1k installs

Move PyTorch dispatch macros to the v2 API.

What it does

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.

How to use it

Give it a project containing legacy AT_DISPATCH macros; it edits the code, shows the converted file, and explains the changes.

What you provide

  • An existing project

Latest review

What you need · 0

No setup requirements listed.


Access · 0

No additional actions listed.