GB/T 46069.1-2025Artificial intelligence — Operator interface — Part 1: Basic mathematical classes (English PDF)
人工智能 算子接口 第1部分:基础数学类
Open the GB/T 46069.1-2025 preview as PDF
This is a limited preview
Buy now to download the full PDF (154 pages)
Issued by
SAMR; SAC
Level / Type
National · Recommended
Issue date
August 29, 2025
Implementation date
March 1, 2026
Scope
GB/T 46069.1-2025 is the English-translated version of 人工智能 算子接口 第1部分:基础数学类.
GB/T 46069.1-2025 is the Chinese national standard covering the interface through which AI software calls the mathematical kernels of a processor — the dense and sparse tensor structure with its element type, shape, layout and device fields, the general rules on index origin, broadcasting, error status and scalar types, the list of basic mathematical operators with the operations and parameters of each, and the minimal set an implementation has to provide. Every AI framework having to be ported to every AI processor is the cost this series exists to cut. Part 1 of the series, which sets the general rules and data structures the later parts build on, with the neural network part GB/T 46069.2-2025. First edition, in force from 1 March 2026. Issued on 29 August 2025, it has been in force since 1 March 2026.
Document preview — GB/T 46069.1-2025
National Standard of the People's Republic of China
- ICS
- 35.020
- Classification
- L 70
Issued by: State Administration for Market Regulation; Standardization Administration of the PRC
Contents
- PrefaceIII
- IntroductionIV
- 1 Scope1
- 2 Normative References1
- 3 Terms and Definitions1
- 4 Abbreviations2
- 5 General Rules2
- 5.1 Starting index2
- 5.2 Parameter Information2
- 5.3 Programming Languages3
- 5.4 Automatic Broadcast3
- 5.5 Status Handling3
- 5.6 Interface Consistency3
- 5.7 Generic Scalar Types3
- 6 Data Structures3
- 6.1 Summary3
- 6.2 Element Types4
- 6.3 Shape Information4
- 6.4 Layout Information4
- 6.5 Equipment Information4
- 6.6 Other Extensions4
- 7 Basic Mathematical Operator Interfaces4
- 7.1 Interface List4
- 7.2 Interface Operations and Parameters6
- 7.3 Operator Interface Minimal Set98
- Appendix A (Informative) C Language Reference Definition Example 101 for Basic Mathematical Operator Interfaces A.1 Data Structures101
- A.2 Basic Mathematical Operation Operator Interface103
- References183
Foreword
This document complies with the provisions of GB/T 1.1-2020 "Standardization Work Guidelines Part 1: Structure and Drafting Rules of Standardization Documents". Drafting.
This document is Part 1 of GB/T 46069 "Artificial Intelligence Operator Interfaces". GB/T 46069 has already published the following parts.
— Part 1: Basic Mathematics;
— Part 2: Neural Networks Please note that some content in this document may involve patents. The issuing organization of this document assumes no responsibility for identifying patents.
This document was proposed and is under the jurisdiction of the National Information Technology Standardization Technical Committee (SAC/TC28).
This document was drafted by: Peking University, Peking University Changsha Institute of Computing and Digital Economy, and China Electronics Technology Standardization Institute.
Changsha 1011 Technology Co., Ltd., Pengcheng Laboratory, Institute of Software, Chinese Academy of Sciences, Beijing Baidu Netcom Technology Co., Ltd., Huawei Technologies Co., Ltd.
Cambricon Technologies Corporation Limited, SenseTime Technology Co., Ltd., Shanghai SenseTime Intelligent Technology Co., Ltd., Zhongguancun Audiovisual Industry Technology Innovation Alliance Alliance, Inspur Electronic Information Industry Co., Ltd., Shanghai Artificial Intelligence Innovation Center, Beijing University of Aeronautics and Astronautics, Harbin Institute of Technology, Shanghai Suiyuan Technology Co., Ltd., Shanghai Biren Technology Co., Ltd., Henan Kunlun Technology Co., Ltd., and Super Fusion Digital Technology Co., Ltd.
Limited Liability Company, Beijing Jiaotong University.
The main drafters of this document are: Yang Chao, Gou Haipeng, Hu Xiaoguang, Fan Chun, Chen Jun, Bao Wei, Yang Yuze, Ao Yulong, Li Kesen, Ma Yanjun, and Yu Dianhai.
Zhang Chengxing, Fan Ruibo, Jia Mengzhu, Duan Lian, Li Min, Ma Yinping, Fu Zhenxin, Yu Tian, Li Ziyi, Long Tingting, Zhang Yunfei, Guan He, Hu Shuai, Zhao Haiying Zhang Weimin, Li Jianxin, Liu Xianglong, Yang Muyun, Ma Shanshan, Zhang Jun, Li Hui, Liu Aishan, Zheng Ruolin, Luan Xiaoxu, Tang Yinan, Wang Li, Wu Geng, Jiang Hui Mei Jingqing, Ding Ruiquan, Qian Chen, Wang Sishan, Xing Feng, Pei Zhilin, Li Xiaoru, Sun Peiyuan, Zhou Hongli, Lu Shun, Wang Hao, Liu Jinnan, Xiao Yisong, Shen Zhiyue Song Wenlin, Liu Wenfeng, Gao Ge, Nie Jiandi, Chen Deliang, Wang Xinmin, Liu Wei, Yang Zheng, Feng Haijun, Cui Xiaoran, Wang Qunbo.
Introduction
In recent years, China's artificial intelligence industry has shown a prosperous development trend, with related software and hardware developing in a diversified manner, including cloud servers and edge computing.
With the proliferation of different types of processors for devices and terminals, various computing libraries, intermediate representation tools, and programming frameworks have also emerged.
A flourishing landscape. The vast abundance of AI software and hardware has greatly facilitated the efficient deployment of applications, but it has also brought about a diverse range of challenges.
The challenges of increasing complexity and fragmentation. On the one hand, AI software practitioners need to consider the interaction between their software and various mainstream AI processors.
Adaptation involves investing significant effort in improving software portability; on the other hand, the development of each AI hardware device requires fundamentally adapting to commonly used manual processes.
Intelligent software provides support; otherwise, it's difficult to integrate into the existing software ecosystem. This MxN level software-hardware mapping relationship has gradually developed...
This has become a major obstacle hindering the development of artificial intelligence applications.
Artificial intelligence operators are the fundamental computations for building artificial intelligence applications. They encapsulate related hardware operations, and artificial intelligence software calls these operators.
Sub-interfaces are used to utilize hardware resources to complete computations; operator interfaces serve as a bridge between artificial intelligence software and hardware. GB/T 46069, "Artificial Intelligence," is a standard standard for this field.
The "Artificial Intelligence Operator Interface" standardizes and normalizes the core data structures, functions, and interface parameters of artificial intelligence operators, aiming to reduce the cost of artificial intelligence...
This involves fundamental work that addresses the challenges of software and hardware compatibility and promotes ecological development.
GB/T 46069 "Artificial Intelligence Operator Interface" is proposed to consist of five parts.
— Part 1: Fundamental Mathematics. The aim is to establish the general principles and core data structures applicable to artificial intelligence operator interfaces, and...
Standardize the basic functions and parameter requirements of the interface for fundamental mathematical operators.
— Part 2: Neural Networks. The purpose is to standardize the basic functions and parameter requirements of neural network operators.
— Part 3: Machine Learning Classes. The purpose is to standardize the basic functionalities and parameter requirements of machine learning operators.
— Part 4: Large Model Operators. The purpose is to standardize the basic functions and parameter requirements of large model operators.
— Part 5: Automated Testing Framework. The purpose is to provide automated testing methods and reference implementations for operator interfaces, verifying the operators.
Development standards compliance.
Artificial intelligence operator interface Part 1: Basic Mathematics
1 Scope
This document specifies the basic functions and parameter requirements of the interface for fundamental mathematical operators in the field of artificial intelligence.
This document applies to the design, development, and application of mathematical operator libraries for artificial intelligence, as well as the development of related software, hardware, and systems.
2 Normative references
This document has no normative references.
3 Terms and Definitions
The following terms and definitions apply to this document.
3.1 operator
A functional unit that performs a specific computational task.
Note. These tasks can be encapsulated at different levels, including but not limited to the abstraction and optimization of low-level hardware operations.
3.2 operator interface
A standardized set of rules for describing and implementing interfaces for various mathematical operations, logical operations, or other complex computing units.
Note. The operator interface defines a standardized set of application programming interfaces (APIs) that enable developers to call these operations in a consistent manner.
There's no need to concern yourself with the specific implementation details at the underlying level.
3.3 Encapsulation
The process of binding data and data-related operations together to form an independent unit.
3.4 tensor
A multidimensional array consisting of elements of the same type.
3.5 dense tensor
A tensor in which all or most of its elements are non-zero.
Note. Dense tensors generally use an uncompressed storage method, i.e. dense storage, which stores all elements of the tensor in a certain order.
3.6 sparse tensor
A tensor in which all or most of its elements are zero.
Note. Sparse tensors are generally stored using a compressed storage method, i.e., sparse storage, which stores only the non-zero elements of the tensor.
......
This preview omits tables, figures, formulas and parts of the technical clauses. The complete document — 154 pages — is available in the English PDF.
Referenced standards
How to Buy GB/T 46069.1-2025
- 1Add to cart. Click the "Buy GB/T 46069.1-2025" button on this page. You can add more standards before checkout.
- 2Checkout. Enter your email and billing details. Payment is processed securely by Stripe (cards, Apple Pay, Google Pay supported).
- 3Instant delivery (0–9 sec). Delivery is automatic: within seconds of payment you'll receive an email with a secure download link. The link stays valid for 72 hours.
- 4Invoice included. A tax invoice is attached to the confirmation email. Need a custom invoice? Contact us.
Related Standards
GB/T 46069.2-2025 — Artificial intelligence — Operator interface — Part 2: Neural network classes
GB/T 47310-2026 — Determination of total silicon, aluminium, iron, potassium, sodium, calcium, magnesium, manganese, phosphorus, titanium and sulfur in soil - Monochromatic excitation energy dispersive X-ray fluorescence spectrometry
GB/T 47321-2026 — Specification for the warning data exchange of the national emergency early warning dissemination system
Secure payment via Stripe
Payments accepted
GB/T 46069.1-2025
$2,765.00