mirror of
https://github.com/ml-explore/mlx.git
synced 2025-06-24 17:31:16 +08:00
33 lines
361 B
ReStructuredText
33 lines
361 B
ReStructuredText
.. _layers:
|
|
|
|
.. currentmodule:: mlx.nn
|
|
|
|
Layers
|
|
------
|
|
|
|
.. autosummary::
|
|
:toctree: _autosummary
|
|
:template: nn-module-template.rst
|
|
|
|
Embedding
|
|
ReLU
|
|
PReLU
|
|
GELU
|
|
SiLU
|
|
Step
|
|
SELU
|
|
Mish
|
|
Linear
|
|
Conv1d
|
|
Conv2d
|
|
LayerNorm
|
|
RMSNorm
|
|
GroupNorm
|
|
RoPE
|
|
MultiHeadAttention
|
|
Sequential
|
|
QuantizedLinear
|
|
Dropout
|
|
Dropout2d
|
|
|