This commit is contained in:
Awni Hannun
2023-12-21 22:13:41 -08:00
committed by CircleCI Docs
parent 9d7133097f
commit de4f3e72fd
273 changed files with 13936 additions and 1646 deletions

View File

@@ -0,0 +1,6 @@
mlx.core.array.round
====================
.. currentmodule:: mlx.core
.. automethod:: array.round

View File

@@ -40,6 +40,7 @@
~array.prod
~array.reciprocal
~array.reshape
~array.round
~array.rsqrt
~array.sin
~array.split

View File

@@ -0,0 +1,6 @@
mlx.core.clip
=============
.. currentmodule:: mlx.core
.. autofunction:: clip

View File

@@ -0,0 +1,6 @@
mlx.core.dequantize
===================
.. currentmodule:: mlx.core
.. autofunction:: dequantize

View File

@@ -0,0 +1,6 @@
mlx.core.floor\_divide
======================
.. currentmodule:: mlx.core
.. autofunction:: floor_divide

View File

@@ -0,0 +1,6 @@
mlx.core.linspace
=================
.. currentmodule:: mlx.core
.. autofunction:: linspace

View File

@@ -0,0 +1,6 @@
mlx.core.quantize
=================
.. currentmodule:: mlx.core
.. autofunction:: quantize

View File

@@ -0,0 +1,6 @@
mlx.core.quantized\_matmul
==========================
.. currentmodule:: mlx.core
.. autofunction:: quantized_matmul

View File

@@ -0,0 +1,6 @@
mlx.core.round
==============
.. currentmodule:: mlx.core
.. autofunction:: round

View File

@@ -41,6 +41,7 @@
~Module.trainable_parameters
~Module.unfreeze
~Module.update
~Module.update_modules
~Module.valid_child_filter
~Module.valid_parameter_filter
~Module.values

View File

@@ -0,0 +1,18 @@
mlx.optimizers.Lion
===================
.. currentmodule:: mlx.optimizers
.. autoclass:: Lion
.. rubric:: Methods
.. autosummary::
~Lion.__init__
~Lion.apply_single

View File

@@ -0,0 +1,8 @@
mlx.nn.losses.smooth\_l1\_loss
==============================
.. currentmodule:: mlx.nn.losses
.. autoclass:: smooth_l1_loss

View File

@@ -34,6 +34,7 @@ Array
array.prod
array.reciprocal
array.reshape
array.round
array.rsqrt
array.sin
array.split

View File

@@ -0,0 +1,8 @@
mlx.nn.QuantizedLinear
======================
.. currentmodule:: mlx.nn
.. autoclass:: QuantizedLinear

View File

@@ -0,0 +1,8 @@
mlx.nn.losses.smooth\_l1\_loss
==============================
.. currentmodule:: mlx.nn.losses
.. autoclass:: smooth_l1_loss

View File

@@ -0,0 +1,8 @@
mlx.nn.losses.triplet\_loss
===========================
.. currentmodule:: mlx.nn.losses
.. autoclass:: triplet_loss

View File

@@ -26,3 +26,4 @@ Layers
RoPE
MultiHeadAttention
Sequential
QuantizedLinear

View File

@@ -9,9 +9,11 @@ Loss Functions
:toctree: _autosummary_functions
:template: nn-module-template.rst
cross_entropy
binary_cross_entropy
cross_entropy
kl_div_loss
l1_loss
mse_loss
nll_loss
kl_div_loss
smooth_l1_loss
triplet_loss

View File

@@ -27,12 +27,14 @@ Operations
array_equal
broadcast_to
ceil
clip
concatenate
convolve
conv1d
conv2d
cos
cosh
dequantize
divide
equal
erf
@@ -40,14 +42,16 @@ Operations
exp
expand_dims
eye
floor
flatten
floor
floor_divide
full
greater
greater_equal
identity
less
less_equal
linspace
load
log
log2
@@ -70,8 +74,11 @@ Operations
partition
pad
prod
quantize
quantized_matmul
reciprocal
reshape
round
rsqrt
save
savez

View File

@@ -44,3 +44,4 @@ model's parameters and the **optimizer state**.
Adam
AdamW
Adamax
Lion