已合并
fix: def-driven dtype + InferDataType separation for Celu/DataFormatDimMap/ApplyProximalGradientDescent #1
babeiee创建于 8月6日
fix: def-driven dtype + InferDataType separation for Celu/DataFormatDimMap/ApplyProximalGradientDescent #1
已合并
babeiee创建于 8月6日
babeiee成员
8月6日

Changes

Per operator (Celu, DataFormatDimMap, ApplyProximalGradientDescent):

1. def-driven dtype (item 7)

  • tiling_key.h: ASCENDC_TPL_DATATYPE_DECL → ASCENDC_TPL_UINT_DECL
  • kernel .cpp/apt.cpp: template → template , use DTYPE macro
  • tiling_arch35.cpp/tiling.cpp: ASCENDC_TPL_SEL_PARAM no longer passes dtype value

2. InferShape/InferDataType separation (item 8)

  • Delete op_host/*_infershape.cpp (InferShape reused from canndev runtime)
  • Create op_graph/*_graph_infer.cpp with IMPL_OP().InferDataType() registration
  • InferDataType logic: output dtype = input[0] dtype

3. Celu dynamic GEIR example added (item 5)

Reference: ops-cv PR 1126, acts_ulq_input_grad pattern

likedislike
Pull Request已成功合入, 合并人@babeiee
(感谢 babeiee 的贡献)
Bbabeiee成员
8月7日 关闭了 pull request
Bbabeiee成员
8月7日 重新打开了 pull request
Bbabeiee成员
8月7日 推送  1 个提交:5ff46baf-fix: Celu PrecisionReduceFlag(false) to prevent implicit bf16 Cast
Bbabeiee成员
8月7日 推送  1 个提交:9d01b6d7-fix: restore celu_infershape.cpp (canndev runtime未注册Celu InferShape)
Bbabeiee成员
8月10日 合入了pull request,合并节点 SHA:163673c137228a5e02f6e26dd7c4a43e795445ba