已关闭
[Bug-Report|缺陷反馈]: 执行aclnnindexcopy算子,会修改原始值selfref #4627
xiaodong666创建于 8月6日关闭于 8月11日
8月6日 添加了label:bug-report
8月6日 将 xiaodong666 设为负责人
8月11日 关闭了 issue
8月11日 添加了label:resolved
8月12日 关联了pull request:indexputv2算子为原地替换算子,因此需要判断连续和aclnnindexcopy需要复制self
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不应该被修改
Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
self被修改了
Special notes for this issue/备注 (Optional / 选填)