API Reference#
This section contains the API reference for the Warp-NN library.
Core modules#
Activations#
Continuously differentiable Exponential Linear Unit (CELU) activation function. |
|
Exponential Linear Unit (ELU) activation function. |
|
Gaussian Error Linear Unit (GELU) activation function. |
|
Hard Sigmoid activation function. |
|
Hard Swish (HardSwish) activation function. |
|
Leaky Rectified Linear Unit (Leaky ReLU) activation function. |
|
Log-Softmax activation function. |
|
Mish activation function. |
|
Parametric ReLU (PReLU) operation. |
|
Rectified Linear Unit (ReLU) activation function. |
|
Scaled Exponential Linear Unit (SELU) activation function. |
|
Shrink activation function. |
|
Sigmoid activation function. |
|
Softmax activation function. |
|
Softplus activation function. |
|
Softsign activation function. |
|
Swish activation function. |
|
Threshold activation function. |
Initializers#
Initialize the array with a constant value. |
|
Initialize the array using the Kaiming (aka He) normal initialization method. |
|
Initialize the array using the Kaiming (aka He) uniform initialization method. |
|
Initialize the array with ones. |
|
Initialize the array with zeros. |
Layers#
Apply a 1D average pooling. |
|
Apply a 2D average pooling. |
|
Apply Batch Normalization over the channels of the input. |
|
Apply a 1D convolution. |
|
Apply a 2D convolution. |
|
Randomly zero some of the input values during training. |
|
Flatten a contiguous range of dimensions into a single dimension. |
|
Apply a global average pooling over the spatial dimensions of the input. |
|
Apply a global max pooling over the spatial dimensions of the input. |
|
Apply Group Normalization over the channels of the input. |
|
Apply a multi-layer Gated Recurrent Unit (GRU) to an input sequence. |
|
Apply a Gated Recurrent Unit (GRU) cell. |
|
Identity operation. |
|
Apply Instance Normalization over the spatial dimensions of the input. |
|
Apply Layer Normalization over the trailing dimensions of the input. |
|
Apply a linear transformation over the final dimension of the input. |
|
Apply a multi-layer Long Short-Term Memory (LSTM) to an input sequence. |
|
Apply a Long Short-Term Memory (LSTM) cell. |
|
Apply a 1D max pooling. |
|
Apply a 2D max pooling. |
|
Apply Root Mean Square (RMS) Normalization over the trailing dimensions of the input. |
|
Apply a multi-layer Elman's Recurrent Neural Network (RNN) to an input sequence. |
|
Apply a Elman's Recurrent Neural Network (RNN) cell. |
|
Apply callable modules (e.g. layers, activation functions, etc.) connected in a cascading sequence. |
Operators#
Absolute Value (Abs) operation. |
|
Arccosine (Acos) operation. |
|
Inverse Hyperbolic Cosine (Acosh) operation. |
|
Addition (Add) operation. |
|
Arcsine (Asin) operation. |
|
Inverse Hyperbolic Sine (Asinh) operation. |
|
Arctangent (Atan) operation. |
|
Inverse Hyperbolic Tangent (Atanh) operation. |
|
Bitwise AND (BitwiseAnd) operation. |
|
Bitwise NOT (BitwiseNot) operation. |
|
Bitwise OR (BitwiseOr) operation. |
|
Bitwise XOR (BitwiseXor) operation. |
|
Ceiling (Ceil) operation. |
|
Element-wise clipping (clamping) of the input values into the interval [ |
|
Cosine (Cos) operation. |
|
Hyperbolic Cosine (Cosh) operation. |
|
Division (Div) operation. |
|
Error Function (Erf) operation. |
|
Exponential (Exp) operation. |
|
Floor operation. |
|
Natural Logarithm (Log) operation. |
|
Element-wise maximum (Max) operation. |
|
Element-wise minimum (Min) operation. |
|
Multiplication (Mul) operation. |
|
Negation (Neg) operation. |
|
Power (Pow) operation. |
|
Reciprocal operation. |
|
Round operation. |
|
Sign operation. |
|
Sine (Sin) operation. |
|
Hyperbolic Sine (Sinh) operation. |
|
Square Root (Sqrt) operation. |
|
Subtraction (Sub) operation. |
|
Tangent (Tan) operation. |
|
Hyperbolic Tangent (Tanh) operation. |
Optimizers#
Runtime#
Execute an ONNX graph using Warp-NN modules. |