| Left shift support ascend950
Co-authored-by: root<root@RaphaelsDesktop.localdomain>
# message auto-generated for no-merge-commit merge:
!2131 merge master into master
Left shift support ascend950
Created-by: ZhaiPeiChao
Commit-by: root
Merged-by: cann-robot
Description: ## 描述
Left shift support ascend950
本次PR主要包含两项内容:一是更新了左移位算子(aclnnLeftShift 和 aclnnLeftShifts)的产品支持文档,将 Ascend 950PR/Ascend 950DT 从“不支持”状态更正为“支持”状态,以确保文档准确性。二是移除了算子实现中根据NPU架构版本动态返回支持数据类型的逻辑,解决了平台特定限制问题,旨在简化代码并提高算子的通用性。
## 关联的Issue
<!-- 如果这个PR是为了解决特定的Issue,请在这里提供Issue链接。-->
<!-- 如果这个PR是为了解决特定的问题单,请在这里描述问题单单号。-->
issue [#1198](https://gitcode.com/cann/ops-math/issues/1198)
## 测试
<!--描述进行了哪些测试来验证你的改动。包括但不限于二级冒烟、算子泛化等。-->
算子样例精度ok
./aclnn.out
result[0] is: 20
result[1] is: 80
result[2] is: 240
result[3] is: 640
./aclnns.out
result[0] is: 40
result[1] is: 80
result[2] is: 120
result[3] is: 160
## 文档更新
<!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。-->
aclnnLeftShift.md 和 aclnnLeftShifts.md
## 类型标签
<!-- [x] 表示选中 -->
- [ ] Bug修复
- [x] 新特性
- [ ] 性能优化
- [ ] 文档更新
- [ ] 其他,请描述:
See merge request: cann/ops-math!2131 | 1 个月前 |