已合并
tan算子支持Ascend910b AscendC实现 #2132
wangweidong创建于 4月8日
tan算子支持Ascend910b AscendC实现 #2132
已合并
wangweidong创建于 4月8日
wangweidong
4月8日

描述

tan算子支持Ascend910b AscendC实现

关联的Issue

https://gitcode.com/cann/ops-math/issues/1196

测试

文档更新

类型标签

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 wangweidong 的贡献)
Wwangweidong
4月8日 创建了 pull request,commit 8c76bd3d
CANN-robot
CANN-robot成员
4月8日 评论:

Thanks for your pull-request.
The full list of commands accepted by me can be found at here
You can get sig-info at here


PR Approval Progress

Congratulations! All modules have met the lgtm and approve requirements.

Module Approval Details

module lgtm status approve status
experimental su-yueming, jia0liang (2/2) jia0liang, su-yueming (2/1)

💡 Tip:

  • Committer can comment /approve or /lgtm
  • Commenting /approve implies both code review (lgtm) and intent to merge (approve)

CLA Signature Pass

gcw_YBIAEfqJ, thanks for your pull request. All authors of the commits have signed the CLA. 👍

likedislike
CANN-robotCANN-robot成员
4月8日 将FelixTang7,yu-xinjie62,zhou-qilong,wangrui_,wei-peng-1991,renruhai,su-yueming,zhajianqing123,rxtfeng,luowen203_gg123,loov1,zhangzijie,jia0liang,chenqi317,liu-wei,LiuXinxin23,fullt,LiWei79,songkai111,shikai-1,zhangyuxiang0119,demoauguste,llimwang,gubaocheng设为评审人
CANN-robotCANN-robot成员
4月8日 添加了label:cann-cla/yes
CANN-robotCANN-robot成员
4月8日 将FelixTang7,yu-xinjie62,zhou-qilong,wangrui_,wei-peng-1991,renruhai,su-yueming,zhajianqing123,rxtfeng,luowen203_gg123,loov1,zhangzijie,jia0liang,chenqi317,liu-wei,LiuXinxin23,fullt,LiWei79,songkai111,shikai-1,zhangyuxiang0119,demoauguste,llimwang,gubaocheng设为审查人
Wwangweidong
4月8日 修改了pull request 的描述
Wwangweidong
4月8日 修改了pull request 的描述
wangweidong
4月9日 评论:

compile

likedislike
CANN-robotCANN-robot成员
4月9日 添加了label:ci-pipeline-running
CANN-robot
CANN-robot成员
4月9日 评论:

流水线任务触发成功
任务链接 [0613ea47a1d24442add017ad86e606ca][流水线指导]

任务名称状态日志下载链接
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_mobile_station ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_experimental ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_experimental ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_single ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_A5 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_A5 ✅ SUCCESS >>>>> >>>>>
pre_comment ✅ SUCCESS >>>>>
Compile_Ascend_X86_ubuntu24 ✅ SUCCESS >>>>>
Compile_Ascend_X86_mobile_station_ubuntu24 ✅ SUCCESS >>>>>
Compile_Ascend_X86_experimental_ubuntu24 ✅ SUCCESS >>>>>
Compile_Ascend_X86_A5_ubuntu24 ✅ SUCCESS >>>>>
harmony-infer ✅ SUCCESS
Compile_Ascend_ARM_ubuntu24 ✅ SUCCESS >>>>>
Compile_Ascend_ARM_experimental_ubuntu24 ✅ SUCCESS >>>>>
Compile_Ascend_single_ubuntu24 ✅ SUCCESS >>>>>
Compile_Ascend_ARM_A5_ubuntu24 ✅ SUCCESS >>>>>
Compile_ARM_monitor ✅ SUCCESS >>>>> >>>>>
UT_Test ✅ SUCCESS
UT_Test_experimental ✅ SUCCESS
UT_Test_kernel ✅ SUCCESS
Smoke_A900_npupool ✅ SUCCESS >>>>>
API_Check ⚠️ WARNING >>>>>
ATK_Test_A2 ✅ SUCCESS

[2026-04-09 16:04:02]    CI执行结束

likedislike
CANN-robot
CANN-robot成员
4月9日 评论:

