| test: 补充 batch_to_space/cosh/diag_flat TTK kernel ST 用例并修复运行期 crops 误报 Co-authored-by: yefeicoding<yefei25@huawei.com> # message auto-generated for no-merge-commit merge: !7141 merge longtail into master test: 补充 batch_to_space/cosh/diag_flat TTK kernel ST 用例并修复运行期 crops 误报 Created-by: yefeicoding Commit-by: yefeicoding Merged-by: cann-robot Description: ## 描述 补充 batch_to_space / diag_flat / cosh 的 TTK kernel ST 用例(arch35),并修复 batch_to_space 运行期 crops 场景的 tiling 误报: - batch_to_space_tiling_arch35.cpp:新增 cropsHasData 门控(cropsTensor 非空且 GetData<int64_t>() 非空才调用 GetConstIntToShape),运行期 crops 按既有 fallback 取 0,避免 ERROR 日志被 GE 编译误判为失败。 - 新增 ST(各 5 条):batch_to_space / diag_flat / cosh 的 arch35 TTK kernel CSV。 - math/cosh/tests/assets/golden.py:各 TestSpec cross_check 等级 L2(TF 为 L1)→ L0。 ## 关联的Issue #4524 ## 测试 - 新增 TTK kernel ST 用例覆盖 batch_to_space 运行期 crops(int32/int64、动态 shape)、diag_flat(float64、diagonal 边界)、cosh(bfloat16 等 dtype)。 - cosh 精度等级调整后按 cross_check L0 复算通过(mare/mere/rmse 均在限值内)。 ## 文档更新 无 ## 类型标签 - [x] Bug修复 - [ ] 新特性 - [ ] 性能优化 - [ ] 文档更新 - [x] 其他,请描述:补充 TTK kernel ST 用例 See merge request: cann/ops-math!7141 | 13 days ago |