Frameworks
Layers
Layers Built in layers. MLXNN provides a number of built in layers that can be used to build models. See also for Activation Layers and for examples of their use Topics Unary Layers Layers that provide an interface that takes a single MLXAr
Layers
Built-in layers.
MLXNN provides a number of built-in layers that can be used to build models.
See also doc:activations for Activation Layers and doc:custom-layers for examples of their use
Topics
Unary Layers
Layers that provide an interface that takes a single MLXArray and produces a single MLXArray.
These can be used with Sequential.
AvgPool1dAvgPool2dConv1dConv2dConv3dConvTransposed1dConvTransposed2dConvTransposed3dDropoutDropout2dDropout3dEmbeddingIdentityLinearMaxPool1dMaxPool2dQuantizedLinearRMSNormSequential
Sampling
Upsample
Recurrent
RNNGRULSTM
Other Layers
BilinearMultiHeadAttention