| Conv算子 doc和DFX整改 Co-authored-by: huafeng793<chenhuafeng2@huawei.com> # message auto-generated for no-merge-commit merge: !8970 merge conv_opt into master Conv算子 doc和DFX整改 Created-by: huafeng793 Commit-by: huafeng793 Merged-by: cann-robot Description: ## 描述 1、conv算子日志易用性整改 2、conv算子资料整改 3、conv ut asan识别问题修复 ## 关联的Issue [#5117](https://gitcode.com/cann/ops-nn/issues/5117) [#5120](https://gitcode.com/cann/ops-nn/issues/5120) [#5135](https://gitcode.com/cann/ops-nn/issues/5135) ## 测试 rdv验证 ## 文档更新 conv/conv2d_v2/README.md conv/conv3d_v2/README.md conv/convolution_forward/README.md conv/convolution_forward/docs/aclnnConvDepthwise2d.md conv/convolution_forward/docs/aclnnConvolution.md conv/convolution_forward/docs/aclnnQuantConvolution.md conv/convolution_forward/docs/aclnnQuantConvolutionWeightNz.md conv/extend_conv2d/README.md conv/quant_conv2d/README.md conv/quant_conv3d/README.md ## 类型标签 <!-- [x] 表示选中 --> - [x] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [x] 文档更新 - [ ] 其他,请描述: ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!8970 | 17 天前 |
| fix conv op proto Co-authored-by: huafeng793<chenhuafeng2@huawei.com> # message auto-generated for no-merge-commit merge: !9416 merge conv_proto into master fix conv op proto Created-by: huafeng793 Commit-by: huafeng793 Merged-by: cann-robot Description: ## 描述 ops_proto_nn.h和ops_proto_legacy.h中存在重复的conv2d、conv3d、deformableconv2d的原型定义。如果ops_proto_nn.h和ops_proto_legacy.h同时引用,会产生重复定义的错误,所以需要进行头文件引用保护。 ## 关联的Issue [#5380](https://gitcode.com/cann/ops-nn/issues/5380) ## 测试 RDV执行通过 ## 文档更新 不涉及 ## 类型标签 <!-- [x] 表示选中 --> - [x] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!9416 | 12 天前 |
| open quant conv2d Co-authored-by: huafeng793<chenhuafeng2@huawei.com> # message auto-generated for no-merge-commit merge: !7808 merge quantconv2dopen into master open quant conv2d Created-by: huafeng793 Commit-by: huafeng793 Merged-by: cann-robot Description: ## 描述 quant conv2d ascendc算子开源 ## 关联的Issue [#4425](https://gitcode.com/cann/ops-nn/issues/4425) ## 测试 ut,example,rdv验证通过 ## 文档更新 新增quant conv2d readme文档  ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!7808 | 1 个月前 |
| open quant conv2d Co-authored-by: huafeng793<chenhuafeng2@huawei.com> # message auto-generated for no-merge-commit merge: !7808 merge quantconv2dopen into master open quant conv2d Created-by: huafeng793 Commit-by: huafeng793 Merged-by: cann-robot Description: ## 描述 quant conv2d ascendc算子开源 ## 关联的Issue [#4425](https://gitcode.com/cann/ops-nn/issues/4425) ## 测试 ut,example,rdv验证通过 ## 文档更新 新增quant conv2d readme文档  ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!7808 | 1 个月前 |
| conv系列算子补充st用例 Co-authored-by: huafeng793<chenhuafeng2@huawei.com> # message auto-generated for no-merge-commit merge: !9879 merge conv_cases_opt into master conv系列算子补充st用例 Created-by: huafeng793 Commit-by: huafeng793 Merged-by: cann-robot Description: ## 描述 conv正向补充st用例和golden修复 ## 关联的Issue [#5585](https://gitcode.com/cann/ops-nn/issues/5585) ## 测试 ### 一、执行结果与总耗时 | 算子 | 用例数 | PASS | FAIL | 耗时 | |---|---|---|---|---| | Conv2DV2 | 13 | 13 | 0 | 85s | | Conv3DV2 | 17 | 17 | 0 | 83s | | ExtendConv2D | 11 | 11 | 0 | 63s | | QuantConv2D | 21 | 21 | 0 | 89s | | QuantConv3D | 11 | 11 | 0 | 69s | | **合计** | **73** | **73** | **0** | **389s (6m29s)** | **PassRate:100%(73/73)** ### 二、算子类型覆盖率 **5/5 = 100%**(Conv2DV2 / Conv3DV2 / ExtendConv2D / QuantConv2D / QuantConv3D 均有 ST 用例且全部执行) ### 三、dtype×format 组合覆盖率 **45/45 = 100%** | 算子 | 覆盖/支持 | 覆盖率 | 组合明细 | |---|---|---|---| | Conv2DV2 | 7/7 | 100% | fp16/fp32/bf16 × NCHW/NHWC + hif8/NCHW | | Conv3DV2 | 11/11 | 100% | fp16/fp32/bf16 × NCDHW/NDHWC + hif8/NCDHW + int8×{NCDHW,FRACTAL_Z_3D}×{fp16,bf16}输出 | | ExtendConv2D | 9/9 | 100% | hif8/fp8 × {fp32,fp16,bf16,同dtype}输出 + int8→fp16(hif8→hif8、fp8→fp8 由修复后的 001/004 有效覆盖) | | QuantConv2D | 9/9 | 100% | hif8/fp8 × {fp32,fp16,bf16,同dtype}输出 + int8→fp16(scale int64/ND) | | QuantConv3D | 9/9 | 100% | 同 QuantConv2D 结构(NCDHW) | ### 四、attrs 边界覆盖率 > 覆盖:左边界 + 边界中 | 算子 | 覆盖 | 覆盖率 | 说明 | |---|---|---|---| | Conv2DV2 | 8/8 | 100% | strides/pads/dilations 左边界+2、groups 1/2/4、NCHW+NHWC、enable_hf32 F/T(T 配 fp32 输入) | | Conv3DV2 | 8/8 | 100% | 同上(5D) | | ExtendConv2D | 13.5/14 | 96.4% | **enable_hf32 仅 50%**:True 需 FP32 输入,该算子无 FP32 输入组合不可测;dtype0 {0,1,27,34,36} 全覆盖、round_mode rint/round | | QuantConv2D | 8/8 | 100% | dtype {0,1,27,34,36} 全覆盖、round_mode rint/round | | QuantConv3D | 9/9 | 100% | 同上 | ### 五、新增用例数 **新增 50 条,删除 0 条**(旧用例仅行序调整,内容未变): | CSV | 库上 | 新增后 | 新增 | |---|---|---|---| | ttk_kernel_conv2dv2_st.csv | 9 | 13 | +4 | | ttk_kernel_conv3d.csv | 8 | 17 | +9 | | ttk_kernel_extend_conv2d.csv | 4 | 11 | +7 | | ttk_kernel_quant_conv2d_st.csv | 0 | 21 | +21(新建) | | ttk_kernel_quant_conv3d.csv | 2 | 11 | +9 | | **合计** | **23** | **73** | **+50** | ## 文档更新 不涉及 ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:用例和golden ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!9879 | 8 天前 |
| open quant conv2d Co-authored-by: huafeng793<chenhuafeng2@huawei.com> # message auto-generated for no-merge-commit merge: !7808 merge quantconv2dopen into master open quant conv2d Created-by: huafeng793 Commit-by: huafeng793 Merged-by: cann-robot Description: ## 描述 quant conv2d ascendc算子开源 ## 关联的Issue [#4425](https://gitcode.com/cann/ops-nn/issues/4425) ## 测试 ut,example,rdv验证通过 ## 文档更新 新增quant conv2d readme文档  ## 类型标签 <!-- [x] 表示选中 --> - [ ] Bug修复 - [x] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [ ] 其他,请描述: ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!7808 | 1 个月前 |
| Conv算子 doc和DFX整改 Co-authored-by: huafeng793<chenhuafeng2@huawei.com> # message auto-generated for no-merge-commit merge: !8970 merge conv_opt into master Conv算子 doc和DFX整改 Created-by: huafeng793 Commit-by: huafeng793 Merged-by: cann-robot Description: ## 描述 1、conv算子日志易用性整改 2、conv算子资料整改 3、conv ut asan识别问题修复 ## 关联的Issue [#5117](https://gitcode.com/cann/ops-nn/issues/5117) [#5120](https://gitcode.com/cann/ops-nn/issues/5120) [#5135](https://gitcode.com/cann/ops-nn/issues/5135) ## 测试 rdv验证 ## 文档更新 conv/conv2d_v2/README.md conv/conv3d_v2/README.md conv/convolution_forward/README.md conv/convolution_forward/docs/aclnnConvDepthwise2d.md conv/convolution_forward/docs/aclnnConvolution.md conv/convolution_forward/docs/aclnnQuantConvolution.md conv/convolution_forward/docs/aclnnQuantConvolutionWeightNz.md conv/extend_conv2d/README.md conv/quant_conv2d/README.md conv/quant_conv3d/README.md ## 类型标签 <!-- [x] 表示选中 --> - [x] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [x] 文档更新 - [ ] 其他,请描述: ## AI/Agent生成声明 <!-- [x] 表示选中 --> - [ ] AI辅助编写 See merge request: cann/ops-nn!8970 | 17 天前 |