at-dispatch-v2
A contributor skill in the PyTorch repository for converting ATen C++ code from the older AT_DISPATCH macros, whose names encode how many extra types they take, to the AT_DISPATCH_V2 form.
スキルの内容
A contributor skill in the PyTorch repository for converting ATen C++ code from the older AT_DISPATCH macros, whose names encode how many extra types they take, to the AT_DISPATCH_V2 form. The agent adds the v2 header next to the old one, maps each old macro to its type group, moves the dtype and name arguments to the front, wraps the lambda so commas inside it do not break the macro, marks type groups for expansion and lists extra types individually. Worked examples cover the common variants, and a checklist confirms each conversion. The agent shows the converted file and explains the changes but is told not to compile or test it.
できること
ドキュメントに記載なし
概要
- 公開元
- PyTorch
インストール
プロジェクトのドキュメントに、確認できるインストール手順がありません。 プロジェクトの手順を見る
MCPサーバーやスキルは、お使いのコンピューターでコードを実行したり、データを操作したりできます。インストールする前にソースを確認してください。
詳細
出典
- GitHubリポジトリgithub.com/pytorch/pytorch · 根拠となる項目:公開元, 活動状況2026年11月11日
- スキルファイル(SKILL.md)github.com/pytorch/pytorch · 根拠となる項目:スクリプトを含む, ライセンス2026年11月10日
- リポジトリ内のフォルダ(at-dispatch-v2)github.com/pytorch/pytorch · 根拠となる項目:スクリプトを含む2026年11月10日