docs update

This commit is contained in:
Awni Hannun
2024-04-26 08:24:09 -07:00
committed by CircleCI Docs
parent f77d99b285
commit f946f689a6
502 changed files with 14665 additions and 15103 deletions

View File

@@ -3,4 +3,16 @@
.. currentmodule:: mlx.nn
.. autoclass:: ALiBi
.. autoclass:: ALiBi
.. rubric:: Methods
.. autosummary::
~ALiBi.create_alibi_matrix
~ALiBi.create_alibi_slope

View File

@@ -3,4 +3,14 @@
.. currentmodule:: mlx.nn
.. autoclass:: AvgPool1d
.. autoclass:: AvgPool1d
.. rubric:: Methods
.. autosummary::

View File

@@ -3,4 +3,14 @@
.. currentmodule:: mlx.nn
.. autoclass:: AvgPool2d
.. autoclass:: AvgPool2d
.. rubric:: Methods
.. autosummary::

View File

@@ -3,4 +3,15 @@
.. currentmodule:: mlx.nn
.. autoclass:: BatchNorm
.. autoclass:: BatchNorm
.. rubric:: Methods
.. autosummary::
~BatchNorm.unfreeze

View File

@@ -3,4 +3,14 @@
.. currentmodule:: mlx.nn
.. autoclass:: Conv1d
.. autoclass:: Conv1d
.. rubric:: Methods
.. autosummary::

View File

@@ -3,4 +3,14 @@
.. currentmodule:: mlx.nn
.. autoclass:: Conv2d
.. autoclass:: Conv2d
.. rubric:: Methods
.. autosummary::

View File

@@ -3,4 +3,14 @@
.. currentmodule:: mlx.nn
.. autoclass:: Dropout
.. autoclass:: Dropout
.. rubric:: Methods
.. autosummary::

View File

@@ -3,4 +3,14 @@
.. currentmodule:: mlx.nn
.. autoclass:: Dropout2d
.. autoclass:: Dropout2d
.. rubric:: Methods
.. autosummary::

View File

@@ -3,4 +3,14 @@
.. currentmodule:: mlx.nn
.. autoclass:: Dropout3d
.. autoclass:: Dropout3d
.. rubric:: Methods
.. autosummary::

View File

@@ -3,4 +3,15 @@
.. currentmodule:: mlx.nn
.. autoclass:: Embedding
.. autoclass:: Embedding
.. rubric:: Methods
.. autosummary::
~Embedding.as_linear

View File

@@ -3,4 +3,14 @@
.. currentmodule:: mlx.nn
.. autoclass:: GELU
.. autoclass:: GELU
.. rubric:: Methods
.. autosummary::

View File

@@ -3,4 +3,14 @@
.. currentmodule:: mlx.nn
.. autoclass:: GRU
.. autoclass:: GRU
.. rubric:: Methods
.. autosummary::

View File

@@ -3,4 +3,14 @@
.. currentmodule:: mlx.nn
.. autoclass:: GroupNorm
.. autoclass:: GroupNorm
.. rubric:: Methods
.. autosummary::

View File

@@ -3,4 +3,14 @@
.. currentmodule:: mlx.nn
.. autoclass:: InstanceNorm
.. autoclass:: InstanceNorm
.. rubric:: Methods
.. autosummary::

View File

@@ -3,4 +3,14 @@
.. currentmodule:: mlx.nn
.. autoclass:: LSTM
.. autoclass:: LSTM
.. rubric:: Methods
.. autosummary::

View File

@@ -3,4 +3,14 @@
.. currentmodule:: mlx.nn
.. autoclass:: LayerNorm
.. autoclass:: LayerNorm
.. rubric:: Methods
.. autosummary::

View File

@@ -3,4 +3,14 @@
.. currentmodule:: mlx.nn
.. autoclass:: Linear
.. autoclass:: Linear
.. rubric:: Methods
.. autosummary::

View File

@@ -3,4 +3,14 @@
.. currentmodule:: mlx.nn
.. autoclass:: MaxPool1d
.. autoclass:: MaxPool1d
.. rubric:: Methods
.. autosummary::

