Closed
[Documentation|文档反馈]: 写的是算子L2描述 #1211
AlexMudHorseAdd on Apr 10Closed at Apr 25
Apr 10 Change title to "[Documentation|文档反馈]: 写的是算子L2描述", originally titled "[Documentation|文档反馈]: ".
Apr 10 Change title to "[Documentation|文档反馈]: 写的是算子L2描述", originally titled "[Documentation|文档反馈]: ".
sunchun
Apr 21 Comments:
Apr 21 Comments:
/assign @chenxingyu18


Apr 21 Assign chenxingyu18 as responsible person
Apr 25 Close issue
Apr 25 Added label: resolved
Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
一、文档链接 (必填)
https://gitcode.com/cann/ops-math/blob/master/math/sin/README.md
二、问题文档片段 (必填)
该文档写的是L2接口
aclnnSin&aclnnInplaceSin
产品支持情况
功能说明
算子功能:对输入Tensor完成sin运算。
计算公式:
out= sin(self)
函数原型
aclnnStatus aclnnSinGetWorkspaceSize(const aclTensor *self, aclTensor *out, uint64_t *workspaceSize, aclOpExecutor **executor)aclnnStatus aclnnSin(void *workspace, uint64_t workspaceSize, aclOpExecutor *executor, aclrtStream stream)aclnnStatus aclnnInplaceSinGetWorkspaceSize(aclTensor* selfRef, uint64_t* workspaceSize, aclOpExecutor** executor)aclnnStatus aclnnInplaceSin(void *workspace, uint64_t workspaceSize, aclOpExecutor *executor, aclrtStream stream)aclnnSinGetWorkspaceSize
参数说明:
返回值:
aclnnStatus:返回状态码,具体参见aclnn返回码。
aclnnSin
参数说明:
返回值:
aclnnStatus:返回状态码,具体参见aclnn返回码。
aclnnInplaceSinGetWorkspaceSize
参数说明:
返回值:
aclnnStatus:返回状态码,具体参见aclnn返回码。
aclnnInplaceSin
参数说明:
返回值:
aclnnStatus:返回状态码,具体参见aclnn返回码。
约束说明
确定性计算:
💡 存在的问题(选填)
写的是L2接口,和周围算子的描述不一致