Closed
补充 AdaptiveMaxPool2d README 的无 batch shape #6890
KaranocaVeAdd on  Oct 19Closed at  27 days ago
KaranocaVe
KaranocaVe
Oct 19 Create

补充 AdaptiveMaxPool2d README 的无 batch shape

在 cann/ops-nn@ecfb989a26fbd1bb93dff4e0001a697a452b90ce 中,pooling/adaptive_max_pool2d/README.md 的参数表只列出带 batch 的输入 [N, C, Hin, Win] 和输出 [N, C, Hout, Wout]。
同一提交的 ACLNN 文档允许 rank-3 输入 (C, Hin, Win),公开入口接受 3 或 4 维,Host InferShape UT 也验证了输入 [3,16,16] 对应输出 [3,4,4]。因此 README 未列出实际支持的无 batch 输入和输出 shape。
修复仅在 README 的 x、y、indices shape 描述中补充无 batch 形状,不改实现或其他合同。

验证

  • API 文档、入口校验和 Host InferShape UT 均确认支持无 batch rank-3 输入;README 缺少对应输入和输出 shape。本修复只更新文档。

关联 PR: https://gitcode.com/cann/ops-nn/merge_requests/12278

likedislike
KaranocaVeKaranocaVe
Oct 19 Associated pull request
KaranocaVeKaranocaVe
Oct 19 Modify description of issue
yuning_chenyuning_chenCollaborators
Oct 19 Assign KaranocaVe as responsible person
CANN-robotCANN-robotCollaborators
27 days ago Close issue
CANN-robotCANN-robotCollaborators
27 days ago Added label: resolved