Files
mlx/docs/build/html/_sources/python/nn/layers.rst

70 lines
849 B
ReStructuredText
Raw Normal View History

2023-12-17 13:23:03 -08:00
.. _layers:
.. currentmodule:: mlx.nn
Layers
------
.. autosummary::
:toctree: _autosummary
:template: nn-module-template.rst
2024-01-17 17:15:29 -08:00
ALiBi
2024-02-17 13:25:37 -08:00
AvgPool1d
AvgPool2d
2024-11-22 20:24:16 +00:00
AvgPool3d
2024-01-17 17:15:29 -08:00
BatchNorm
2024-09-28 11:04:59 -07:00
CELU
2023-12-17 13:23:03 -08:00
Conv1d
Conv2d
2024-05-20 09:40:17 -07:00
Conv3d
2024-09-17 12:06:14 -07:00
ConvTranspose1d
ConvTranspose2d
ConvTranspose3d
2024-01-03 20:14:05 -08:00
Dropout
Dropout2d
Dropout3d
2024-01-17 17:15:29 -08:00
Embedding
2024-09-28 11:04:59 -07:00
ELU
2024-01-17 17:15:29 -08:00
GELU
2024-06-06 20:28:06 -07:00
GLU
2024-01-17 17:15:29 -08:00
GroupNorm
2024-03-14 12:46:45 -07:00
GRU
2024-06-06 20:28:06 -07:00
HardShrink
HardTanh
Hardswish
2024-01-17 17:15:29 -08:00
InstanceNorm
LayerNorm
2024-06-06 20:28:06 -07:00
LeakyReLU
2024-01-17 17:15:29 -08:00
Linear
2024-09-28 11:04:59 -07:00
LogSigmoid
LogSoftmax
2024-03-14 12:46:45 -07:00
LSTM
2024-02-17 13:25:37 -08:00
MaxPool1d
MaxPool2d
2024-11-22 20:24:16 +00:00
MaxPool3d
2024-01-17 17:15:29 -08:00
Mish
2023-12-17 13:23:03 -08:00
MultiHeadAttention
2024-01-17 17:15:29 -08:00
PReLU
2024-04-26 08:24:09 -07:00
QuantizedEmbedding
2024-01-17 17:15:29 -08:00
QuantizedLinear
RMSNorm
ReLU
2024-06-06 20:28:06 -07:00
ReLU6
2024-03-14 12:46:45 -07:00
RNN
2024-01-03 20:14:05 -08:00
RoPE
2024-01-17 17:15:29 -08:00
SELU
Sequential
2024-09-28 11:04:59 -07:00
Sigmoid
2024-01-17 17:15:29 -08:00
SiLU
2024-01-03 20:14:05 -08:00
SinusoidalPositionalEncoding
2024-06-06 20:28:06 -07:00
Softmin
2024-02-01 13:08:29 -08:00
Softshrink
2024-06-06 20:28:06 -07:00
Softsign
Softmax
Softplus
2024-01-17 17:15:29 -08:00
Step
2024-06-06 20:28:06 -07:00
Tanh
2024-01-17 17:15:29 -08:00
Transformer
2024-04-26 08:24:09 -07:00
Upsample