已关闭
[Bug-Report|缺陷反馈]: 执行aclnnindexcopy算子,会修改原始值selfref #4627
xiaodong666创建于  8月6日关闭于  8月11日
xiaodong666成员
8月6日 创建

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

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

执行aclnnindexcopy算子,会修改原始值selfref

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

Ascendc950

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

使用dim为0的连续的tensor用例

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

self不应该被修改

self被修改了

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

likedislike
Xxiaodong666成员
8月6日 添加了label:bug-report
yuning_chenyuning_chen成员
8月6日 将 xiaodong666 设为负责人
CANN-robotCANN-robot成员
8月11日 关闭了 issue
CANN-robotCANN-robot成员
8月11日 添加了label:resolved
Xxiaodong666成员
8月12日 关联了pull request:indexputv2算子为原地替换算子,因此需要判断连续和aclnnindexcopy需要复制self