External Cannbot Graph Torch Custom Ops Guide

自定义算子入图完整指南。覆盖从零开发、Eager 算子适配 npugraph_ex 图模式(torch.library.custom_op / torch.library.Library)、Meta 推导函数编写等全流程。适用于两种纯 Python 自定义算子注册场景。关键词:custom_op、torch.library.Library、register_fake、meta、mutates_args。

ascend-ai-coding Updated

File contents

ascend-ai-coding/awesome-ascend-skills/tree/main/external/cannbot/graph/torch-custom-ops-guide commit 8ec9a67beb

Frequently asked questions

npx skillmds@latest add ascend-ai-coding/external-cannbot-graph-torch-custom-ops-guide