<< All versions

Skill v1.0.0

currentAutomated scan100/100
mcgatom/codex-cannbot/ops-precision-standard
──Details
PublishedSeptember 27, 2026 at 11:31 PM
Content Hashsha256:e261cdc414e966f4...
Git SHA
──Files
Files (1 file, 1.7 KB)
SKILL.md1.7 KBactive
SKILL.md · 29 lines · 1.7 KB

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


选择精度标准

随机数生成算子?
├─ 是 → 随机数生成类标准(reference/random_generation.md)
└─ 否 → 包含数值计算?
├─ 否 → 非计算类标准(reference/non_compute.md)
└─ 是 → 检查输入输出dtype
├─ 均为整型 → 整数计算类标准(reference/integer_compute.md)
├─ 整型↔浮点 → 用户明确说明使用商用标准?
│ ├─ 是 → 量化计算类标准 (reference/quantization.md)
│ └─ 否 → 量化计算类社区标准(reference/quantization_community.md)
└─ 均为浮点 → 用户明确说明使用商用标准?
├─ 是 → 浮点计算类标准(reference/float_compute.md)
└─ 否 → 浮点计算类社区标准(reference/float_compute_community.md)

辅助文档

  • [特殊场景处理](reference/special_cases.md) - 小值域、INF/NAN、精度复检等特殊场景
  • [标杆构造方法](reference/benchmark_construction.md) - CPU Golden或三方芯片标杆构造
  • [测试用例生成](reference/test_case_generation.md) - 测试用例设计与边界覆盖
All versions