Package-level declarations
Types
2D Average Pooling layer that applies an average pooling operation over 2D input.
1D Convolutional layer that applies a convolution operation over 1D input.
2D Convolutional layer that applies a convolution operation over 2D input.
3D Convolutional layer that applies a convolution operation over 3D input.
Depthwise Separable Convolution layer.
Dilated (Atrous) Convolution layer.
Data class containing information about dilated convolution configuration.
Dual-typed module for dtype-transforming or index-consuming ops. InT is the input dtype, OutT is the output dtype. V is the value buffer backend type.
Minimal multi-input functional wrapper to express a computation as a single callable model.
Grouped Convolution layer.
Specialized mixed precision module for cases where input and output types are the same but internal computation uses a different precision.
Linear layer (a.k.a. fully connected dense layer). This layer applies a linear transformation to the input data. The weights and biases are learned during training.
Exception thrown when mixed precision operations fail.
Abstract base class for modules that support mixed-precision operations. This class handles automatic type conversions between different precision types, enabling seamless integration of layers with different precision requirements.
Context for the DSL to define the data type and operations.
Transposed Convolution (Deconvolution) layer.
Data class containing information about transposed convolution configuration.
Functions
Creates a context for the DSL with the given configuration.
Extension function to create a network within a NetworkContext. This bridges the context wrapper with the network DSL using the context's tensor factory.