已合并
修改maxPoolV2 infershape告警 #2263
SimonZzz创建于 3月3日
修改maxPoolV2 infershape告警 #2263
已合并
SimonZzz创建于 3月3日
SimonZzz成员
3月3日

描述

修改maxPoolV2 infershape告警

关联的Issue

https://gitcode.com/cann/ops-nn/issues/1278

测试

文档更新

不涉及

类型标签

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 SimonZzz 的贡献)
SSimonZzz成员
3月3日 创建了 pull request,commit 568a9f24
CANN-robot
CANN-robot成员
3月3日 评论:

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


PR Approval Progress

Congratulations! All modules have met the lgtm and approve requirements.

Module Approval Details

module lgtm status approve status
pooling liubo75, chenqi317 (2/2) liubo75, chenqi317 (2/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)
likedislike
CANN-robotCANN-robot成员
3月3日 将crystalhu,fanqirui,zhou-qilong,chenqi317,liubo75,tangweiwei2,zhangyuxiang0119,wangyongguang,zhang-wu设为评审人
CANN-robotCANN-robot成员
3月3日 添加了label:cann-cla/yes
CANN-robotCANN-robot成员
3月3日 将crystalhu,zhou-qilong,chenqi317,liubo75,tangweiwei2,zhangyuxiang0119,wangyongguang,zhang-wu设为审查人
CANN-robot
CANN-robot成员
3月3日 评论:

CLA Signature Pass

SimonZzz, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
CANN-robot
CANN-robot成员
3月3日 评论:

🔵 source code change are detected, tasks labels is removed in this pull request!

likedislike
CANN-robot
CANN-robot成员
3月3日 评论:

问题/功能描述

修复了最大池化算子形状推断函数中一处日志格式字符串的格式说明符不匹配问题。原代码在特定条件下(如strides参数长度不为4时)使用%ld格式化uint64_t类型变量,可能导致未定义行为或错误的日志输出。

修改方案描述

将函数InferShapePaddingSame中错误日志语句的格式说明符从%ld更正为%lu,以匹配其实际参数static_cast<uint64_t>(strides->GetShapeSize())的无符号长整型类型,确保了日志输出的正确性和代码的健壮性。

likedislike
SSimonZzz成员
3月3日 修改了pull request 的描述
SimonZzz成员
3月3日 评论:

compile

likedislike
CANN-robotCANN-robot成员
3月3日 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
3月3日 评论:

流水线任务触发成功 [流水线指导]
任务链接 [2e010bef346b4a5f8c33a2eb17dc1dbe]

任务名称状态日志下载链接
codecheck ✅ SUCCESS >>>>>
anti_virus ✅ SUCCESS >>>>>
Check_Pr ✅ SUCCESS >>>>>
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_mobile_station ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_single ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_experimental ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_950 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_950 ✅ SUCCESS >>>>> >>>>>
API_Check ✅ SUCCESS >>>>>
Pre_Compile ✅ SUCCESS
pre_comment ✅ SUCCESS >>>>>
UT_Test_ophost ✅ SUCCESS
UT_Test_opapi ✅ SUCCESS
UT_Test_kernel ✅ SUCCESS
UT_Test_opgraph ✅ SUCCESS
Smoke_A900_npupool ✅ SUCCESS >>>>>

[2026-03-03 14:22:12]    CI执行结束

likedislike
CANN-robotCANN-robot成员
3月3日 添加了label:api-check-pass
CANN-robotCANN-robot成员
3月3日 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
3月3日 添加了label:ci-pipeline-passed
SSimonZzz成员
3月3日 修改了pull request 的描述
liubo75成员
3月3日 评论:

/approve

likedislike
CANN-robotCANN-robot成员
3月3日 添加了label:approved
chenqi317成员
3月3日 评论:

/lgtm
/approve

likedislike
CANN-robotCANN-robot成员
3月3日 添加了label:lgtm
CANN-robot
CANN-robot成员
3月3日 评论:

Review Guide

This pull-request passes review.
Committers who wrote a comment of /approve are: chenqi317, liubo75.
Reviewers who wrote a comment of /lgtm are: liubo75, chenqi317.

likedislike
CANN-robotCANN-robot成员
3月3日 关闭了关联的issue
CANN-robotCANN-robot成员
3月3日 合入了pull request