Merged
feat(scatter_reduce): 完善 amax true/false、正确性与宽通道性能 #13812
liushucheng4Add on 15 days ago
feat(scatter_reduce): 完善 amax true/false、正确性与宽通道性能 #13812
Merged
Pull Request has been successfully merged by CANN-robot.
(Thank you for liushucheng4's contribution.)15 days ago Created pull request, commit b7743743
15 days ago Associated issue: [Requirement|需求建议]: 完善 A2/A3 ScatterReduce 的 includeSelf、amax 支持与临时显存
15 days ago Associated issue: [Requirement|需求建议]: 完善 A2/A3 ScatterReduce 的 includeSelf、amax 支持与临时显存
atomgit-bot
15 days ago Comments:
15 days ago Comments:
🤖 正在生成合并请求摘要,请稍候…


Incorrect?
atomgit-bot
15 days ago Comments:
15 days ago Comments:
🤖 AI 代码检视正在进行中,请稍候…


Incorrect?
liushucheng4
15 days ago Comments:
15 days ago Comments:
compile


153 messages are collapsed here。 See more
4 days ago Added label: ci-pipeline-running
4 days ago Removed label: ci-pipeline-running
4 days ago Added label: ci-pipeline-passed
4 days ago Merged pull request
CANN-robot
4 days ago Comments:
4 days ago Comments:
Pull Request 已合并或已关闭。
If you want to solve this problem, you can click here to do it in the FAQs.


描述
为 Atlas A2/A3 的
aclnnScatterReduce和aclnnInplaceScatterReduce开放 FP32/FP16/BF16 的 max(reduce=3)、includeSelf=true/false,支持图最大值池化与 PointNet 等宽通道聚合。改动包含三部分:
支持范围为一维/二维、dim=0 及等价负维度、INT64 index、index/src 同形,覆盖展开索引和独立列索引。index 非空时,self/src 的各维大小及元素总数不超过 4294967295。
关联的Issue
共同需求 #7692。本 PR 完成 amax true/false、正确性修复及宽通道适配。
文档更新
同步更新中英文 ACLNN 文档中的 max 支持范围、includeSelf 参数和形状约束;示例展示 amax true/false 的输出。
类型标签
AI/Agent生成声明