| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 12 天前 | |
增加tf_plugin插件框架 Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !3622 merge bugfix1 into master 增加tf_plugin插件框架 Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 Summary - 添加构建系统支持,新增 --tfplugin 构建选项 - 新增TF plugin CMake构建配置和符号生成逻辑 - 提取通用工具函数到 plugin_util.h,包括 GetOpName - 新增TF插件安装路径和打包配置 Changes - CMake构建系统:添加 init_tf_plugin_modules() 和 add_tf_plugin_sources() - 构建脚本:支持 bash build.sh --tfplugin 编译选项 ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #000--> ## 测试 [#1977](https://gitcode.com/cann/ops-nn/issues/1977) ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: See merge request: cann/ops-nn!3622 | 3 个月前 | |
format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 12 天前 | |
format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 12 天前 | |
format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 12 天前 | |
format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 12 天前 | |
format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 12 天前 | |
format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 12 天前 | |
format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 12 天前 | |
format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 12 天前 | |
format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 12 天前 | |
format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 12 天前 | |
feat: 新增13个ONNX标准算子插件(Conv/Gemm/Pool/Normalization/SparseToDense) Co-authored-by: tianqiguang<tianqiguang@huawei.com> # message auto-generated for no-merge-commit merge: !7471 merge master into master feat: 新增13个ONNX标准算子插件(Conv/Gemm/Pool/Normalization/SparseToDense) Created-by: tianqiguang Commit-by: tianqiguang Merged-by: cann-robot Description: ## 描述 将 ONNX 标准算子插件从内部仓库迁移至开源仓库,新增 13 个 ONNX 算子插件的解析实现,覆盖卷积、池化、全连接、归一化等常见神经网络算子,支持多版本 ONNX opset。 | 序号 | 算子 | 文件名 | 行数 | |------|------|--------|------| | 1 | AveragePool | average_pool_onnx_plugin.cpp | 282 | | 2 | Conv | conv_onnx_plugin.cpp | 350 | | 3 | ConvTranspose | conv_transpose_onnx_plugin.cpp | 437 | | 4 | DeformableConv2d | deformable_conv2d_onnx_plugin.cpp | 145 | | 5 | Gemm | gemm_onnx_plugin.cpp | 134 | | 6 | Int8Conv | int8_conv_onnx_plugin.cpp | 250 | | 7 | Int8ConvRelu | int8_conv_relu_onnx_plugin.cpp | 369 | | 8 | Int8FC | int8_fc_onnx_plugin.cpp | 164 | | 9 | LayerNormalization | layer_normalization_onnx_plugin.cpp | 153 | | 10 | LpPool | lppool_onnx_plugin.cpp | 371 | | 11 | MaxPool | max_pool_onnx_plugin.cpp | 388 | | 12 | MaxUnpool | maxunpool_onnx_plugin.cpp | 226 | | 13 | SparseToDense | sparse_to_dense_onnx_plugin.cpp | 44 | ### 实现方式 每个插件文件通过 REGISTER_CUSTOM_OP 宏注册算子,实现 ONNX 算子属性到 Ascend IR 的映射: - 解析 ONNX NodeProto 中的算子属性(strides、pads、dilations、groups 等) - 转换为 Ascend GE 算子属性并通过 ge::Operator::SetAttr 设置 - 注册为 FrameworkType(ONNX) + ImplyType(TVM) 的定制算子 ## 测试 - ONNX 标准算子兼容性验证 - 与现有框架集成测试 ## 文档更新 无 ## 类型标签 - [x] 新特性 ## AI/Agent生成声明 - [x] AI辅助编写 ## 关联的Issue - #4076 See merge request: cann/ops-nn!7471 | 3 天前 | |
format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 12 天前 | |
format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 12 天前 | |
format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 12 天前 | |
format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 12 天前 | |
Security code remediation in matmul、common Co-authored-by: yolic<chenyuning1@huawei.com> # message auto-generated for no-merge-commit merge: !7306 merge 0709issue into master Security code remediation in matmul、common Created-by: yolic Commit-by: yolic Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> Security code remediation in matmul、common ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #000--> 关联Issue [#3882](https://gitcode.com/cann/ops-nn/issues/3882) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [x] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!7306 | 8 天前 | |
format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 12 天前 | |
format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 12 天前 | |
format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 12 天前 | |
feat: 新增13个ONNX标准算子插件(Conv/Gemm/Pool/Normalization/SparseToDense) Co-authored-by: tianqiguang<tianqiguang@huawei.com> # message auto-generated for no-merge-commit merge: !7471 merge master into master feat: 新增13个ONNX标准算子插件(Conv/Gemm/Pool/Normalization/SparseToDense) Created-by: tianqiguang Commit-by: tianqiguang Merged-by: cann-robot Description: ## 描述 将 ONNX 标准算子插件从内部仓库迁移至开源仓库,新增 13 个 ONNX 算子插件的解析实现,覆盖卷积、池化、全连接、归一化等常见神经网络算子,支持多版本 ONNX opset。 | 序号 | 算子 | 文件名 | 行数 | |------|------|--------|------| | 1 | AveragePool | average_pool_onnx_plugin.cpp | 282 | | 2 | Conv | conv_onnx_plugin.cpp | 350 | | 3 | ConvTranspose | conv_transpose_onnx_plugin.cpp | 437 | | 4 | DeformableConv2d | deformable_conv2d_onnx_plugin.cpp | 145 | | 5 | Gemm | gemm_onnx_plugin.cpp | 134 | | 6 | Int8Conv | int8_conv_onnx_plugin.cpp | 250 | | 7 | Int8ConvRelu | int8_conv_relu_onnx_plugin.cpp | 369 | | 8 | Int8FC | int8_fc_onnx_plugin.cpp | 164 | | 9 | LayerNormalization | layer_normalization_onnx_plugin.cpp | 153 | | 10 | LpPool | lppool_onnx_plugin.cpp | 371 | | 11 | MaxPool | max_pool_onnx_plugin.cpp | 388 | | 12 | MaxUnpool | maxunpool_onnx_plugin.cpp | 226 | | 13 | SparseToDense | sparse_to_dense_onnx_plugin.cpp | 44 | ### 实现方式 每个插件文件通过 REGISTER_CUSTOM_OP 宏注册算子,实现 ONNX 算子属性到 Ascend IR 的映射: - 解析 ONNX NodeProto 中的算子属性(strides、pads、dilations、groups 等) - 转换为 Ascend GE 算子属性并通过 ge::Operator::SetAttr 设置 - 注册为 FrameworkType(ONNX) + ImplyType(TVM) 的定制算子 ## 测试 - ONNX 标准算子兼容性验证 - 与现有框架集成测试 ## 文档更新 无 ## 类型标签 - [x] 新特性 ## AI/Agent生成声明 - [x] AI辅助编写 ## 关联的Issue - #4076 See merge request: cann/ops-nn!7471 | 3 天前 | |
feat: 新增13个ONNX标准算子插件(Conv/Gemm/Pool/Normalization/SparseToDense) Co-authored-by: tianqiguang<tianqiguang@huawei.com> # message auto-generated for no-merge-commit merge: !7471 merge master into master feat: 新增13个ONNX标准算子插件(Conv/Gemm/Pool/Normalization/SparseToDense) Created-by: tianqiguang Commit-by: tianqiguang Merged-by: cann-robot Description: ## 描述 将 ONNX 标准算子插件从内部仓库迁移至开源仓库,新增 13 个 ONNX 算子插件的解析实现,覆盖卷积、池化、全连接、归一化等常见神经网络算子,支持多版本 ONNX opset。 | 序号 | 算子 | 文件名 | 行数 | |------|------|--------|------| | 1 | AveragePool | average_pool_onnx_plugin.cpp | 282 | | 2 | Conv | conv_onnx_plugin.cpp | 350 | | 3 | ConvTranspose | conv_transpose_onnx_plugin.cpp | 437 | | 4 | DeformableConv2d | deformable_conv2d_onnx_plugin.cpp | 145 | | 5 | Gemm | gemm_onnx_plugin.cpp | 134 | | 6 | Int8Conv | int8_conv_onnx_plugin.cpp | 250 | | 7 | Int8ConvRelu | int8_conv_relu_onnx_plugin.cpp | 369 | | 8 | Int8FC | int8_fc_onnx_plugin.cpp | 164 | | 9 | LayerNormalization | layer_normalization_onnx_plugin.cpp | 153 | | 10 | LpPool | lppool_onnx_plugin.cpp | 371 | | 11 | MaxPool | max_pool_onnx_plugin.cpp | 388 | | 12 | MaxUnpool | maxunpool_onnx_plugin.cpp | 226 | | 13 | SparseToDense | sparse_to_dense_onnx_plugin.cpp | 44 | ### 实现方式 每个插件文件通过 REGISTER_CUSTOM_OP 宏注册算子,实现 ONNX 算子属性到 Ascend IR 的映射: - 解析 ONNX NodeProto 中的算子属性(strides、pads、dilations、groups 等) - 转换为 Ascend GE 算子属性并通过 ge::Operator::SetAttr 设置 - 注册为 FrameworkType(ONNX) + ImplyType(TVM) 的定制算子 ## 测试 - ONNX 标准算子兼容性验证 - 与现有框架集成测试 ## 文档更新 无 ## 类型标签 - [x] 新特性 ## AI/Agent生成声明 - [x] AI辅助编写 ## 关联的Issue - #4076 See merge request: cann/ops-nn!7471 | 3 天前 | |
feat: 新增13个ONNX标准算子插件(Conv/Gemm/Pool/Normalization/SparseToDense) Co-authored-by: tianqiguang<tianqiguang@huawei.com> # message auto-generated for no-merge-commit merge: !7471 merge master into master feat: 新增13个ONNX标准算子插件(Conv/Gemm/Pool/Normalization/SparseToDense) Created-by: tianqiguang Commit-by: tianqiguang Merged-by: cann-robot Description: ## 描述 将 ONNX 标准算子插件从内部仓库迁移至开源仓库,新增 13 个 ONNX 算子插件的解析实现,覆盖卷积、池化、全连接、归一化等常见神经网络算子,支持多版本 ONNX opset。 | 序号 | 算子 | 文件名 | 行数 | |------|------|--------|------| | 1 | AveragePool | average_pool_onnx_plugin.cpp | 282 | | 2 | Conv | conv_onnx_plugin.cpp | 350 | | 3 | ConvTranspose | conv_transpose_onnx_plugin.cpp | 437 | | 4 | DeformableConv2d | deformable_conv2d_onnx_plugin.cpp | 145 | | 5 | Gemm | gemm_onnx_plugin.cpp | 134 | | 6 | Int8Conv | int8_conv_onnx_plugin.cpp | 250 | | 7 | Int8ConvRelu | int8_conv_relu_onnx_plugin.cpp | 369 | | 8 | Int8FC | int8_fc_onnx_plugin.cpp | 164 | | 9 | LayerNormalization | layer_normalization_onnx_plugin.cpp | 153 | | 10 | LpPool | lppool_onnx_plugin.cpp | 371 | | 11 | MaxPool | max_pool_onnx_plugin.cpp | 388 | | 12 | MaxUnpool | maxunpool_onnx_plugin.cpp | 226 | | 13 | SparseToDense | sparse_to_dense_onnx_plugin.cpp | 44 | ### 实现方式 每个插件文件通过 REGISTER_CUSTOM_OP 宏注册算子,实现 ONNX 算子属性到 Ascend IR 的映射: - 解析 ONNX NodeProto 中的算子属性(strides、pads、dilations、groups 等) - 转换为 Ascend GE 算子属性并通过 ge::Operator::SetAttr 设置 - 注册为 FrameworkType(ONNX) + ImplyType(TVM) 的定制算子 ## 测试 - ONNX 标准算子兼容性验证 - 与现有框架集成测试 ## 文档更新 无 ## 类型标签 - [x] 新特性 ## AI/Agent生成声明 - [x] AI辅助编写 ## 关联的Issue - #4076 See merge request: cann/ops-nn!7471 | 3 天前 | |
format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 12 天前 | |
feat: 新增13个ONNX标准算子插件(Conv/Gemm/Pool/Normalization/SparseToDense) Co-authored-by: tianqiguang<tianqiguang@huawei.com> # message auto-generated for no-merge-commit merge: !7471 merge master into master feat: 新增13个ONNX标准算子插件(Conv/Gemm/Pool/Normalization/SparseToDense) Created-by: tianqiguang Commit-by: tianqiguang Merged-by: cann-robot Description: ## 描述 将 ONNX 标准算子插件从内部仓库迁移至开源仓库,新增 13 个 ONNX 算子插件的解析实现,覆盖卷积、池化、全连接、归一化等常见神经网络算子,支持多版本 ONNX opset。 | 序号 | 算子 | 文件名 | 行数 | |------|------|--------|------| | 1 | AveragePool | average_pool_onnx_plugin.cpp | 282 | | 2 | Conv | conv_onnx_plugin.cpp | 350 | | 3 | ConvTranspose | conv_transpose_onnx_plugin.cpp | 437 | | 4 | DeformableConv2d | deformable_conv2d_onnx_plugin.cpp | 145 | | 5 | Gemm | gemm_onnx_plugin.cpp | 134 | | 6 | Int8Conv | int8_conv_onnx_plugin.cpp | 250 | | 7 | Int8ConvRelu | int8_conv_relu_onnx_plugin.cpp | 369 | | 8 | Int8FC | int8_fc_onnx_plugin.cpp | 164 | | 9 | LayerNormalization | layer_normalization_onnx_plugin.cpp | 153 | | 10 | LpPool | lppool_onnx_plugin.cpp | 371 | | 11 | MaxPool | max_pool_onnx_plugin.cpp | 388 | | 12 | MaxUnpool | maxunpool_onnx_plugin.cpp | 226 | | 13 | SparseToDense | sparse_to_dense_onnx_plugin.cpp | 44 | ### 实现方式 每个插件文件通过 REGISTER_CUSTOM_OP 宏注册算子,实现 ONNX 算子属性到 Ascend IR 的映射: - 解析 ONNX NodeProto 中的算子属性(strides、pads、dilations、groups 等) - 转换为 Ascend GE 算子属性并通过 ge::Operator::SetAttr 设置 - 注册为 FrameworkType(ONNX) + ImplyType(TVM) 的定制算子 ## 测试 - ONNX 标准算子兼容性验证 - 与现有框架集成测试 ## 文档更新 无 ## 类型标签 - [x] 新特性 ## AI/Agent生成声明 - [x] AI辅助编写 ## 关联的Issue - #4076 See merge request: cann/ops-nn!7471 | 3 天前 | |
format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 12 天前 | |
format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 12 天前 | |
Security code remediation in matmul、common Co-authored-by: yolic<chenyuning1@huawei.com> # message auto-generated for no-merge-commit merge: !7306 merge 0709issue into master Security code remediation in matmul、common Created-by: yolic Commit-by: yolic Merged-by: cann-robot Description: ## 描述 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> Security code remediation in matmul、common ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #000--> 关联Issue [#3882](https://gitcode.com/cann/ops-nn/issues/3882) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [x] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!7306 | 8 天前 | |
format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 12 天前 | |
format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 12 天前 | |
format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 12 天前 | |
format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 12 天前 | |
feat: 新增13个ONNX标准算子插件(Conv/Gemm/Pool/Normalization/SparseToDense) Co-authored-by: tianqiguang<tianqiguang@huawei.com> # message auto-generated for no-merge-commit merge: !7471 merge master into master feat: 新增13个ONNX标准算子插件(Conv/Gemm/Pool/Normalization/SparseToDense) Created-by: tianqiguang Commit-by: tianqiguang Merged-by: cann-robot Description: ## 描述 将 ONNX 标准算子插件从内部仓库迁移至开源仓库,新增 13 个 ONNX 算子插件的解析实现,覆盖卷积、池化、全连接、归一化等常见神经网络算子,支持多版本 ONNX opset。 | 序号 | 算子 | 文件名 | 行数 | |------|------|--------|------| | 1 | AveragePool | average_pool_onnx_plugin.cpp | 282 | | 2 | Conv | conv_onnx_plugin.cpp | 350 | | 3 | ConvTranspose | conv_transpose_onnx_plugin.cpp | 437 | | 4 | DeformableConv2d | deformable_conv2d_onnx_plugin.cpp | 145 | | 5 | Gemm | gemm_onnx_plugin.cpp | 134 | | 6 | Int8Conv | int8_conv_onnx_plugin.cpp | 250 | | 7 | Int8ConvRelu | int8_conv_relu_onnx_plugin.cpp | 369 | | 8 | Int8FC | int8_fc_onnx_plugin.cpp | 164 | | 9 | LayerNormalization | layer_normalization_onnx_plugin.cpp | 153 | | 10 | LpPool | lppool_onnx_plugin.cpp | 371 | | 11 | MaxPool | max_pool_onnx_plugin.cpp | 388 | | 12 | MaxUnpool | maxunpool_onnx_plugin.cpp | 226 | | 13 | SparseToDense | sparse_to_dense_onnx_plugin.cpp | 44 | ### 实现方式 每个插件文件通过 REGISTER_CUSTOM_OP 宏注册算子,实现 ONNX 算子属性到 Ascend IR 的映射: - 解析 ONNX NodeProto 中的算子属性(strides、pads、dilations、groups 等) - 转换为 Ascend GE 算子属性并通过 ge::Operator::SetAttr 设置 - 注册为 FrameworkType(ONNX) + ImplyType(TVM) 的定制算子 ## 测试 - ONNX 标准算子兼容性验证 - 与现有框架集成测试 ## 文档更新 无 ## 类型标签 - [x] 新特性 ## AI/Agent生成声明 - [x] AI辅助编写 ## 关联的Issue - #4076 See merge request: cann/ops-nn!7471 | 3 天前 | |
feat: 新增13个ONNX标准算子插件(Conv/Gemm/Pool/Normalization/SparseToDense) Co-authored-by: tianqiguang<tianqiguang@huawei.com> # message auto-generated for no-merge-commit merge: !7471 merge master into master feat: 新增13个ONNX标准算子插件(Conv/Gemm/Pool/Normalization/SparseToDense) Created-by: tianqiguang Commit-by: tianqiguang Merged-by: cann-robot Description: ## 描述 将 ONNX 标准算子插件从内部仓库迁移至开源仓库,新增 13 个 ONNX 算子插件的解析实现,覆盖卷积、池化、全连接、归一化等常见神经网络算子,支持多版本 ONNX opset。 | 序号 | 算子 | 文件名 | 行数 | |------|------|--------|------| | 1 | AveragePool | average_pool_onnx_plugin.cpp | 282 | | 2 | Conv | conv_onnx_plugin.cpp | 350 | | 3 | ConvTranspose | conv_transpose_onnx_plugin.cpp | 437 | | 4 | DeformableConv2d | deformable_conv2d_onnx_plugin.cpp | 145 | | 5 | Gemm | gemm_onnx_plugin.cpp | 134 | | 6 | Int8Conv | int8_conv_onnx_plugin.cpp | 250 | | 7 | Int8ConvRelu | int8_conv_relu_onnx_plugin.cpp | 369 | | 8 | Int8FC | int8_fc_onnx_plugin.cpp | 164 | | 9 | LayerNormalization | layer_normalization_onnx_plugin.cpp | 153 | | 10 | LpPool | lppool_onnx_plugin.cpp | 371 | | 11 | MaxPool | max_pool_onnx_plugin.cpp | 388 | | 12 | MaxUnpool | maxunpool_onnx_plugin.cpp | 226 | | 13 | SparseToDense | sparse_to_dense_onnx_plugin.cpp | 44 | ### 实现方式 每个插件文件通过 REGISTER_CUSTOM_OP 宏注册算子,实现 ONNX 算子属性到 Ascend IR 的映射: - 解析 ONNX NodeProto 中的算子属性(strides、pads、dilations、groups 等) - 转换为 Ascend GE 算子属性并通过 ge::Operator::SetAttr 设置 - 注册为 FrameworkType(ONNX) + ImplyType(TVM) 的定制算子 ## 测试 - ONNX 标准算子兼容性验证 - 与现有框架集成测试 ## 文档更新 无 ## 类型标签 - [x] 新特性 ## AI/Agent生成声明 - [x] AI辅助编写 ## 关联的Issue - #4076 See merge request: cann/ops-nn!7471 | 3 天前 | |
format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 12 天前 | |
feat: 新增13个ONNX标准算子插件(Conv/Gemm/Pool/Normalization/SparseToDense) Co-authored-by: tianqiguang<tianqiguang@huawei.com> # message auto-generated for no-merge-commit merge: !7471 merge master into master feat: 新增13个ONNX标准算子插件(Conv/Gemm/Pool/Normalization/SparseToDense) Created-by: tianqiguang Commit-by: tianqiguang Merged-by: cann-robot Description: ## 描述 将 ONNX 标准算子插件从内部仓库迁移至开源仓库,新增 13 个 ONNX 算子插件的解析实现,覆盖卷积、池化、全连接、归一化等常见神经网络算子,支持多版本 ONNX opset。 | 序号 | 算子 | 文件名 | 行数 | |------|------|--------|------| | 1 | AveragePool | average_pool_onnx_plugin.cpp | 282 | | 2 | Conv | conv_onnx_plugin.cpp | 350 | | 3 | ConvTranspose | conv_transpose_onnx_plugin.cpp | 437 | | 4 | DeformableConv2d | deformable_conv2d_onnx_plugin.cpp | 145 | | 5 | Gemm | gemm_onnx_plugin.cpp | 134 | | 6 | Int8Conv | int8_conv_onnx_plugin.cpp | 250 | | 7 | Int8ConvRelu | int8_conv_relu_onnx_plugin.cpp | 369 | | 8 | Int8FC | int8_fc_onnx_plugin.cpp | 164 | | 9 | LayerNormalization | layer_normalization_onnx_plugin.cpp | 153 | | 10 | LpPool | lppool_onnx_plugin.cpp | 371 | | 11 | MaxPool | max_pool_onnx_plugin.cpp | 388 | | 12 | MaxUnpool | maxunpool_onnx_plugin.cpp | 226 | | 13 | SparseToDense | sparse_to_dense_onnx_plugin.cpp | 44 | ### 实现方式 每个插件文件通过 REGISTER_CUSTOM_OP 宏注册算子,实现 ONNX 算子属性到 Ascend IR 的映射: - 解析 ONNX NodeProto 中的算子属性(strides、pads、dilations、groups 等) - 转换为 Ascend GE 算子属性并通过 ge::Operator::SetAttr 设置 - 注册为 FrameworkType(ONNX) + ImplyType(TVM) 的定制算子 ## 测试 - ONNX 标准算子兼容性验证 - 与现有框架集成测试 ## 文档更新 无 ## 类型标签 - [x] 新特性 ## AI/Agent生成声明 - [x] AI辅助编写 ## 关联的Issue - #4076 See merge request: cann/ops-nn!7471 | 3 天前 | |
format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 12 天前 | |
format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 12 天前 | |
feat: 新增13个ONNX标准算子插件(Conv/Gemm/Pool/Normalization/SparseToDense) Co-authored-by: tianqiguang<tianqiguang@huawei.com> # message auto-generated for no-merge-commit merge: !7471 merge master into master feat: 新增13个ONNX标准算子插件(Conv/Gemm/Pool/Normalization/SparseToDense) Created-by: tianqiguang Commit-by: tianqiguang Merged-by: cann-robot Description: ## 描述 将 ONNX 标准算子插件从内部仓库迁移至开源仓库,新增 13 个 ONNX 算子插件的解析实现,覆盖卷积、池化、全连接、归一化等常见神经网络算子,支持多版本 ONNX opset。 | 序号 | 算子 | 文件名 | 行数 | |------|------|--------|------| | 1 | AveragePool | average_pool_onnx_plugin.cpp | 282 | | 2 | Conv | conv_onnx_plugin.cpp | 350 | | 3 | ConvTranspose | conv_transpose_onnx_plugin.cpp | 437 | | 4 | DeformableConv2d | deformable_conv2d_onnx_plugin.cpp | 145 | | 5 | Gemm | gemm_onnx_plugin.cpp | 134 | | 6 | Int8Conv | int8_conv_onnx_plugin.cpp | 250 | | 7 | Int8ConvRelu | int8_conv_relu_onnx_plugin.cpp | 369 | | 8 | Int8FC | int8_fc_onnx_plugin.cpp | 164 | | 9 | LayerNormalization | layer_normalization_onnx_plugin.cpp | 153 | | 10 | LpPool | lppool_onnx_plugin.cpp | 371 | | 11 | MaxPool | max_pool_onnx_plugin.cpp | 388 | | 12 | MaxUnpool | maxunpool_onnx_plugin.cpp | 226 | | 13 | SparseToDense | sparse_to_dense_onnx_plugin.cpp | 44 | ### 实现方式 每个插件文件通过 REGISTER_CUSTOM_OP 宏注册算子,实现 ONNX 算子属性到 Ascend IR 的映射: - 解析 ONNX NodeProto 中的算子属性(strides、pads、dilations、groups 等) - 转换为 Ascend GE 算子属性并通过 ge::Operator::SetAttr 设置 - 注册为 FrameworkType(ONNX) + ImplyType(TVM) 的定制算子 ## 测试 - ONNX 标准算子兼容性验证 - 与现有框架集成测试 ## 文档更新 无 ## 类型标签 - [x] 新特性 ## AI/Agent生成声明 - [x] AI辅助编写 ## 关联的Issue - #4076 See merge request: cann/ops-nn!7471 | 3 天前 | |
format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 12 天前 | |
feat: 新增13个ONNX标准算子插件(Conv/Gemm/Pool/Normalization/SparseToDense) Co-authored-by: tianqiguang<tianqiguang@huawei.com> # message auto-generated for no-merge-commit merge: !7471 merge master into master feat: 新增13个ONNX标准算子插件(Conv/Gemm/Pool/Normalization/SparseToDense) Created-by: tianqiguang Commit-by: tianqiguang Merged-by: cann-robot Description: ## 描述 将 ONNX 标准算子插件从内部仓库迁移至开源仓库,新增 13 个 ONNX 算子插件的解析实现,覆盖卷积、池化、全连接、归一化等常见神经网络算子,支持多版本 ONNX opset。 | 序号 | 算子 | 文件名 | 行数 | |------|------|--------|------| | 1 | AveragePool | average_pool_onnx_plugin.cpp | 282 | | 2 | Conv | conv_onnx_plugin.cpp | 350 | | 3 | ConvTranspose | conv_transpose_onnx_plugin.cpp | 437 | | 4 | DeformableConv2d | deformable_conv2d_onnx_plugin.cpp | 145 | | 5 | Gemm | gemm_onnx_plugin.cpp | 134 | | 6 | Int8Conv | int8_conv_onnx_plugin.cpp | 250 | | 7 | Int8ConvRelu | int8_conv_relu_onnx_plugin.cpp | 369 | | 8 | Int8FC | int8_fc_onnx_plugin.cpp | 164 | | 9 | LayerNormalization | layer_normalization_onnx_plugin.cpp | 153 | | 10 | LpPool | lppool_onnx_plugin.cpp | 371 | | 11 | MaxPool | max_pool_onnx_plugin.cpp | 388 | | 12 | MaxUnpool | maxunpool_onnx_plugin.cpp | 226 | | 13 | SparseToDense | sparse_to_dense_onnx_plugin.cpp | 44 | ### 实现方式 每个插件文件通过 REGISTER_CUSTOM_OP 宏注册算子,实现 ONNX 算子属性到 Ascend IR 的映射: - 解析 ONNX NodeProto 中的算子属性(strides、pads、dilations、groups 等) - 转换为 Ascend GE 算子属性并通过 ge::Operator::SetAttr 设置 - 注册为 FrameworkType(ONNX) + ImplyType(TVM) 的定制算子 ## 测试 - ONNX 标准算子兼容性验证 - 与现有框架集成测试 ## 文档更新 无 ## 类型标签 - [x] 新特性 ## AI/Agent生成声明 - [x] AI辅助编写 ## 关联的Issue - #4076 See merge request: cann/ops-nn!7471 | 3 天前 | |
format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 12 天前 | |
format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 12 天前 | |
format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 12 天前 | |
Support shift_value Co-authored-by: ykxxlzhong<luzhihong3@hisilicon.com> # message auto-generated for no-merge-commit merge: !7439 merge shift into master Support shift_value Created-by: ykxxlzhong Commit-by: ykxxlzhong Merged-by: cann-robot Description: ## 描述 NPU_ARCH 5102 新增Matmul/Conv算子支持onnx图自定义MMAD定点化计算时使用的fixedShiftValue值。 onnv_plugin里支持对onnx图上fixedShiftValue值的读取和设置; 融合pass阶段将fixedShiftValue值记录到算子的Attr上; tiling阶段将fixedShiftValue记录到tilingData中,由kernel侧进行读取。 非量化matmul tilingData的fixedShiftValue参数复用isHf32,并改名为mmadParam。当5102架构时传入fixedShiftValue,其余架构哦传入isHf32。 <!--在这里详细描述你的改动,包括改动的原因和所采取的方法。--> ## 关联的Issue <!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。例如:关联Issue #000--> [#4151](https://gitcode.com/cann/ops-nn/issues/4151) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> 构造matmul单算子图自验证 线上冒烟通过 ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [x] AI辅助编写 See merge request: cann/ops-nn!7439 | 10 小时前 | |
feat: 新增13个ONNX标准算子插件(Conv/Gemm/Pool/Normalization/SparseToDense) Co-authored-by: tianqiguang<tianqiguang@huawei.com> # message auto-generated for no-merge-commit merge: !7471 merge master into master feat: 新增13个ONNX标准算子插件(Conv/Gemm/Pool/Normalization/SparseToDense) Created-by: tianqiguang Commit-by: tianqiguang Merged-by: cann-robot Description: ## 描述 将 ONNX 标准算子插件从内部仓库迁移至开源仓库,新增 13 个 ONNX 算子插件的解析实现,覆盖卷积、池化、全连接、归一化等常见神经网络算子,支持多版本 ONNX opset。 | 序号 | 算子 | 文件名 | 行数 | |------|------|--------|------| | 1 | AveragePool | average_pool_onnx_plugin.cpp | 282 | | 2 | Conv | conv_onnx_plugin.cpp | 350 | | 3 | ConvTranspose | conv_transpose_onnx_plugin.cpp | 437 | | 4 | DeformableConv2d | deformable_conv2d_onnx_plugin.cpp | 145 | | 5 | Gemm | gemm_onnx_plugin.cpp | 134 | | 6 | Int8Conv | int8_conv_onnx_plugin.cpp | 250 | | 7 | Int8ConvRelu | int8_conv_relu_onnx_plugin.cpp | 369 | | 8 | Int8FC | int8_fc_onnx_plugin.cpp | 164 | | 9 | LayerNormalization | layer_normalization_onnx_plugin.cpp | 153 | | 10 | LpPool | lppool_onnx_plugin.cpp | 371 | | 11 | MaxPool | max_pool_onnx_plugin.cpp | 388 | | 12 | MaxUnpool | maxunpool_onnx_plugin.cpp | 226 | | 13 | SparseToDense | sparse_to_dense_onnx_plugin.cpp | 44 | ### 实现方式 每个插件文件通过 REGISTER_CUSTOM_OP 宏注册算子,实现 ONNX 算子属性到 Ascend IR 的映射: - 解析 ONNX NodeProto 中的算子属性(strides、pads、dilations、groups 等) - 转换为 Ascend GE 算子属性并通过 ge::Operator::SetAttr 设置 - 注册为 FrameworkType(ONNX) + ImplyType(TVM) 的定制算子 ## 测试 - ONNX 标准算子兼容性验证 - 与现有框架集成测试 ## 文档更新 无 ## 类型标签 - [x] 新特性 ## AI/Agent生成声明 - [x] AI辅助编写 ## 关联的Issue - #4076 See merge request: cann/ops-nn!7471 | 3 天前 | |
feat: 新增13个ONNX标准算子插件(Conv/Gemm/Pool/Normalization/SparseToDense) Co-authored-by: tianqiguang<tianqiguang@huawei.com> # message auto-generated for no-merge-commit merge: !7471 merge master into master feat: 新增13个ONNX标准算子插件(Conv/Gemm/Pool/Normalization/SparseToDense) Created-by: tianqiguang Commit-by: tianqiguang Merged-by: cann-robot Description: ## 描述 将 ONNX 标准算子插件从内部仓库迁移至开源仓库,新增 13 个 ONNX 算子插件的解析实现,覆盖卷积、池化、全连接、归一化等常见神经网络算子,支持多版本 ONNX opset。 | 序号 | 算子 | 文件名 | 行数 | |------|------|--------|------| | 1 | AveragePool | average_pool_onnx_plugin.cpp | 282 | | 2 | Conv | conv_onnx_plugin.cpp | 350 | | 3 | ConvTranspose | conv_transpose_onnx_plugin.cpp | 437 | | 4 | DeformableConv2d | deformable_conv2d_onnx_plugin.cpp | 145 | | 5 | Gemm | gemm_onnx_plugin.cpp | 134 | | 6 | Int8Conv | int8_conv_onnx_plugin.cpp | 250 | | 7 | Int8ConvRelu | int8_conv_relu_onnx_plugin.cpp | 369 | | 8 | Int8FC | int8_fc_onnx_plugin.cpp | 164 | | 9 | LayerNormalization | layer_normalization_onnx_plugin.cpp | 153 | | 10 | LpPool | lppool_onnx_plugin.cpp | 371 | | 11 | MaxPool | max_pool_onnx_plugin.cpp | 388 | | 12 | MaxUnpool | maxunpool_onnx_plugin.cpp | 226 | | 13 | SparseToDense | sparse_to_dense_onnx_plugin.cpp | 44 | ### 实现方式 每个插件文件通过 REGISTER_CUSTOM_OP 宏注册算子,实现 ONNX 算子属性到 Ascend IR 的映射: - 解析 ONNX NodeProto 中的算子属性(strides、pads、dilations、groups 等) - 转换为 Ascend GE 算子属性并通过 ge::Operator::SetAttr 设置 - 注册为 FrameworkType(ONNX) + ImplyType(TVM) 的定制算子 ## 测试 - ONNX 标准算子兼容性验证 - 与现有框架集成测试 ## 文档更新 无 ## 类型标签 - [x] 新特性 ## AI/Agent生成声明 - [x] AI辅助编写 ## 关联的Issue - #4076 See merge request: cann/ops-nn!7471 | 3 天前 | |
format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 12 天前 | |
format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 12 天前 | |
format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 12 天前 | |
format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 12 天前 | |
format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 12 天前 | |
format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 12 天前 | |
format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 12 天前 | |
format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 12 天前 | |
feat: 新增13个ONNX标准算子插件(Conv/Gemm/Pool/Normalization/SparseToDense) Co-authored-by: tianqiguang<tianqiguang@huawei.com> # message auto-generated for no-merge-commit merge: !7471 merge master into master feat: 新增13个ONNX标准算子插件(Conv/Gemm/Pool/Normalization/SparseToDense) Created-by: tianqiguang Commit-by: tianqiguang Merged-by: cann-robot Description: ## 描述 将 ONNX 标准算子插件从内部仓库迁移至开源仓库,新增 13 个 ONNX 算子插件的解析实现,覆盖卷积、池化、全连接、归一化等常见神经网络算子,支持多版本 ONNX opset。 | 序号 | 算子 | 文件名 | 行数 | |------|------|--------|------| | 1 | AveragePool | average_pool_onnx_plugin.cpp | 282 | | 2 | Conv | conv_onnx_plugin.cpp | 350 | | 3 | ConvTranspose | conv_transpose_onnx_plugin.cpp | 437 | | 4 | DeformableConv2d | deformable_conv2d_onnx_plugin.cpp | 145 | | 5 | Gemm | gemm_onnx_plugin.cpp | 134 | | 6 | Int8Conv | int8_conv_onnx_plugin.cpp | 250 | | 7 | Int8ConvRelu | int8_conv_relu_onnx_plugin.cpp | 369 | | 8 | Int8FC | int8_fc_onnx_plugin.cpp | 164 | | 9 | LayerNormalization | layer_normalization_onnx_plugin.cpp | 153 | | 10 | LpPool | lppool_onnx_plugin.cpp | 371 | | 11 | MaxPool | max_pool_onnx_plugin.cpp | 388 | | 12 | MaxUnpool | maxunpool_onnx_plugin.cpp | 226 | | 13 | SparseToDense | sparse_to_dense_onnx_plugin.cpp | 44 | ### 实现方式 每个插件文件通过 REGISTER_CUSTOM_OP 宏注册算子,实现 ONNX 算子属性到 Ascend IR 的映射: - 解析 ONNX NodeProto 中的算子属性(strides、pads、dilations、groups 等) - 转换为 Ascend GE 算子属性并通过 ge::Operator::SetAttr 设置 - 注册为 FrameworkType(ONNX) + ImplyType(TVM) 的定制算子 ## 测试 - ONNX 标准算子兼容性验证 - 与现有框架集成测试 ## 文档更新 无 ## 类型标签 - [x] 新特性 ## AI/Agent生成声明 - [x] AI辅助编写 ## 关联的Issue - #4076 See merge request: cann/ops-nn!7471 | 3 天前 | |
format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 12 天前 | |
format cpp Co-authored-by: yang-di52<yangdi52@huawei.com> # message auto-generated for no-merge-commit merge: !6784 merge issue_fix into master format cpp Created-by: yang-di52 Commit-by: yang-di52 Merged-by: cann-robot Description: ## 描述 批量刷新cpp代码格式 ## 关联的Issue [#3791](https://gitcode.com/cann/ops-nn/issues/3791) ## 测试 <!--描述进行了哪些测试来验证你的改动。--> ## 文档更新 <!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。--> ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:代码格式化 ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!6784 | 12 天前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 12 天前 | ||
| 3 个月前 | ||
| 12 天前 | ||
| 12 天前 | ||
| 12 天前 | ||
| 12 天前 | ||
| 12 天前 | ||
| 12 天前 | ||
| 12 天前 | ||
| 12 天前 | ||
| 12 天前 | ||
| 12 天前 | ||
| 3 天前 | ||
| 12 天前 | ||
| 12 天前 | ||
| 12 天前 | ||
| 12 天前 | ||
| 8 天前 | ||
| 12 天前 | ||
| 12 天前 | ||
| 12 天前 | ||
| 3 天前 | ||
| 3 天前 | ||
| 3 天前 | ||
| 12 天前 | ||
| 3 天前 | ||
| 12 天前 | ||
| 12 天前 | ||
| 8 天前 | ||
| 12 天前 | ||
| 12 天前 | ||
| 12 天前 | ||
| 12 天前 | ||
| 3 天前 | ||
| 3 天前 | ||
| 12 天前 | ||
| 3 天前 | ||
| 12 天前 | ||
| 12 天前 | ||
| 3 天前 | ||
| 12 天前 | ||
| 3 天前 | ||
| 12 天前 | ||
| 12 天前 | ||
| 12 天前 | ||
| 10 小时前 | ||
| 3 天前 | ||
| 3 天前 | ||
| 12 天前 | ||
| 12 天前 | ||
| 12 天前 | ||
| 12 天前 | ||
| 12 天前 | ||
| 12 天前 | ||
| 12 天前 | ||
| 12 天前 | ||
| 3 天前 | ||
| 12 天前 | ||
| 12 天前 |