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

committed by
CircleCI Docs

parent
f75712551d
commit
0250e203f6
8
docs/build/html/_sources/python/nn/_autosummary/mlx.nn.Conv1d.rst
vendored
Normal file
8
docs/build/html/_sources/python/nn/_autosummary/mlx.nn.Conv1d.rst
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
mlx.nn.Conv1d
|
||||
=============
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: Conv1d
|
||||
|
||||
|
8
docs/build/html/_sources/python/nn/_autosummary/mlx.nn.Conv2d.rst
vendored
Normal file
8
docs/build/html/_sources/python/nn/_autosummary/mlx.nn.Conv2d.rst
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
mlx.nn.Conv2d
|
||||
=============
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: Conv2d
|
||||
|
||||
|
8
docs/build/html/_sources/python/nn/_autosummary/mlx.nn.Embedding.rst
vendored
Normal file
8
docs/build/html/_sources/python/nn/_autosummary/mlx.nn.Embedding.rst
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
mlx.nn.Embedding
|
||||
================
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: Embedding
|
||||
|
||||
|
8
docs/build/html/_sources/python/nn/_autosummary/mlx.nn.GELU.rst
vendored
Normal file
8
docs/build/html/_sources/python/nn/_autosummary/mlx.nn.GELU.rst
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
mlx.nn.GELU
|
||||
===========
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: GELU
|
||||
|
||||
|
8
docs/build/html/_sources/python/nn/_autosummary/mlx.nn.GroupNorm.rst
vendored
Normal file
8
docs/build/html/_sources/python/nn/_autosummary/mlx.nn.GroupNorm.rst
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
mlx.nn.GroupNorm
|
||||
================
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: GroupNorm
|
||||
|
||||
|
8
docs/build/html/_sources/python/nn/_autosummary/mlx.nn.LayerNorm.rst
vendored
Normal file
8
docs/build/html/_sources/python/nn/_autosummary/mlx.nn.LayerNorm.rst
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
mlx.nn.LayerNorm
|
||||
================
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: LayerNorm
|
||||
|
||||
|
8
docs/build/html/_sources/python/nn/_autosummary/mlx.nn.Linear.rst
vendored
Normal file
8
docs/build/html/_sources/python/nn/_autosummary/mlx.nn.Linear.rst
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
mlx.nn.Linear
|
||||
=============
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: Linear
|
||||
|
||||
|
8
docs/build/html/_sources/python/nn/_autosummary/mlx.nn.Mish.rst
vendored
Normal file
8
docs/build/html/_sources/python/nn/_autosummary/mlx.nn.Mish.rst
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
mlx.nn.Mish
|
||||
===========
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: Mish
|
||||
|
||||
|
8
docs/build/html/_sources/python/nn/_autosummary/mlx.nn.MultiHeadAttention.rst
vendored
Normal file
8
docs/build/html/_sources/python/nn/_autosummary/mlx.nn.MultiHeadAttention.rst
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
mlx.nn.MultiHeadAttention
|
||||
=========================
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: MultiHeadAttention
|
||||
|
||||
|
8
docs/build/html/_sources/python/nn/_autosummary/mlx.nn.PReLU.rst
vendored
Normal file
8
docs/build/html/_sources/python/nn/_autosummary/mlx.nn.PReLU.rst
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
mlx.nn.PReLU
|
||||
============
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: PReLU
|
||||
|
||||
|
8
docs/build/html/_sources/python/nn/_autosummary/mlx.nn.RMSNorm.rst
vendored
Normal file
8
docs/build/html/_sources/python/nn/_autosummary/mlx.nn.RMSNorm.rst
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
mlx.nn.RMSNorm
|
||||
==============
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: RMSNorm
|
||||
|
||||
|
8
docs/build/html/_sources/python/nn/_autosummary/mlx.nn.ReLU.rst
vendored
Normal file
8
docs/build/html/_sources/python/nn/_autosummary/mlx.nn.ReLU.rst
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
mlx.nn.ReLU
|
||||
===========
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: ReLU
|
||||
|
||||
|
8
docs/build/html/_sources/python/nn/_autosummary/mlx.nn.RoPE.rst
vendored
Normal file
8
docs/build/html/_sources/python/nn/_autosummary/mlx.nn.RoPE.rst
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
mlx.nn.RoPE
|
||||
===========
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: RoPE
|
||||
|
||||
|
8
docs/build/html/_sources/python/nn/_autosummary/mlx.nn.SELU.rst
vendored
Normal file
8
docs/build/html/_sources/python/nn/_autosummary/mlx.nn.SELU.rst
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
mlx.nn.SELU
|
||||
===========
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: SELU
|
||||
|
||||
|
8
docs/build/html/_sources/python/nn/_autosummary/mlx.nn.Sequential.rst
vendored
Normal file
8
docs/build/html/_sources/python/nn/_autosummary/mlx.nn.Sequential.rst
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
mlx.nn.Sequential
|
||||
=================
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: Sequential
|
||||
|
||||
|
8
docs/build/html/_sources/python/nn/_autosummary/mlx.nn.SiLU.rst
vendored
Normal file
8
docs/build/html/_sources/python/nn/_autosummary/mlx.nn.SiLU.rst
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
mlx.nn.SiLU
|
||||
===========
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: SiLU
|
||||
|
||||
|
8
docs/build/html/_sources/python/nn/_autosummary/mlx.nn.Step.rst
vendored
Normal file
8
docs/build/html/_sources/python/nn/_autosummary/mlx.nn.Step.rst
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
mlx.nn.Step
|
||||
===========
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: Step
|
||||
|
||||
|
8
docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.gelu.rst
vendored
Normal file
8
docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.gelu.rst
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
mlx.nn.gelu
|
||||
===========
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: gelu
|
||||
|
||||
|
8
docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.gelu_approx.rst
vendored
Normal file
8
docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.gelu_approx.rst
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
mlx.nn.gelu\_approx
|
||||
===================
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: gelu_approx
|
||||
|
||||
|
8
docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.gelu_fast_approx.rst
vendored
Normal file
8
docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.gelu_fast_approx.rst
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
mlx.nn.gelu\_fast\_approx
|
||||
=========================
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: gelu_fast_approx
|
||||
|
||||
|
@@ -0,0 +1,8 @@
|
||||
mlx.nn.losses.binary\_cross\_entropy
|
||||
====================================
|
||||
|
||||
.. currentmodule:: mlx.nn.losses
|
||||
|
||||
.. autoclass:: binary_cross_entropy
|
||||
|
||||
|
8
docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.losses.cross_entropy.rst
vendored
Normal file
8
docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.losses.cross_entropy.rst
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
mlx.nn.losses.cross\_entropy
|
||||
============================
|
||||
|
||||
.. currentmodule:: mlx.nn.losses
|
||||
|
||||
.. autoclass:: cross_entropy
|
||||
|
||||
|
8
docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.losses.kl_div_loss.rst
vendored
Normal file
8
docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.losses.kl_div_loss.rst
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
mlx.nn.losses.kl\_div\_loss
|
||||
===========================
|
||||
|
||||
.. currentmodule:: mlx.nn.losses
|
||||
|
||||
.. autoclass:: kl_div_loss
|
||||
|
||||
|
8
docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.losses.l1_loss.rst
vendored
Normal file
8
docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.losses.l1_loss.rst
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
mlx.nn.losses.l1\_loss
|
||||
======================
|
||||
|
||||
.. currentmodule:: mlx.nn.losses
|
||||
|
||||
.. autoclass:: l1_loss
|
||||
|
||||
|
8
docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.losses.mse_loss.rst
vendored
Normal file
8
docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.losses.mse_loss.rst
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
mlx.nn.losses.mse\_loss
|
||||
=======================
|
||||
|
||||
.. currentmodule:: mlx.nn.losses
|
||||
|
||||
.. autoclass:: mse_loss
|
||||
|
||||
|
8
docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.losses.nll_loss.rst
vendored
Normal file
8
docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.losses.nll_loss.rst
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
mlx.nn.losses.nll\_loss
|
||||
=======================
|
||||
|
||||
.. currentmodule:: mlx.nn.losses
|
||||
|
||||
.. autoclass:: nll_loss
|
||||
|
||||
|
8
docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.mish.rst
vendored
Normal file
8
docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.mish.rst
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
mlx.nn.mish
|
||||
===========
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: mish
|
||||
|
||||
|
8
docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.prelu.rst
vendored
Normal file
8
docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.prelu.rst
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
mlx.nn.prelu
|
||||
============
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: prelu
|
||||
|
||||
|
8
docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.relu.rst
vendored
Normal file
8
docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.relu.rst
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
mlx.nn.relu
|
||||
===========
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: relu
|
||||
|
||||
|
8
docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.selu.rst
vendored
Normal file
8
docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.selu.rst
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
mlx.nn.selu
|
||||
===========
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: selu
|
||||
|
||||
|
8
docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.silu.rst
vendored
Normal file
8
docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.silu.rst
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
mlx.nn.silu
|
||||
===========
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: silu
|
||||
|
||||
|
8
docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.step.rst
vendored
Normal file
8
docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.step.rst
vendored
Normal file
@@ -0,0 +1,8 @@
|
||||
mlx.nn.step
|
||||
===========
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: step
|
||||
|
||||
|
23
docs/build/html/_sources/python/nn/functions.rst
vendored
Normal file
23
docs/build/html/_sources/python/nn/functions.rst
vendored
Normal file
@@ -0,0 +1,23 @@
|
||||
.. _nn_functions:
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
Functions
|
||||
---------
|
||||
|
||||
Layers without parameters (e.g. activation functions) are also provided as
|
||||
simple functions.
|
||||
|
||||
.. autosummary::
|
||||
:toctree: _autosummary_functions
|
||||
:template: nn-module-template.rst
|
||||
|
||||
gelu
|
||||
gelu_approx
|
||||
gelu_fast_approx
|
||||
relu
|
||||
prelu
|
||||
silu
|
||||
step
|
||||
selu
|
||||
mish
|
28
docs/build/html/_sources/python/nn/layers.rst
vendored
Normal file
28
docs/build/html/_sources/python/nn/layers.rst
vendored
Normal file
@@ -0,0 +1,28 @@
|
||||
.. _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
|
17
docs/build/html/_sources/python/nn/losses.rst
vendored
Normal file
17
docs/build/html/_sources/python/nn/losses.rst
vendored
Normal file
@@ -0,0 +1,17 @@
|
||||
.. _losses:
|
||||
|
||||
.. currentmodule:: mlx.nn.losses
|
||||
|
||||
Loss Functions
|
||||
--------------
|
||||
|
||||
.. autosummary::
|
||||
:toctree: _autosummary_functions
|
||||
:template: nn-module-template.rst
|
||||
|
||||
cross_entropy
|
||||
binary_cross_entropy
|
||||
l1_loss
|
||||
mse_loss
|
||||
nll_loss
|
||||
kl_div_loss
|
@@ -1,7 +0,0 @@
|
||||
mlx.nn.Module
|
||||
=============
|
||||
|
||||
.. currentmodule:: mlx.nn
|
||||
|
||||
.. autoclass:: Module
|
||||
:members:
|
Reference in New Issue
Block a user