流水线任务触发成功
任务链接 [3f318c64cb6f4149a6740571026faa6d][流水线指导]

任务名称状态日志下载链接
codecheck ❌ FAILED >>>>>
SCA ✅ SUCCESS >>>>>
anti_virus ✅ SUCCESS >>>>>
Check_Pr ✅ SUCCESS >>>>>
StaticCheck_codespell_check ✅ SUCCESS
StaticCheck_link_validity_check ✅ SUCCESS
StaticCheck_resource_existence_check ✅ SUCCESS
StaticCheck_tag_closed_check ✅ SUCCESS
StaticCheck_markdownlint ✅ SUCCESS
cocheck_codestyle ✅ SUCCESS
likedislike
CANN-robotCANN-robot成员
4月9日 添加了label:api-check-failed
此处折叠了7条事件消息 查看更多
CANN-robotCANN-robot成员
4月9日 移除了审查人shikai-1
wangweidong
4月9日 评论:

compile

likedislike
CANN-robotCANN-robot成员
4月9日 删除了label:ci-pipeline-failed
CANN-robotCANN-robot成员
4月9日 添加了label:ci-pipeline-running
CANN-robotCANN-robot成员
4月9日 删除了label:api-check-failed
CANN-robot
CANN-robot成员
4月9日 评论:

流水线任务触发成功
任务链接 [f4418de4a3b7402cbaeb26120a57b36b][流水线指导]

任务名称状态日志下载链接
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_mobile_station ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_experimental ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_experimental ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_single ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_A5 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_A5 ✅ SUCCESS >>>>> >>>>>
pre_comment ✅ SUCCESS >>>>>
Compile_Ascend_X86_ubuntu24 ✅ SUCCESS >>>>>
Compile_Ascend_X86_mobile_station_ubuntu24 ✅ SUCCESS >>>>>
Compile_Ascend_X86_experimental_ubuntu24 ✅ SUCCESS >>>>>
Compile_Ascend_X86_A5_ubuntu24 ✅ SUCCESS >>>>>
harmony-infer ✅ SUCCESS
Compile_Ascend_ARM_ubuntu24 ✅ SUCCESS >>>>>
Compile_Ascend_ARM_experimental_ubuntu24 ✅ SUCCESS >>>>>
Compile_Ascend_single_ubuntu24 ✅ SUCCESS >>>>>
Compile_Ascend_ARM_A5_ubuntu24 ✅ SUCCESS >>>>>
Compile_ARM_monitor ✅ SUCCESS >>>>> >>>>>
UT_Test ✅ SUCCESS
UT_Test_experimental ✅ SUCCESS
UT_Test_kernel ✅ SUCCESS
Smoke_A900_npupool ✅ SUCCESS >>>>>
API_Check ⚠️ WARNING >>>>>
ATK_Test_A2 ✅ SUCCESS

[2026-04-09 19:45:29]    CI执行结束

likedislike
CANN-robot
CANN-robot成员
4月9日 评论:

流水线任务触发成功
任务链接 [31d00866d7fe444fa58fc7681f62ad49][流水线指导]

任务名称状态日志下载链接
codecheck ❌ FAILED >>>>>
SCA ✅ SUCCESS >>>>>
anti_virus ✅ SUCCESS >>>>>
Check_Pr ✅ SUCCESS >>>>>
StaticCheck_codespell_check ✅ SUCCESS
StaticCheck_link_validity_check ✅ SUCCESS
StaticCheck_resource_existence_check ✅ SUCCESS
StaticCheck_tag_closed_check ✅ SUCCESS
StaticCheck_markdownlint ✅ SUCCESS
cocheck_codestyle ✅ SUCCESS
likedislike
CANN-robotCANN-robot成员
4月9日 添加了label:api-check-failed
CANN-robotCANN-robot成员
4月9日 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
4月9日 添加了label:ci-pipeline-failed
Wwangweidong
4月9日 修改标题为 “tan算子支持Ascend910b AscendC实现”,原标题为“tan算子支持Ascend950 AscendC实现”
Wwangweidong
4月9日 修改了pull request 的描述
wangweidong
4月9日 评论:

compile

