ops-precision-standard

算子精度标准。描述 Ascend C 算子各种 dtype 输出对应的精度比对标准(混合容差 atol/rtol)。当需要(1)评估算子精度是否达标,(2)编写 ST 测试验证精度,(3)处理 FP16/FP32/BF16 等不同数据类型精度问题,(4)确认算子精度验收标准时触发。

SKILL.md

GitHub

选择精度标准

随机数生成算子?
  ├─ 是 → 随机数生成类标准(references/random_generation.md)
  └─ 否 → 包含数值计算?
           ├─ 否 → 非计算类标准(references/non_compute.md)
           └─ 是 → 检查输入输出dtype
                    ├─ 均为整型 → 整数计算类标准(references/integer_compute.md)
                    ├─ 整型↔浮点 → 量化计算类标准(references/quantization.md)
                    └─ 均为浮点 → 浮点计算类标准(references/float_compute.md)

辅助文档