Function Description
Table 1 lists the operators supported by KuDNN.
Operator |
Description |
|---|---|
GEMM (single-threaded) & Linear (multi-threaded) |
Matrix multiplication operator. |
Linear+postops |
Performs ReLU, SiLU, GeLU, ReSEXT, ResMul, and Residential operations following the Linear operator computation. |
Softmax |
Softmax normalization operator. |
Conv2d/Conv3d |
2D/3D convolution operator. |
Group Normalization |
Group normalization operator. |
Layer Normalization |
Performs layer normalization. |
Embedding |
Mapping operator. |
Root Mean Square Normalization |
Root mean square normalization operator. |
Rotary Position Embedding |
Rotary positional embedding (RoPE) operator. |
Table 2 describes the common objects.
Parameter |
Data Type |
Description |
|---|---|---|
shape |
struct KuDNN::Shape |
{d1, d2, d3, m, n} (up to 5D) must correspond to the layout. |
type |
struct KuDNN::Element::Type |
The following four enumeration types are supported:
|
layout |
enum class KuDNN::Layout |
Enumeration type. For details about the supported layouts, see the table of layout types supported during the initialization of the TensorInfo object of each operator. |