已关闭
[Bug-Report|缺陷反馈]: ops-nn/index/scatter_elements的README里写的不是ScatterElements算子的功能 #1954
Ding_Jing创建于 4月7日关闭于 5月22日
jiangjiawei
4月8日 评论:
4月8日 评论:
/assign @sunchun


CANN-robot
4月8日 评论:
4月8日 评论:
5月22日 关闭了 issue
5月22日 添加了label:resolved
/assign @sunchun


Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
Describe the current behavior / 问题描述 (Mandatory / 必填)
ops-nn/index/scatter_elements的README里写的不是ScatterElements算子的功能,放的是unique。
https://gitcode.com/cann/ops-nn/blob/master/index/scatter_elements/README.md
Environment / 环境信息 (Mandatory / 必填)
全形态
Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)
https://gitcode.com/cann/ops-nn/blob/master/index/scatter_elements/README.md
Describe the expected behavior / 预期结果 (Mandatory / 必填)
预期scatter_elements下放的应该是ScatterElements算子相关的内容
Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
ScatterElements
功能说明
算子功能:返回输入张量中的唯一元素。
参数说明
self(aclTensor*,计算输入):Device侧的aclTensor,数据格式支持ND,维度不大于8。
sorted(bool,计算输入): 表示是否对 valueOut 按升序进行排序。true时排序,false时乱序。
returnInverse(bool,计算输入): 表示是否返回输入数据中各个元素在 valueOut 中的下标。
valueOut(aclTensor*,计算输出): Device侧的aclTensor,第一个输出张量,输入张量中的唯一元素,数据格式支持ND。
inverseOut(aclTensor*,计算输出): 第二个输出张量,当returnInverse为True时有意义,返回self中各元素在valueOut中出现的位置下标,数据类型支持INT64,shape与self保持一致。
约束说明
无
调用说明
Special notes for this issue/备注 (Optional / 选填)