| 修复attention update ut 编译报错
Co-authored-by: IceBearPolar<xuxuepeng4@huawei.com>
# message auto-generated for no-merge-commit merge:
!5478 merge master into master
修复attention update ut 编译报错
Created-by: IceBearPolar
Commit-by: IceBearPolar
Merged-by: cann-robot
Description: ## 描述
修复attention update ut 编译报错
## 关联的Issue
https://gitcode.com/cann/ops-transformer/issues/2445
## 测试
bash build.sh -u --ops=attention_update 测试通过



## 文档更新
<!--如果这个PR包含文档的更新,请在这里指出。例如:更新了README.md文件。-->
## 类型标签
<!-- [x] 表示选中 -->
- [ ] 🐛 Bug 修复
- [ ] ✨ 新特性
- [ ] ⚡ 性能优化
- [ ] ♻️ 重构
- [x] 🧪 测试
- [ ] 📦 构建/CI
- [ ] 🔧 配置变更
- [ ] 📝 文档更新
- [ ] ⬆️ 依赖升级
- [ ] 🔒 安全修复
- [ ] 🧹 代码清理
- [ ] ❓ 其他,请描述:
See merge request: cann/ops-transformer!5478 | 11 天前 |