| Support the direct integration of aclnn with PyTorch for testing purposes(支持ACLNN直接注册torch插件进行自测试)
Co-authored-by: jon_jin<jinjiong@hisilicon.com>
# message auto-generated for no-merge-commit merge:
!293 merge torch-adaptor into master
Support the direct integration of aclnn with PyTorch for testing purposes(支持ACLNN直接注册torch插件进行自测试)
Created-by: jon_jin
Commit-by: jon_jin
Merged-by: cann-robot
Description: ## 描述
Support the direct integration of aclnn with PyTorch for testing purposes,the following content will be added to the testing and acceptance phase in oprator's st directory.
├── torch/ # PyTorch 接入测试(可选)
│ ├── CMakeLists.txt # PyTorch 适配层构建配置
│ ├── test.py # 测试入口(用例定义 + 调度)
│ ├── golden.py # CPU golden 计算
│ ├── compare.py # 精度比对逻辑
│ ├── torch_adapter.cpp # PyTorch 算子注册 + ACLNN 两段式封装
## 关联的Issue
关联 Issue #199<!-- 如果这个PR是为了解决特定的问题单,请在这里描述问题单的链接。-->
## 测试
<!--描述进行了哪些测试来验证你的改动。-->
## 文档更新
<!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。-->
## 类型标签
<!-- [x] 表示选中 -->
- [ ] 🌟 新特性
- [x] ✨ 特性增强
- [ ] 🐛 Bug 修复
- [ ] ⚡ 性能优化
- [ ] 🧪 测试用例
- [ ] 📦 构建 / CI
- [ ] 📝 文档更新
- [ ] 🔧 配置变更
- [ ] ⬆️ 依赖升级
- [ ] 🔒 安全修复
- [ ] ♻️ 代码重构
- [ ] 🧹 代码清理
- [ ] ❓ 其他,请描述:
## 流水线故障排查
<!-- 如果下方的流水线检查未通过,可参考以下指引进行自助修复 -->
> **UT_Test 未通过?**
> 请在下方流水线表格的 **UT_Test** 行,点击右侧的 >>>>> 下载 **CANNBot-skills UT 测试报告**(HTML 格式)。
> 打开报告后,展开页面中的「UT Test 失败修复指南」,复制其中的提示词并粘贴给 Agent,Agent 将根据日志自动定位并修复问题。
>
> 示例:
> 
See merge request: cann/cannbot-skills!293 | 8 天前 |