| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
fix(atan_grad): 迁移 def 驱动 dtype 模式, 新增 InferDataType, 规范化 InferShape Co-authored-by: zhangweiwei11<3104154550@qq.com> # message auto-generated for no-merge-commit merge: !4777 merge feat/atan_grad-def-dtype-infer-shape-dtype into master fix(atan_grad): 迁移 def 驱动 dtype 模式, 新增 InferDataType, 规范化 InferShape Created-by: zhangweiwei11 Commit-by: zhangweiwei11 Merged-by: cann-robot Description: ## 整改内容 针对 issue #2625 ,对 AtanGrad 算子进行 def 驱动 dtype 整改。 ### 变更说明 1. **新增 InferDataType 实现** (op_graph/atan_grad_graph_infer.cpp) - 输出 z 的 dtype = 输入 y 的 dtype(复用 canndev 仓 runtime2.0 通用模式) 2. **迁移 dtype 驱动方式为 def 文件驱动** - TilingKey 移除 D_T_X dtype 维度,仅保留 BUFFER_MODE - Kernel 模板参数移除 D_T_X,改用 def 注入的 DTYPE_Y 宏 - 模板组合从 6 个(3 dtype x 2 buffer)简化为 2 个(每种 dtype 各 2 份,由 def 驱动展开) - Tiling 函数 ASCENDC_TPL_SEL_PARAM 移除 dTypeX 参数 3. **规范化 InferShape** (tan_grad_infershape.cpp) - 精简注释,分离 nullptr 检查逻辑,提升可读性 ### 影响范围 仅涉及 math/atan_grad/ 目录下文件,不影响其他算子。 关联 issue: #2625 See merge request: cann/ops-math!4777 | 1 个月前 | |
fix(atan_grad): 迁移 def 驱动 dtype 模式, 新增 InferDataType, 规范化 InferShape Co-authored-by: zhangweiwei11<3104154550@qq.com> # message auto-generated for no-merge-commit merge: !4777 merge feat/atan_grad-def-dtype-infer-shape-dtype into master fix(atan_grad): 迁移 def 驱动 dtype 模式, 新增 InferDataType, 规范化 InferShape Created-by: zhangweiwei11 Commit-by: zhangweiwei11 Merged-by: cann-robot Description: ## 整改内容 针对 issue #2625 ,对 AtanGrad 算子进行 def 驱动 dtype 整改。 ### 变更说明 1. **新增 InferDataType 实现** (op_graph/atan_grad_graph_infer.cpp) - 输出 z 的 dtype = 输入 y 的 dtype(复用 canndev 仓 runtime2.0 通用模式) 2. **迁移 dtype 驱动方式为 def 文件驱动** - TilingKey 移除 D_T_X dtype 维度,仅保留 BUFFER_MODE - Kernel 模板参数移除 D_T_X,改用 def 注入的 DTYPE_Y 宏 - 模板组合从 6 个(3 dtype x 2 buffer)简化为 2 个(每种 dtype 各 2 份,由 def 驱动展开) - Tiling 函数 ASCENDC_TPL_SEL_PARAM 移除 dTypeX 参数 3. **规范化 InferShape** (tan_grad_infershape.cpp) - 精简注释,分离 nullptr 检查逻辑,提升可读性 ### 影响范围 仅涉及 math/atan_grad/ 目录下文件,不影响其他算子。 关联 issue: #2625 See merge request: cann/ops-math!4777 | 1 个月前 |
| 文件 | 最后提交记录 | 最后更新时间 |
|---|---|---|
| 1 个月前 | ||
| 1 个月前 |