Libraries Sample Introduction

Overview

This section contains usage samples based on Ascend C API libraries, introducing API libraries such as math libraries and activation functions through the <<<>>> direct call implementation method.

Sample List

Directory Name Description
00_matrix This sample set introduces typical usage of different Matmul API features and provides corresponding end-to-end implementations
01_activation This sample set introduces typical usage of activation functions with different operator features and provides corresponding end-to-end implementations
02_normalization This sample set introduces typical usage of normalization operations with different features and provides corresponding end-to-end implementations
03_quantization This sample set introduces typical usage of quantization operations with different operator features and provides corresponding end-to-end implementations
04_reduce This sample set introduces typical usage of reduce operations with different operator features and provides corresponding end-to-end implementations
05_sort This sample set introduces typical usage of sort operations with different operator features and provides corresponding end-to-end implementations
06_index This sample set introduces typical usage of index computation operators with different features and provides corresponding end-to-end implementations
07_filter This sample set introduces typical usage of data filtering operators with different features and provides corresponding end-to-end implementations
08_transpose This sample set introduces typical usage of tensor transformation operators with different features and provides corresponding end-to-end implementations
09_random This sample set introduces typical usage of random functions with different features and provides corresponding end-to-end implementations
10_math This sample set introduces typical usage of math computations with different operator features and provides corresponding end-to-end implementations
11_utils This sample set introduces typical usage of data type features and provides corresponding end-to-end implementations