Merged
RoiPooling算子迁仓至ops-nn #1442
m0_46386992Add on Aug 31
RoiPooling算子迁仓至ops-nn #1442
Merged
Merged fromm0_46386992/ops-cvroi_pooling_removeintocann/ops-cvmaster
Pull Request has been successfully merged by CANN-robot.
(Thank you for m0_46386992's contribution.)Aug 31 Created pull request, commit a6c65dd7
atomgit-bot
Aug 31 Comments:
Aug 31 Comments:
变更摘要
本 PR 将 ROIPooling 算子从当前仓库整体迁出至 ops-nn 仓库,删除了算子全部源码与配套资源(共 21 个文件,删除 2161 行):包括算子协议注册、graph 侧类型推导、host 侧算子定义/形状推导/tiling、kernel 侧 SIMT 实现及 tiling 数据结构、测试用例与 golden 脚本,并从 ascendc_config.json 中移除该算子的编译配置项。
主要改动
- 删除算子协议与 graph 侧定义: 移除
objdetect/roi_pooling/op_graph/下的roi_pooling_proto.h(REG_OP(ROIPooling)声明x、rois、可选输入roi_actual_num及pooled_h/pooled_w/spatial_scale_h/spatial_scale_w四个必选属性)和roi_pooling_graph_infer.cpp(InferDataTypeRoiPooling类型推导实现)。 - 删除 host 侧实现: 移除
op_host/下的roi_pooling_def.cpp(算子定义及ascend950的 AICore 配置)、roi_pooling_infershape.cpp(InferShapeRoiPooling形状推导)以及roi_pooling_tiling_arch35.cpp(含 dtype/shape/attr 校验、Grid-Stride 核切分与 workspace 设置的RoiPoolingTilingFunc)。 - 删除 kernel 侧实现: 移除
op_kernel/roi_pooling_apt.cpp内核入口和arch35/下的roi_pooling_simt.h(SIMT 实现)、roi_pooling_tiling_data.h(RoiPoolingTilingData结构)、roi_pooling_tiling_key.h(ROI_POOLING_SCH_MODE_DEFAULT模板参数声明)。 - 删除测试与示例资源: 移除
tests/assets/golden.py(RoiPoolingKernelSpecgolden 实现)、tests/ut/op_host/下的 tiling 与 infershape 单元测试,以及examples/test_geir_roi_pooling.cppGEIR 冒烟测试。 - 清理构建配置: 从
scripts/kernel/binary_config/ascendc_config.json中删除ROIPooling在ascend950的编译配置项(含-mllvm -cce-aicore-dcci-before-kernel-end=false编译选项),该算子迁仓后将由 ops-nn 仓库负责其构建。


Incorrect?
atomgit-bot
Aug 31 Comments:
Aug 31 Comments:
Aug 31 Added label: cann-cla/yes
CANN-robot
Aug 31 Comments:
Aug 31 Comments:
CANN-robot
Aug 31 Comments:
Aug 31 Comments:
Thanks for your pull-request.
The full list of commands accepted by me can be found at here.
You can get sig-info at here.
You can self-configure the PR merge rules for this repository. For more details, please refer to Here.
For more, you also can visit HICANN.
PR Approval Progress
✅ Congratulations! All modules have met the lgtm and approve requirements.
Module Approval Details
| module | lgtm status | approve status |
|---|---|---|
| */*/README.md | ✅ 陈娇, 刘伟, 冯彤 (3/2) | ✅ 陈娇 (1/1) |
| */*/op_graph/*_proto.h | ✅ 王永光, 刘伟, 冯彤 (3/2) | ✅ 王永光 (1/1) |
| */*/op_host/*_def.cpp | ✅ 王永光, 刘伟, 冯彤 (3/2) | ✅ 王永光 (1/1) |
| repo-cann/ops-cv | ✅ 刘伟, 冯彤 (2/2) | ✅ 刘伟 (1/1) |
💡 Tip:
- Committer can comment
/approveor/lgtm- Commenting
/approveimplies both code review (lgtm) and intent to merge (approve)
CLA Signature Pass
m0_46386992, thanks for your pull request. All authors of the commits have signed the CLA. 👍


Aug 31 Set yue-ma,zhou-qilong,gitee-duhuiping,rxtfeng,loov1,tang-lei01,zhangzijie,yourealize,zl_hw,liu-wei,gitcode-chenjiao,pingchuantang,llimwang,gubaocheng,wangyongguang,fengying555682,caiwenwen,yanglu-1 as approver
Aug 31 Set yue-ma,zhou-qilong,gitee-duhuiping,rxtfeng,loov1,tang-lei01,zhangzijie,yourealize,zl_hw,liu-wei,gitcode-chenjiao,pingchuantang,llimwang,gubaocheng,wangyongguang,fengying555682,caiwenwen,yanglu-1 as approver
9 event messages are collapsed here。 See more
Sep 1 Modify description of pull request
m0_46386992
Sep 1 Comments:
Sep 1 Comments:
compile


Sep 1 Pre merge succeeded (commit_id: 801bbb4b225cd6773ef7c4accd0cc76b62c6b996)
Sep 1 Added label: ci-pipeline-running
Sep 1 Removed label: ci-pipeline-running
Sep 1 Added label: ci-pipeline-failed
m0_46386992
Sep 1 Comments:
Sep 1 Comments:
compile


Sep 1 Pre merge succeeded (commit_id: 7c5b8f67ca8c3380955e75d4f8a655f6842fdbf0)
Sep 1 Removed label: ci-pipeline-failed
Sep 1 Added label: ci-pipeline-running
Sep 1 Removed label: ci-pipeline-running
Sep 1 Added label: ci-pipeline-passed
wangyongguang
Sep 1 Comments:
Sep 1 Comments:
/approve


chenjiao
Sep 1 Comments:
Sep 1 Comments:
/approve


liu-wei
Sep 2 Comments:
Sep 2 Comments:
/lgtm
/approve


Sep 2 Added label: approved
rxtfeng
Sep 2 Comments:
Sep 2 Comments:
/lgtm


Sep 2 Added label: lgtm
Sep 2 Closed associated issue
Sep 2 Merged pull request
描述
RoiPooling算子迁仓至ops-nn,避免升级后原型定义冲突。关联代码:
https://gitcode.com/cann/ops-nn/pull/9609
关联的Issue
https://gitcode.com/cann/ops-cv/issues/851
测试
文档更新
类型标签