已合并
fix: update product naming in stub doc #121
LiuZonggu创建于 9月23日
fix: update product naming in stub doc #121
已合并
LiuZonggu创建于 9月23日
LiuZonggu成员
9月23日

描述

This PR updates the outdated product names in the operator constraint/attribute comments of common/stub/inc/framework/stub_ops.h, aligning them with the current official product naming conventions:

  • "Atlas Inference Series Product" → "Atlas inference products" (3 occurrences in Cast constraints, FLOAT32 to INT8 / FLOAT32 to INT64 and UINT8 / INT64 to FLOAT32 conversions)
  • "Ascend 910_95 AI Processor" → "Ascend 950PR/Ascend 950DT" (1 occurrence in Cast constraints, INT32 to INT4 conversion)
  • "Ascend910_95 AI Processors" → "Ascend 950PR/Ascend 950DT" (1 occurrence in the noop_with_empty_axes attribute description of ReduceMax)

Only comment text is modified; no functional code or logic changes.

关联的Issue

https://gitcode.com/cann/ops-ras/issues/47

测试

Verified via git diff that only the five intended comment lines are changed; no functional code or logic changes.

文档更新

Updated the Doxygen-style constraint/attribute comments of the Cast and ReduceMax operators in common/stub/inc/framework/stub_ops.h.

类型标签

likedislike
Pull Request已成功合入, 合并人@CANN-robot
(感谢 LiuZonggu 的贡献)
LLiuZonggu成员
9月23日 创建了 pull request,commit 7d68da79
LLiuZonggu成员
9月23日 关联了issue:[Documentation|文档反馈]: Outdated product naming in Cast operator constraints in stub_ops.h
atomgit-bot
atomgit-bot
9月23日 评论:

变更摘要

本 PR 针对 common/stub/inc/framework/stub_ops.h 中 Cast 算子约束注释进行产品命名对齐,将过时的产品名称更新为当前官方命名,仅涉及注释文本,不改变任何功能代码或逻辑。同时清理了 Unsqueeze 算子注册后一处行尾空白。

主要改动

  • Cast 算子 FLOAT32 转换约束命名更新:将 FLOAT32 转 INT8、FLOAT32 转 INT64 与 UINT8、INT64 转 FLOAT32 三处约束中的 "Atlas Inference Series Product" 统一改为 "Atlas inference products"。
  • Cast 算子 INT32 转 INT4 约束命名更新:将 INT32 转 INT4 约束中的 "Ascend 910_95 AI Processor" 改为 "Ascend 950PR/Ascend 950DT"。
  • 清理行尾空白:移除 REG_OP(Unsqueeze) 注册块后一行注释前的多余尾随空格,无业务影响。
likedislike
不准确?
atomgit-bot
atomgit-bot
9月23日 评论:

代码审查

✅ 未发现问题

likedislike
不准确?
CANN-robotCANN-robot成员
9月23日 添加了label:cann-cla/yes
此处折叠了69条消息 查看更多
loov成员
29 天前 评论:

/lgtm

likedislike
yue-ma成员
29 天前 评论:

/lgtm
/approve

likedislike
CANN-robotCANN-robot成员
29 天前 添加了label:lgtmapproved
CANN-robotCANN-robot成员
29 天前 关闭了关联的issue
CANN-robotCANN-robot成员
29 天前 合入了pull request