已关闭
[Bug-Report|缺陷反馈]: aclnnSmoothLoss.md文件中调用示例内存申请和读取不一致。 #4516
zhengyuchuan2024创建于  8月3日关闭于  8月3日
zhengyuchuan2024
8月3日 创建

Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.

Describe the current behavior / 问题描述 (Mandatory / 必填)

aclnnSmoothLoss.md文件中调用示例内存申请和读取数据类型不一致,oom压测报错。

Environment / 环境信息 (Mandatory / 必填)

Ascend950

Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)

查看样例代码,内存申请和读取不一致。
image.png

Describe the expected behavior / 预期结果 (Mandatory / 必填)

数据类型一致

https://gitcode.com/cann/ops-nn/blob/master/loss/smooth_l1_loss_v2/docs/aclnnSmoothL1Loss.md

Special notes for this issue/备注 (Optional / 选填)

likedislike
zhengyuchuan2024
8月3日 评论:

/assign

likedislike
CANN-robotCANN-robot成员
8月3日 将 zhengyuchuan2024 设为负责人
Zzhengyuchuan2024
8月3日 关联了pull request:修改aclnnSmothloss.md调用示例
CANN-robotCANN-robot成员
8月3日 关闭了 issue
CANN-robotCANN-robot成员
8月3日 添加了label:resolved