View File

@@ -3,4 +3,14 @@
.. currentmodule:: mlx.nn
.. autoclass:: MaxPool2d
.. autoclass:: MaxPool2d
.. rubric:: Methods
.. autosummary::

View File

@@ -3,4 +3,14 @@
.. currentmodule:: mlx.nn
.. autoclass:: Mish
.. autoclass:: Mish
.. rubric:: Methods
.. autosummary::

View File

@@ -3,4 +3,15 @@
.. currentmodule:: mlx.nn
.. autoclass:: MultiHeadAttention
.. autoclass:: MultiHeadAttention
.. rubric:: Methods
.. autosummary::
~MultiHeadAttention.create_additive_causal_mask

View File

@@ -3,4 +3,14 @@
.. currentmodule:: mlx.nn
.. autoclass:: PReLU
.. autoclass:: PReLU
.. rubric:: Methods
.. autosummary::

View File

@@ -0,0 +1,18 @@
mlx.nn.QuantizedEmbedding
=========================
.. currentmodule:: mlx.nn
.. autoclass:: QuantizedEmbedding
.. rubric:: Methods
.. autosummary::
~QuantizedEmbedding.as_linear
~QuantizedEmbedding.from_embedding

View File

@@ -3,4 +3,16 @@
.. currentmodule:: mlx.nn
.. autoclass:: QuantizedLinear
.. autoclass:: QuantizedLinear
.. rubric:: Methods
.. autosummary::
~QuantizedLinear.from_linear
~QuantizedLinear.unfreeze

View File

@@ -3,4 +3,14 @@
.. currentmodule:: mlx.nn
.. autoclass:: RMSNorm
.. autoclass:: RMSNorm
.. rubric:: Methods
.. autosummary::

View File

@@ -3,4 +3,14 @@
.. currentmodule:: mlx.nn
.. autoclass:: RNN
.. autoclass:: RNN
.. rubric:: Methods
.. autosummary::

View File

@@ -3,4 +3,14 @@
.. currentmodule:: mlx.nn
.. autoclass:: ReLU
.. autoclass:: ReLU
.. rubric:: Methods
.. autosummary::

View File

@@ -3,4 +3,14 @@
.. currentmodule:: mlx.nn
.. autoclass:: RoPE
.. autoclass:: RoPE
.. rubric:: Methods
.. autosummary::

View File

@@ -3,4 +3,14 @@
.. currentmodule:: mlx.nn
.. autoclass:: SELU
.. autoclass:: SELU
.. rubric:: Methods
.. autosummary::

View File

@@ -3,4 +3,14 @@
.. currentmodule:: mlx.nn
.. autoclass:: Sequential
.. autoclass:: Sequential
.. rubric:: Methods
.. autosummary::

View File

@@ -3,4 +3,14 @@
.. currentmodule:: mlx.nn
.. autoclass:: SiLU
.. autoclass:: SiLU
.. rubric:: Methods
.. autosummary::

View File

@@ -3,4 +3,14 @@
.. currentmodule:: mlx.nn
.. autoclass:: SinusoidalPositionalEncoding
.. autoclass:: SinusoidalPositionalEncoding
.. rubric:: Methods
.. autosummary::

View File

@@ -3,4 +3,14 @@
.. currentmodule:: mlx.nn
.. autoclass:: Softshrink
.. autoclass:: Softshrink
.. rubric:: Methods
.. autosummary::

View File

@@ -3,4 +3,14 @@
.. currentmodule:: mlx.nn
.. autoclass:: Step
.. autoclass:: Step
.. rubric:: Methods
.. autosummary::

View File

@@ -3,4 +3,14 @@
.. currentmodule:: mlx.nn
.. autoclass:: Transformer
.. autoclass:: Transformer
.. rubric:: Methods
.. autosummary::

View File

@@ -3,4 +3,14 @@
.. currentmodule:: mlx.nn
.. autoclass:: Upsample
.. autoclass:: Upsample
.. rubric:: Methods
.. autosummary::