likedislike
CANN-robotCANN-robot成员
4月9日 删除了label:ci-pipeline-failed
CANN-robotCANN-robot成员
4月9日 添加了label:ci-pipeline-running
CANN-robotCANN-robot成员
4月9日 删除了label:api-check-failed
CANN-robot
CANN-robot成员
4月9日 评论:

流水线任务触发成功
任务链接 [114da0a6a90d41e4b0c0fbebad9ab778][流水线指导]

任务名称状态日志下载链接
Compile_Ascend_X86 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_mobile_station ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_experimental ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_experimental ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_single ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_X86_A5 ✅ SUCCESS >>>>> >>>>>
Compile_Ascend_ARM_A5 ✅ SUCCESS >>>>> >>>>>
pre_comment ✅ SUCCESS >>>>>
Compile_Ascend_X86_ubuntu24 ✅ SUCCESS >>>>>
Compile_Ascend_X86_mobile_station_ubuntu24 ✅ SUCCESS >>>>>
Compile_Ascend_X86_experimental_ubuntu24 ✅ SUCCESS >>>>>
Compile_Ascend_X86_A5_ubuntu24 ✅ SUCCESS >>>>>
harmony-infer ✅ SUCCESS
Compile_Ascend_ARM_ubuntu24 ✅ SUCCESS >>>>>
Compile_Ascend_ARM_experimental_ubuntu24 ✅ SUCCESS >>>>>
Compile_Ascend_single_ubuntu24 ✅ SUCCESS >>>>>
Compile_Ascend_ARM_A5_ubuntu24 ✅ SUCCESS >>>>>
Compile_ARM_monitor ✅ SUCCESS >>>>> >>>>>
UT_Test ✅ SUCCESS
UT_Test_experimental ✅ SUCCESS
UT_Test_kernel ✅ SUCCESS
Smoke_A900_npupool ✅ SUCCESS >>>>>
API_Check ⚠️ WARNING >>>>>
ATK_Test_A2 ✅ SUCCESS

[2026-04-09 21:01:41]    CI执行结束

likedislike
CANN-robot
CANN-robot成员
4月9日 评论:

流水线任务触发成功
任务链接 [90886e193af448df840b0ad5288df79f][流水线指导]

任务名称状态日志下载链接
codecheck ✅ SUCCESS >>>>>
SCA ✅ SUCCESS >>>>>
anti_virus ✅ SUCCESS >>>>>
Check_Pr ✅ SUCCESS >>>>>
StaticCheck_codespell_check ✅ SUCCESS
StaticCheck_link_validity_check ✅ SUCCESS
StaticCheck_resource_existence_check ✅ SUCCESS
StaticCheck_tag_closed_check ✅ SUCCESS
StaticCheck_markdownlint ✅ SUCCESS
cocheck_codestyle ✅ SUCCESS

[2026-04-09 20:52:47]    CI执行结束

likedislike
CANN-robotCANN-robot成员
4月9日 添加了label:api-check-failed
CANN-robotCANN-robot成员
4月9日 删除了label:ci-pipeline-running
CANN-robotCANN-robot成员
4月9日 添加了label:ci-pipeline-passed
陈佳良成员
4月9日 评论:

/lgtm
/approve

likedislike
CANN-robotCANN-robot成员
4月9日 添加了label:approved
su-yueming成员4月9日进行代码检视1
experimental/math/tan/op_graph/tan_proto.h
@@ -0,0 +27,4 @@
27+namespace ge {
28+ 
29+REG_OP(Tan)
30+ .INPUT(x, TensorType({DT_FLOAT, DT_FLOAT16}))
su-yueming4月9日评论:

数据类型还是不太对

likedislike
Ssu-yueming成员
4月9日 解决了最后一个问题
su-yueming成员
4月9日 评论:

/lgtm
/approve

likedislike
CANN-robotCANN-robot成员
4月9日 添加了label:lgtm
CANN-robot
CANN-robot成员
4月9日 评论:

Review Guide

This pull-request passes review.
Committers who wrote a comment of /approve are: jia0liang, su-yueming.
Reviewers who wrote a comment of /lgtm are: su-yueming, jia0liang.

likedislike
CANN-robotCANN-robot成员
4月9日 关闭了关联的issue
CANN-robotCANN-robot成员
4月9日 合入了pull request