Skip to content
Back to skills

Ops Precision Standard

ASecurity

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

  • 21 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 7, 2026
documentationgo

Security analysis

A100/100

Pro scans all 13 files and shows the line behind each finding

Scanned November 7, 2026

npx -y skills add hicann/cannbot-skills --skill ops-precision-standard --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Ops Precision Standard?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Ops Precision Standard
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/hicann-ops-precision-standard/badge)](https://www.skillsdirectory.com/skills/hicann-ops-precision-standard)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

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

# 选择精度标准

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

## 辅助文档

- **[标杆构造方法](references/benchmark_construction.md)** - CPU Golden 或昇腾小算子拼接标杆构造
- **[测试用例生成](references/test_case_generation.md)** - 测试用例设计与边界覆盖

Files in this skill

  • SKILL.md1.1 KB
  • evals/evals.json4.7 KB
  • references/benchmark_construction.md2.1 KB
  • references/float_compute.md4.3 KB
  • references/integer_compute.md2.3 KB
  • references/non_compute.md1.5 KB
  • references/quantization.md1.7 KB
  • references/random_generation.md4 KB
  • references/test_case_generation.md2.8 KB
  • scripts/bitwise_match.py3.7 KB
  • scripts/integer_compute_check.py6 KB
  • scripts/mixed_tolerance_check.py6 KB
  • scripts/random_distribution_check.py8.8 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in documentation →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.