mirror of
https://github.com/ml-explore/mlx.git
synced 2025-09-19 10:48:09 +08:00
docs update
This commit is contained in:

committed by
CircleCI Docs

parent
ba26fe5be5
commit
61c03b86a4
@@ -3,4 +3,16 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: ALiBi
|
||||
.. autoclass:: ALiBi
|
||||
|
||||
|
||||
|
||||
|
||||
.. rubric:: Methods
|
||||
|
||||
.. autosummary::
|
||||
|
||||
~ALiBi.create_alibi_matrix
|
||||
~ALiBi.create_alibi_slope
|
||||
|
||||
|
||||
|
@@ -3,4 +3,14 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: AvgPool1d
|
||||
.. autoclass:: AvgPool1d
|
||||
|
||||
|
||||
|
||||
|
||||
.. rubric:: Methods
|
||||
|
||||
.. autosummary::
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,14 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: AvgPool2d
|
||||
.. autoclass:: AvgPool2d
|
||||
|
||||
|
||||
|
||||
|
||||
.. rubric:: Methods
|
||||
|
||||
.. autosummary::
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,15 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: BatchNorm
|
||||
.. autoclass:: BatchNorm
|
||||
|
||||
|
||||
|
||||
|
||||
.. rubric:: Methods
|
||||
|
||||
.. autosummary::
|
||||
|
||||
~BatchNorm.unfreeze
|
||||
|
||||
|
||||
|
@@ -3,4 +3,14 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: Conv1d
|
||||
.. autoclass:: Conv1d
|
||||
|
||||
|
||||
|
||||
|
||||
.. rubric:: Methods
|
||||
|
||||
.. autosummary::
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,14 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: Conv2d
|
||||
.. autoclass:: Conv2d
|
||||
|
||||
|
||||
|
||||
|
||||
.. rubric:: Methods
|
||||
|
||||
.. autosummary::
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,14 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: Dropout
|
||||
.. autoclass:: Dropout
|
||||
|
||||
|
||||
|
||||
|
||||
.. rubric:: Methods
|
||||
|
||||
.. autosummary::
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,14 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: Dropout2d
|
||||
.. autoclass:: Dropout2d
|
||||
|
||||
|
||||
|
||||
|
||||
.. rubric:: Methods
|
||||
|
||||
.. autosummary::
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,14 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: Dropout3d
|
||||
.. autoclass:: Dropout3d
|
||||
|
||||
|
||||
|
||||
|
||||
.. rubric:: Methods
|
||||
|
||||
.. autosummary::
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,15 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: Embedding
|
||||
.. autoclass:: Embedding
|
||||
|
||||
|
||||
|
||||
|
||||
.. rubric:: Methods
|
||||
|
||||
.. autosummary::
|
||||
|
||||
~Embedding.as_linear
|
||||
|
||||
|
||||
|
@@ -3,4 +3,14 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: GELU
|
||||
.. autoclass:: GELU
|
||||
|
||||
|
||||
|
||||
|
||||
.. rubric:: Methods
|
||||
|
||||
.. autosummary::
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,14 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: GRU
|
||||
.. autoclass:: GRU
|
||||
|
||||
|
||||
|
||||
|
||||
.. rubric:: Methods
|
||||
|
||||
.. autosummary::
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,14 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: GroupNorm
|
||||
.. autoclass:: GroupNorm
|
||||
|
||||
|
||||
|
||||
|
||||
.. rubric:: Methods
|
||||
|
||||
.. autosummary::
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,14 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: InstanceNorm
|
||||
.. autoclass:: InstanceNorm
|
||||
|
||||
|
||||
|
||||
|
||||
.. rubric:: Methods
|
||||
|
||||
.. autosummary::
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,14 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: LSTM
|
||||
.. autoclass:: LSTM
|
||||
|
||||
|
||||
|
||||
|
||||
.. rubric:: Methods
|
||||
|
||||
.. autosummary::
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,14 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: LayerNorm
|
||||
.. autoclass:: LayerNorm
|
||||
|
||||
|
||||
|
||||
|
||||
.. rubric:: Methods
|
||||
|
||||
.. autosummary::
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,14 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: Linear
|
||||
.. autoclass:: Linear
|
||||
|
||||
|
||||
|
||||
|
||||
.. rubric:: Methods
|
||||
|
||||
.. autosummary::
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,14 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: MaxPool1d
|
||||
.. autoclass:: MaxPool1d
|
||||
|
||||
|
||||
|
||||
|
||||
.. rubric:: Methods
|
||||
|
||||
.. autosummary::
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,14 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: MaxPool2d
|
||||
.. autoclass:: MaxPool2d
|
||||
|
||||
|
||||
|
||||
|
||||
.. rubric:: Methods
|
||||
|
||||
.. autosummary::
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,14 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: Mish
|
||||
.. autoclass:: Mish
|
||||
|
||||
|
||||
|
||||
|
||||
.. rubric:: Methods
|
||||
|
||||
.. autosummary::
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,15 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: MultiHeadAttention
|
||||
.. autoclass:: MultiHeadAttention
|
||||
|
||||
|
||||
|
||||
|
||||
.. rubric:: Methods
|
||||
|
||||
.. autosummary::
|
||||
|
||||
~MultiHeadAttention.create_additive_causal_mask
|
||||
|
||||
|
||||
|
@@ -3,4 +3,14 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: PReLU
|
||||
.. autoclass:: PReLU
|
||||
|
||||
|
||||
|
||||
|
||||
.. rubric:: Methods
|
||||
|
||||
.. autosummary::
|
||||
|
||||
|
||||
|
||||
|
18
docs/build/html/_sources/python/nn/_autosummary/mlx.nn.QuantizedEmbedding.rst
vendored
Normal file
18
docs/build/html/_sources/python/nn/_autosummary/mlx.nn.QuantizedEmbedding.rst
vendored
Normal file
@@ -0,0 +1,18 @@
|
||||
mlx.nn.QuantizedEmbedding
|
||||
=========================
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: QuantizedEmbedding
|
||||
|
||||
|
||||
|
||||
|
||||
.. rubric:: Methods
|
||||
|
||||
.. autosummary::
|
||||
|
||||
~QuantizedEmbedding.as_linear
|
||||
~QuantizedEmbedding.from_embedding
|
||||
|
||||
|
@@ -3,4 +3,16 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: QuantizedLinear
|
||||
.. autoclass:: QuantizedLinear
|
||||
|
||||
|
||||
|
||||
|
||||
.. rubric:: Methods
|
||||
|
||||
.. autosummary::
|
||||
|
||||
~QuantizedLinear.from_linear
|
||||
~QuantizedLinear.unfreeze
|
||||
|
||||
|
||||
|
@@ -3,4 +3,14 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: RMSNorm
|
||||
.. autoclass:: RMSNorm
|
||||
|
||||
|
||||
|
||||
|
||||
.. rubric:: Methods
|
||||
|
||||
.. autosummary::
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,14 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: RNN
|
||||
.. autoclass:: RNN
|
||||
|
||||
|
||||
|
||||
|
||||
.. rubric:: Methods
|
||||
|
||||
.. autosummary::
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,14 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: ReLU
|
||||
.. autoclass:: ReLU
|
||||
|
||||
|
||||
|
||||
|
||||
.. rubric:: Methods
|
||||
|
||||
.. autosummary::
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,14 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: RoPE
|
||||
.. autoclass:: RoPE
|
||||
|
||||
|
||||
|
||||
|
||||
.. rubric:: Methods
|
||||
|
||||
.. autosummary::
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,14 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: SELU
|
||||
.. autoclass:: SELU
|
||||
|
||||
|
||||
|
||||
|
||||
.. rubric:: Methods
|
||||
|
||||
.. autosummary::
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,14 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: Sequential
|
||||
.. autoclass:: Sequential
|
||||
|
||||
|
||||
|
||||
|
||||
.. rubric:: Methods
|
||||
|
||||
.. autosummary::
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,14 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: SiLU
|
||||
.. autoclass:: SiLU
|
||||
|
||||
|
||||
|
||||
|
||||
.. rubric:: Methods
|
||||
|
||||
.. autosummary::
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,14 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: SinusoidalPositionalEncoding
|
||||
.. autoclass:: SinusoidalPositionalEncoding
|
||||
|
||||
|
||||
|
||||
|
||||
.. rubric:: Methods
|
||||
|
||||
.. autosummary::
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,14 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: Softshrink
|
||||
.. autoclass:: Softshrink
|
||||
|
||||
|
||||
|
||||
|
||||
.. rubric:: Methods
|
||||
|
||||
.. autosummary::
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,14 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: Step
|
||||
.. autoclass:: Step
|
||||
|
||||
|
||||
|
||||
|
||||
.. rubric:: Methods
|
||||
|
||||
.. autosummary::
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,14 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: Transformer
|
||||
.. autoclass:: Transformer
|
||||
|
||||
|
||||
|
||||
|
||||
.. rubric:: Methods
|
||||
|
||||
.. autosummary::
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,14 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: Upsample
|
||||
.. autoclass:: Upsample
|
||||
|
||||
|
||||
|
||||
|
||||
.. rubric:: Methods
|
||||
|
||||
.. autosummary::
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,9 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autofunction:: elu
|
||||
.. autoclass:: elu
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,9 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autofunction:: gelu
|
||||
.. autoclass:: gelu
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,9 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autofunction:: gelu_approx
|
||||
.. autoclass:: gelu_approx
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,9 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autofunction:: gelu_fast_approx
|
||||
.. autoclass:: gelu_fast_approx
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,9 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autofunction:: glu
|
||||
.. autoclass:: glu
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,9 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autofunction:: hardswish
|
||||
.. autoclass:: hardswish
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,9 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autofunction:: leaky_relu
|
||||
.. autoclass:: leaky_relu
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,9 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autofunction:: log_sigmoid
|
||||
.. autoclass:: log_sigmoid
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,9 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autofunction:: log_softmax
|
||||
.. autoclass:: log_softmax
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,9 @@
|
||||
|
||||
.. currentmodule:: mlx.nn.losses
|
||||
|
||||
.. autofunction:: binary_cross_entropy
|
||||
.. autoclass:: binary_cross_entropy
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,9 @@
|
||||
|
||||
.. currentmodule:: mlx.nn.losses
|
||||
|
||||
.. autofunction:: cosine_similarity_loss
|
||||
.. autoclass:: cosine_similarity_loss
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,9 @@
|
||||
|
||||
.. currentmodule:: mlx.nn.losses
|
||||
|
||||
.. autofunction:: cross_entropy
|
||||
.. autoclass:: cross_entropy
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,9 @@
|
||||
|
||||
.. currentmodule:: mlx.nn.losses
|
||||
|
||||
.. autofunction:: gaussian_nll_loss
|
||||
.. autoclass:: gaussian_nll_loss
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,9 @@
|
||||
|
||||
.. currentmodule:: mlx.nn.losses
|
||||
|
||||
.. autofunction:: hinge_loss
|
||||
.. autoclass:: hinge_loss
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,9 @@
|
||||
|
||||
.. currentmodule:: mlx.nn.losses
|
||||
|
||||
.. autofunction:: huber_loss
|
||||
.. autoclass:: huber_loss
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,9 @@
|
||||
|
||||
.. currentmodule:: mlx.nn.losses
|
||||
|
||||
.. autofunction:: kl_div_loss
|
||||
.. autoclass:: kl_div_loss
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,9 @@
|
||||
|
||||
.. currentmodule:: mlx.nn.losses
|
||||
|
||||
.. autofunction:: l1_loss
|
||||
.. autoclass:: l1_loss
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,9 @@
|
||||
|
||||
.. currentmodule:: mlx.nn.losses
|
||||
|
||||
.. autofunction:: log_cosh_loss
|
||||
.. autoclass:: log_cosh_loss
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,9 @@
|
||||
|
||||
.. currentmodule:: mlx.nn.losses
|
||||
|
||||
.. autofunction:: margin_ranking_loss
|
||||
.. autoclass:: margin_ranking_loss
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,9 @@
|
||||
|
||||
.. currentmodule:: mlx.nn.losses
|
||||
|
||||
.. autofunction:: mse_loss
|
||||
.. autoclass:: mse_loss
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,9 @@
|
||||
|
||||
.. currentmodule:: mlx.nn.losses
|
||||
|
||||
.. autofunction:: nll_loss
|
||||
.. autoclass:: nll_loss
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,9 @@
|
||||
|
||||
.. currentmodule:: mlx.nn.losses
|
||||
|
||||
.. autofunction:: smooth_l1_loss
|
||||
.. autoclass:: smooth_l1_loss
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,9 @@
|
||||
|
||||
.. currentmodule:: mlx.nn.losses
|
||||
|
||||
.. autofunction:: triplet_loss
|
||||
.. autoclass:: triplet_loss
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,9 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autofunction:: mish
|
||||
.. autoclass:: mish
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,9 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autofunction:: prelu
|
||||
.. autoclass:: prelu
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,9 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autofunction:: relu
|
||||
.. autoclass:: relu
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,9 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autofunction:: relu6
|
||||
.. autoclass:: relu6
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,9 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autofunction:: selu
|
||||
.. autoclass:: selu
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,9 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autofunction:: sigmoid
|
||||
.. autoclass:: sigmoid
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,9 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autofunction:: silu
|
||||
.. autoclass:: silu
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,9 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autofunction:: softmax
|
||||
.. autoclass:: softmax
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,9 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autofunction:: softplus
|
||||
.. autoclass:: softplus
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,9 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autofunction:: softshrink
|
||||
.. autoclass:: softshrink
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,9 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autofunction:: step
|
||||
.. autoclass:: step
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -3,4 +3,9 @@
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autofunction:: tanh
|
||||
.. autoclass:: tanh
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
@@ -31,6 +31,7 @@ Layers
|
||||
Mish
|
||||
MultiHeadAttention
|
||||
PReLU
|
||||
QuantizedEmbedding
|
||||
QuantizedLinear
|
||||
RMSNorm
|
||||
ReLU
|
||||
@@ -43,4 +44,4 @@ Layers
|
||||
Softshrink
|
||||
Step
|
||||
Transformer
|
||||
Upsample
|
||||
Upsample
|
||||
|
Reference in New Issue
Block a user