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

70 lines
849 B
ReStructuredText
Raw Permalink Normal View History

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