Closed
[Documentation|文档反馈]: Pow 接口公式、参数及非连续输出标注不一致 #3565
zhang-song-ruiAdd on 27 days agoClosed at 27 days ago
27 days ago Added label: documentation
27 days ago Close issue
27 days ago Added label: resolved
11 days ago Assign zhang-song-rui as responsible person
一、文档链接
二、问题文档片段
out的“非连续Tensor”列为-;实现通过l0op::ViewCopy写回非连续输出,应标为√。同文档公式将标量指数写为exponent_i,应为exponent。out_i = x_i^{exponent_i},但底数self为标量;功能描述中的input也不是接口参数名,应统一为out_i = self^{exponent_i}。参数表的out(aclTensor*)与函数原型const aclTensor* out不一致。other,实际参数名为exponent。x2、y与x1同 dtype,但注册代码分别声明 T1/T2,输出采用Promote({"T1", "T2"}),应修正注释中的同 dtype 限制。三、预期修正
修正现有公式、参数类型、非连续输出标记和契约注释,使资料与当前函数原型及实现一致。本次仅处理上述纠错,不增加空 Tensor、动态 shape/rank 等能力说明,不修改 README 或 Exp2 文档。
修复 PR:https://gitcode.com/cann/ops-math/pull/6338