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

46 lines
557 B
ReStructuredText
Raw 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-01-18 09:15:29 +08:00
BatchNorm
2023-12-18 05:23:03 +08:00
Conv1d
Conv2d
2024-01-04 12:14:05 +08:00
Dropout
Dropout2d
Dropout3d
2024-01-18 09:15:29 +08:00
Embedding
GELU
GroupNorm
2024-03-15 03:46:45 +08:00
GRU
2024-01-18 09:15:29 +08:00
InstanceNorm
LayerNorm
Linear
2024-03-15 03:46:45 +08:00
LSTM
2024-02-18 05:25:37 +08:00
MaxPool1d
MaxPool2d
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
QuantizedLinear
RMSNorm
ReLU
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
SiLU
2024-01-04 12:14:05 +08:00
SinusoidalPositionalEncoding
2024-02-02 05:08:29 +08:00
Softshrink
2024-01-18 09:15:29 +08:00
Step
Transformer
2024-03-01 04:39:18 +08:00
Upsample