diff --git a/docs/build/html/.buildinfo b/docs/build/html/.buildinfo
index e1d1fbf9..61885dc9 100644
--- a/docs/build/html/.buildinfo
+++ b/docs/build/html/.buildinfo
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
-config: 59497ac668d2f3a880c24eaae6f1b8ae
+config: 2a306b1bab538696d27d81f66f046d0d
tags: 645f666f9bcd5a90fca523b33c5a78b7
diff --git a/docs/build/html/_sources/python/_autosummary/mlx.core.atleast_1d.rst b/docs/build/html/_sources/python/_autosummary/mlx.core.atleast_1d.rst
new file mode 100644
index 00000000..4137f119
--- /dev/null
+++ b/docs/build/html/_sources/python/_autosummary/mlx.core.atleast_1d.rst
@@ -0,0 +1,6 @@
+mlx.core.atleast\_1d
+====================
+
+.. currentmodule:: mlx.core
+
+.. autofunction:: atleast_1d
\ No newline at end of file
diff --git a/docs/build/html/_sources/python/_autosummary/mlx.core.atleast_2d.rst b/docs/build/html/_sources/python/_autosummary/mlx.core.atleast_2d.rst
new file mode 100644
index 00000000..94f6c1d9
--- /dev/null
+++ b/docs/build/html/_sources/python/_autosummary/mlx.core.atleast_2d.rst
@@ -0,0 +1,6 @@
+mlx.core.atleast\_2d
+====================
+
+.. currentmodule:: mlx.core
+
+.. autofunction:: atleast_2d
\ No newline at end of file
diff --git a/docs/build/html/_sources/python/_autosummary/mlx.core.atleast_3d.rst b/docs/build/html/_sources/python/_autosummary/mlx.core.atleast_3d.rst
new file mode 100644
index 00000000..ffbc8132
--- /dev/null
+++ b/docs/build/html/_sources/python/_autosummary/mlx.core.atleast_3d.rst
@@ -0,0 +1,6 @@
+mlx.core.atleast\_3d
+====================
+
+.. currentmodule:: mlx.core
+
+.. autofunction:: atleast_3d
\ No newline at end of file
diff --git a/docs/build/html/_sources/python/_autosummary/mlx.core.conv_general.rst b/docs/build/html/_sources/python/_autosummary/mlx.core.conv_general.rst
new file mode 100644
index 00000000..18a35545
--- /dev/null
+++ b/docs/build/html/_sources/python/_autosummary/mlx.core.conv_general.rst
@@ -0,0 +1,6 @@
+mlx.core.conv\_general
+======================
+
+.. currentmodule:: mlx.core
+
+.. autofunction:: conv_general
\ No newline at end of file
diff --git a/docs/build/html/_sources/python/nn/_autosummary/mlx.nn.Upsample.rst b/docs/build/html/_sources/python/nn/_autosummary/mlx.nn.Upsample.rst
new file mode 100644
index 00000000..6bd1855f
--- /dev/null
+++ b/docs/build/html/_sources/python/nn/_autosummary/mlx.nn.Upsample.rst
@@ -0,0 +1,6 @@
+mlx.nn.Upsample
+===============
+
+.. currentmodule:: mlx.nn
+
+.. autoclass:: Upsample
\ No newline at end of file
diff --git a/docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.elu.rst b/docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.elu.rst
new file mode 100644
index 00000000..7fceaa9d
--- /dev/null
+++ b/docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.elu.rst
@@ -0,0 +1,6 @@
+mlx.nn.elu
+==========
+
+.. currentmodule:: mlx.nn
+
+.. autofunction:: elu
\ No newline at end of file
diff --git a/docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.glu.rst b/docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.glu.rst
new file mode 100644
index 00000000..f289859d
--- /dev/null
+++ b/docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.glu.rst
@@ -0,0 +1,6 @@
+mlx.nn.glu
+==========
+
+.. currentmodule:: mlx.nn
+
+.. autofunction:: glu
\ No newline at end of file
diff --git a/docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.hardswish.rst b/docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.hardswish.rst
new file mode 100644
index 00000000..c824569e
--- /dev/null
+++ b/docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.hardswish.rst
@@ -0,0 +1,6 @@
+mlx.nn.hardswish
+================
+
+.. currentmodule:: mlx.nn
+
+.. autofunction:: hardswish
\ No newline at end of file
diff --git a/docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.leaky_relu.rst b/docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.leaky_relu.rst
new file mode 100644
index 00000000..18f8fdd4
--- /dev/null
+++ b/docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.leaky_relu.rst
@@ -0,0 +1,6 @@
+mlx.nn.leaky\_relu
+==================
+
+.. currentmodule:: mlx.nn
+
+.. autofunction:: leaky_relu
\ No newline at end of file
diff --git a/docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.log_sigmoid.rst b/docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.log_sigmoid.rst
new file mode 100644
index 00000000..662a3a1f
--- /dev/null
+++ b/docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.log_sigmoid.rst
@@ -0,0 +1,6 @@
+mlx.nn.log\_sigmoid
+===================
+
+.. currentmodule:: mlx.nn
+
+.. autofunction:: log_sigmoid
\ No newline at end of file
diff --git a/docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.log_softmax.rst b/docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.log_softmax.rst
new file mode 100644
index 00000000..114bc726
--- /dev/null
+++ b/docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.log_softmax.rst
@@ -0,0 +1,6 @@
+mlx.nn.log\_softmax
+===================
+
+.. currentmodule:: mlx.nn
+
+.. autofunction:: log_softmax
\ No newline at end of file
diff --git a/docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.relu6.rst b/docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.relu6.rst
new file mode 100644
index 00000000..ce7dbb95
--- /dev/null
+++ b/docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.relu6.rst
@@ -0,0 +1,6 @@
+mlx.nn.relu6
+============
+
+.. currentmodule:: mlx.nn
+
+.. autofunction:: relu6
\ No newline at end of file
diff --git a/docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.sigmoid.rst b/docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.sigmoid.rst
new file mode 100644
index 00000000..26e91621
--- /dev/null
+++ b/docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.sigmoid.rst
@@ -0,0 +1,6 @@
+mlx.nn.sigmoid
+==============
+
+.. currentmodule:: mlx.nn
+
+.. autofunction:: sigmoid
\ No newline at end of file
diff --git a/docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.softmax.rst b/docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.softmax.rst
new file mode 100644
index 00000000..6111f807
--- /dev/null
+++ b/docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.softmax.rst
@@ -0,0 +1,6 @@
+mlx.nn.softmax
+==============
+
+.. currentmodule:: mlx.nn
+
+.. autofunction:: softmax
\ No newline at end of file
diff --git a/docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.softplus.rst b/docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.softplus.rst
new file mode 100644
index 00000000..b029eed4
--- /dev/null
+++ b/docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.softplus.rst
@@ -0,0 +1,6 @@
+mlx.nn.softplus
+===============
+
+.. currentmodule:: mlx.nn
+
+.. autofunction:: softplus
\ No newline at end of file
diff --git a/docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.tanh.rst b/docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.tanh.rst
new file mode 100644
index 00000000..45b6f4ac
--- /dev/null
+++ b/docs/build/html/_sources/python/nn/_autosummary_functions/mlx.nn.tanh.rst
@@ -0,0 +1,6 @@
+mlx.nn.tanh
+===========
+
+.. currentmodule:: mlx.nn
+
+.. autofunction:: tanh
\ No newline at end of file
diff --git a/docs/build/html/_sources/python/nn/functions.rst b/docs/build/html/_sources/python/nn/functions.rst
index fc99dcad..db276afd 100644
--- a/docs/build/html/_sources/python/nn/functions.rst
+++ b/docs/build/html/_sources/python/nn/functions.rst
@@ -12,13 +12,24 @@ simple functions.
:toctree: _autosummary_functions
:template: nn-module-template.rst
+ elu
gelu
gelu_approx
gelu_fast_approx
+ glu
+ hardswish
+ leaky_relu
+ log_sigmoid
+ log_softmax
mish
prelu
relu
+ relu6
selu
- softshrink
+ sigmoid
silu
+ softmax
+ softplus
+ softshrink
step
+ tanh
diff --git a/docs/build/html/_sources/python/nn/layers.rst b/docs/build/html/_sources/python/nn/layers.rst
index 0f5fca9d..f6755e8f 100644
--- a/docs/build/html/_sources/python/nn/layers.rst
+++ b/docs/build/html/_sources/python/nn/layers.rst
@@ -40,3 +40,4 @@ Layers
Softshrink
Step
Transformer
+ Upsample
\ No newline at end of file
diff --git a/docs/build/html/_sources/python/ops.rst b/docs/build/html/_sources/python/ops.rst
index 09e2d5f7..2cc2b6d6 100644
--- a/docs/build/html/_sources/python/ops.rst
+++ b/docs/build/html/_sources/python/ops.rst
@@ -25,6 +25,9 @@ Operations
argpartition
argsort
array_equal
+ atleast_1d
+ atleast_2d
+ atleast_3d
broadcast_to
ceil
clip
@@ -32,6 +35,7 @@ Operations
convolve
conv1d
conv2d
+ conv_general
cos
cosh
dequantize
diff --git a/docs/build/html/_sources/python/optimizers/_autosummary/mlx.optimizers.join_schedules.rst b/docs/build/html/_sources/python/optimizers/_autosummary/mlx.optimizers.join_schedules.rst
new file mode 100644
index 00000000..0586e069
--- /dev/null
+++ b/docs/build/html/_sources/python/optimizers/_autosummary/mlx.optimizers.join_schedules.rst
@@ -0,0 +1,6 @@
+mlx.optimizers.join\_schedules
+==============================
+
+.. currentmodule:: mlx.optimizers
+
+.. autofunction:: join_schedules
\ No newline at end of file
diff --git a/docs/build/html/_sources/python/optimizers/_autosummary/mlx.optimizers.linear_schedule.rst b/docs/build/html/_sources/python/optimizers/_autosummary/mlx.optimizers.linear_schedule.rst
new file mode 100644
index 00000000..0a0dee68
--- /dev/null
+++ b/docs/build/html/_sources/python/optimizers/_autosummary/mlx.optimizers.linear_schedule.rst
@@ -0,0 +1,6 @@
+mlx.optimizers.linear\_schedule
+===============================
+
+.. currentmodule:: mlx.optimizers
+
+.. autofunction:: linear_schedule
\ No newline at end of file
diff --git a/docs/build/html/_sources/python/optimizers/schedulers.rst b/docs/build/html/_sources/python/optimizers/schedulers.rst
index a83883dd..50855e1e 100644
--- a/docs/build/html/_sources/python/optimizers/schedulers.rst
+++ b/docs/build/html/_sources/python/optimizers/schedulers.rst
@@ -8,6 +8,8 @@ Schedulers
.. autosummary::
:toctree: _autosummary
- step_decay
- exponential_decay
cosine_decay
+ exponential_decay
+ join_schedules
+ linear_schedule
+ step_decay
diff --git a/docs/build/html/_static/documentation_options.js b/docs/build/html/_static/documentation_options.js
index a117f34f..a168ebdd 100644
--- a/docs/build/html/_static/documentation_options.js
+++ b/docs/build/html/_static/documentation_options.js
@@ -1,6 +1,6 @@
var DOCUMENTATION_OPTIONS = {
URL_ROOT: document.getElementById("documentation_options").getAttribute('data-url_root'),
- VERSION: '0.3.0',
+ VERSION: '0.5.0',
LANGUAGE: 'en',
COLLAPSE_INDEX: false,
BUILDER: 'html',
diff --git a/docs/build/html/_static/mlx_logo.png b/docs/build/html/_static/mlx_logo.png
index 49400bd8..be122bf7 100644
Binary files a/docs/build/html/_static/mlx_logo.png and b/docs/build/html/_static/mlx_logo.png differ
diff --git a/docs/build/html/_static/mlx_logo_dark.png b/docs/build/html/_static/mlx_logo_dark.png
new file mode 100644
index 00000000..cda3c1f6
Binary files /dev/null and b/docs/build/html/_static/mlx_logo_dark.png differ
diff --git a/docs/build/html/cpp/ops.html b/docs/build/html/cpp/ops.html
index 0c9ffa37..0f5b651d 100644
--- a/docs/build/html/cpp/ops.html
+++ b/docs/build/html/cpp/ops.html
@@ -9,7 +9,7 @@
-
Operations — MLX 0.3.0 documentation
+ Operations — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/dev/extensions.html b/docs/build/html/dev/extensions.html
index 011c7676..ffbe5894 100644
--- a/docs/build/html/dev/extensions.html
+++ b/docs/build/html/dev/extensions.html
@@ -9,7 +9,7 @@
- Developer Documentation — MLX 0.3.0 documentation
+ Developer Documentation — MLX 0.5.0 documentation
@@ -133,8 +133,8 @@
-
-
+
+
@@ -232,6 +232,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -239,6 +242,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -435,19 +439,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/examples/linear_regression.html b/docs/build/html/examples/linear_regression.html
index e9d23dd8..bc68a059 100644
--- a/docs/build/html/examples/linear_regression.html
+++ b/docs/build/html/examples/linear_regression.html
@@ -9,7 +9,7 @@
- Linear Regression — MLX 0.3.0 documentation
+ Linear Regression — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/examples/llama-inference.html b/docs/build/html/examples/llama-inference.html
index 3394836d..1a15bf7e 100644
--- a/docs/build/html/examples/llama-inference.html
+++ b/docs/build/html/examples/llama-inference.html
@@ -9,7 +9,7 @@
- LLM inference — MLX 0.3.0 documentation
+ LLM inference — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/examples/mlp.html b/docs/build/html/examples/mlp.html
index 3ddeba31..c6c86236 100644
--- a/docs/build/html/examples/mlp.html
+++ b/docs/build/html/examples/mlp.html
@@ -9,7 +9,7 @@
- Multi-Layer Perceptron — MLX 0.3.0 documentation
+ Multi-Layer Perceptron — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/genindex.html b/docs/build/html/genindex.html
index 16a3f31d..ab8bba37 100644
--- a/docs/build/html/genindex.html
+++ b/docs/build/html/genindex.html
@@ -8,7 +8,7 @@
- Index — MLX 0.3.0 documentation
+ Index — MLX 0.5.0 documentation
@@ -131,8 +131,8 @@
-
-
+
+
@@ -230,6 +230,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -237,6 +240,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -433,19 +437,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
@@ -729,10 +747,10 @@ document.write(`
apply_to_modules() (mlx.nn.Module method)
-
-
+
arccos() (in module mlx.core)
arccosh() (in module mlx.core)
@@ -766,6 +784,12 @@ document.write(`
array_equal() (in module mlx.core)
astype() (mlx.core.array method)
+
+ atleast_1d() (in module mlx.core)
+
+ atleast_2d() (in module mlx.core)
+
+ atleast_3d() (in module mlx.core)
AvgPool1d (class in mlx.nn)
@@ -816,6 +840,8 @@ document.write(`
Conv2d (class in mlx.nn)
conv2d() (in module mlx.core)
+
+ conv_general() (in module mlx.core)
convolve() (in module mlx.core)
@@ -875,6 +901,8 @@ document.write(`
E
+
-
glorot_uniform() (in module mlx.nn.init)
+
+ glu() (in module mlx.nn)
grad() (in module mlx.core)
@@ -969,12 +999,14 @@ document.write(`
H
+ he_uniform() (in module mlx.nn.init)
+
hinge_loss() (in module mlx.nn.losses)
huber_loss() (in module mlx.nn.losses)
@@ -1026,6 +1058,10 @@ document.write(`
J
diff --git a/docs/build/html/index.html b/docs/build/html/index.html
index 002929d6..0a5f4df6 100644
--- a/docs/build/html/index.html
+++ b/docs/build/html/index.html
@@ -9,7 +9,7 @@
- MLX — MLX 0.3.0 documentation
+ MLX — MLX 0.5.0 documentation
@@ -133,8 +133,8 @@
-
-
+
+
@@ -232,6 +232,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -239,6 +242,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -435,19 +439,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/install.html b/docs/build/html/install.html
index f20cc97f..68d1c9a2 100644
--- a/docs/build/html/install.html
+++ b/docs/build/html/install.html
@@ -9,7 +9,7 @@
- Build and Install — MLX 0.3.0 documentation
+ Build and Install — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/objects.inv b/docs/build/html/objects.inv
index 5da5df16..e1edb49a 100644
Binary files a/docs/build/html/objects.inv and b/docs/build/html/objects.inv differ
diff --git a/docs/build/html/python/_autosummary/mlx.core.Device.html b/docs/build/html/python/_autosummary/mlx.core.Device.html
index d0adbf18..e28641c6 100644
--- a/docs/build/html/python/_autosummary/mlx.core.Device.html
+++ b/docs/build/html/python/_autosummary/mlx.core.Device.html
@@ -9,7 +9,7 @@
- mlx.core.Device — MLX 0.3.0 documentation
+ mlx.core.Device — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.Dtype.html b/docs/build/html/python/_autosummary/mlx.core.Dtype.html
index ea3a337a..cb224483 100644
--- a/docs/build/html/python/_autosummary/mlx.core.Dtype.html
+++ b/docs/build/html/python/_autosummary/mlx.core.Dtype.html
@@ -9,7 +9,7 @@
- mlx.core.Dtype — MLX 0.3.0 documentation
+ mlx.core.Dtype — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.Stream.html b/docs/build/html/python/_autosummary/mlx.core.Stream.html
index 5bb9eba4..26e8d7bc 100644
--- a/docs/build/html/python/_autosummary/mlx.core.Stream.html
+++ b/docs/build/html/python/_autosummary/mlx.core.Stream.html
@@ -9,7 +9,7 @@
- mlx.core.stream — MLX 0.3.0 documentation
+ mlx.core.stream — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.abs.html b/docs/build/html/python/_autosummary/mlx.core.abs.html
index 022bb483..92d184c5 100644
--- a/docs/build/html/python/_autosummary/mlx.core.abs.html
+++ b/docs/build/html/python/_autosummary/mlx.core.abs.html
@@ -9,7 +9,7 @@
- mlx.core.abs — MLX 0.3.0 documentation
+ mlx.core.abs — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.add.html b/docs/build/html/python/_autosummary/mlx.core.add.html
index c6f35148..e4e1b64f 100644
--- a/docs/build/html/python/_autosummary/mlx.core.add.html
+++ b/docs/build/html/python/_autosummary/mlx.core.add.html
@@ -9,7 +9,7 @@
- mlx.core.add — MLX 0.3.0 documentation
+ mlx.core.add — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.all.html b/docs/build/html/python/_autosummary/mlx.core.all.html
index ff06dff6..153d640d 100644
--- a/docs/build/html/python/_autosummary/mlx.core.all.html
+++ b/docs/build/html/python/_autosummary/mlx.core.all.html
@@ -9,7 +9,7 @@
- mlx.core.all — MLX 0.3.0 documentation
+ mlx.core.all — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.allclose.html b/docs/build/html/python/_autosummary/mlx.core.allclose.html
index 67bffe42..3f8b5f76 100644
--- a/docs/build/html/python/_autosummary/mlx.core.allclose.html
+++ b/docs/build/html/python/_autosummary/mlx.core.allclose.html
@@ -9,7 +9,7 @@
- mlx.core.allclose — MLX 0.3.0 documentation
+ mlx.core.allclose — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.any.html b/docs/build/html/python/_autosummary/mlx.core.any.html
index 6a876441..11543883 100644
--- a/docs/build/html/python/_autosummary/mlx.core.any.html
+++ b/docs/build/html/python/_autosummary/mlx.core.any.html
@@ -9,7 +9,7 @@
- mlx.core.any — MLX 0.3.0 documentation
+ mlx.core.any — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.arange.html b/docs/build/html/python/_autosummary/mlx.core.arange.html
index 303a50f8..f4ea5b10 100644
--- a/docs/build/html/python/_autosummary/mlx.core.arange.html
+++ b/docs/build/html/python/_autosummary/mlx.core.arange.html
@@ -9,7 +9,7 @@
- mlx.core.arange — MLX 0.3.0 documentation
+ mlx.core.arange — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.arccos.html b/docs/build/html/python/_autosummary/mlx.core.arccos.html
index f2228f31..58d5a30c 100644
--- a/docs/build/html/python/_autosummary/mlx.core.arccos.html
+++ b/docs/build/html/python/_autosummary/mlx.core.arccos.html
@@ -9,7 +9,7 @@
- mlx.core.arccos — MLX 0.3.0 documentation
+ mlx.core.arccos — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.arccosh.html b/docs/build/html/python/_autosummary/mlx.core.arccosh.html
index 82819d07..01eecdf6 100644
--- a/docs/build/html/python/_autosummary/mlx.core.arccosh.html
+++ b/docs/build/html/python/_autosummary/mlx.core.arccosh.html
@@ -9,7 +9,7 @@
- mlx.core.arccosh — MLX 0.3.0 documentation
+ mlx.core.arccosh — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.arcsin.html b/docs/build/html/python/_autosummary/mlx.core.arcsin.html
index 7ac16d2f..2df16d4b 100644
--- a/docs/build/html/python/_autosummary/mlx.core.arcsin.html
+++ b/docs/build/html/python/_autosummary/mlx.core.arcsin.html
@@ -9,7 +9,7 @@
- mlx.core.arcsin — MLX 0.3.0 documentation
+ mlx.core.arcsin — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.arcsinh.html b/docs/build/html/python/_autosummary/mlx.core.arcsinh.html
index 8ae5bb76..9c0e9e67 100644
--- a/docs/build/html/python/_autosummary/mlx.core.arcsinh.html
+++ b/docs/build/html/python/_autosummary/mlx.core.arcsinh.html
@@ -9,7 +9,7 @@
- mlx.core.arcsinh — MLX 0.3.0 documentation
+ mlx.core.arcsinh — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.arctan.html b/docs/build/html/python/_autosummary/mlx.core.arctan.html
index c1f63242..9e20a8dc 100644
--- a/docs/build/html/python/_autosummary/mlx.core.arctan.html
+++ b/docs/build/html/python/_autosummary/mlx.core.arctan.html
@@ -9,7 +9,7 @@
- mlx.core.arctan — MLX 0.3.0 documentation
+ mlx.core.arctan — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.arctanh.html b/docs/build/html/python/_autosummary/mlx.core.arctanh.html
index 0a5c41ee..34fac16b 100644
--- a/docs/build/html/python/_autosummary/mlx.core.arctanh.html
+++ b/docs/build/html/python/_autosummary/mlx.core.arctanh.html
@@ -9,7 +9,7 @@
- mlx.core.arctanh — MLX 0.3.0 documentation
+ mlx.core.arctanh — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.argmax.html b/docs/build/html/python/_autosummary/mlx.core.argmax.html
index 0ae3fd95..203bb2eb 100644
--- a/docs/build/html/python/_autosummary/mlx.core.argmax.html
+++ b/docs/build/html/python/_autosummary/mlx.core.argmax.html
@@ -9,7 +9,7 @@
- mlx.core.argmax — MLX 0.3.0 documentation
+ mlx.core.argmax — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.argmin.html b/docs/build/html/python/_autosummary/mlx.core.argmin.html
index 35b06229..96ce7162 100644
--- a/docs/build/html/python/_autosummary/mlx.core.argmin.html
+++ b/docs/build/html/python/_autosummary/mlx.core.argmin.html
@@ -9,7 +9,7 @@
- mlx.core.argmin — MLX 0.3.0 documentation
+ mlx.core.argmin — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.argpartition.html b/docs/build/html/python/_autosummary/mlx.core.argpartition.html
index fc9fc3d9..e325584d 100644
--- a/docs/build/html/python/_autosummary/mlx.core.argpartition.html
+++ b/docs/build/html/python/_autosummary/mlx.core.argpartition.html
@@ -9,7 +9,7 @@
- mlx.core.argpartition — MLX 0.3.0 documentation
+ mlx.core.argpartition — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.argsort.html b/docs/build/html/python/_autosummary/mlx.core.argsort.html
index 9267872e..5d601473 100644
--- a/docs/build/html/python/_autosummary/mlx.core.argsort.html
+++ b/docs/build/html/python/_autosummary/mlx.core.argsort.html
@@ -9,7 +9,7 @@
- mlx.core.argsort — MLX 0.3.0 documentation
+ mlx.core.argsort — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.array.T.html b/docs/build/html/python/_autosummary/mlx.core.array.T.html
index b03ecc0e..5af3f2e1 100644
--- a/docs/build/html/python/_autosummary/mlx.core.array.T.html
+++ b/docs/build/html/python/_autosummary/mlx.core.array.T.html
@@ -9,7 +9,7 @@
- mlx.core.array.T — MLX 0.3.0 documentation
+ mlx.core.array.T — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.array.abs.html b/docs/build/html/python/_autosummary/mlx.core.array.abs.html
index cabc9534..265bea66 100644
--- a/docs/build/html/python/_autosummary/mlx.core.array.abs.html
+++ b/docs/build/html/python/_autosummary/mlx.core.array.abs.html
@@ -9,7 +9,7 @@
- mlx.core.array.abs — MLX 0.3.0 documentation
+ mlx.core.array.abs — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.array.all.html b/docs/build/html/python/_autosummary/mlx.core.array.all.html
index d54b61fc..cd36f0bc 100644
--- a/docs/build/html/python/_autosummary/mlx.core.array.all.html
+++ b/docs/build/html/python/_autosummary/mlx.core.array.all.html
@@ -9,7 +9,7 @@
- mlx.core.array.all — MLX 0.3.0 documentation
+ mlx.core.array.all — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.array.any.html b/docs/build/html/python/_autosummary/mlx.core.array.any.html
index e0d01f86..9e9cabe7 100644
--- a/docs/build/html/python/_autosummary/mlx.core.array.any.html
+++ b/docs/build/html/python/_autosummary/mlx.core.array.any.html
@@ -9,7 +9,7 @@
- mlx.core.array.any — MLX 0.3.0 documentation
+ mlx.core.array.any — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.array.argmax.html b/docs/build/html/python/_autosummary/mlx.core.array.argmax.html
index 0df48637..5924718e 100644
--- a/docs/build/html/python/_autosummary/mlx.core.array.argmax.html
+++ b/docs/build/html/python/_autosummary/mlx.core.array.argmax.html
@@ -9,7 +9,7 @@
- mlx.core.array.argmax — MLX 0.3.0 documentation
+ mlx.core.array.argmax — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.array.argmin.html b/docs/build/html/python/_autosummary/mlx.core.array.argmin.html
index d1de6bf6..d0415aea 100644
--- a/docs/build/html/python/_autosummary/mlx.core.array.argmin.html
+++ b/docs/build/html/python/_autosummary/mlx.core.array.argmin.html
@@ -9,7 +9,7 @@
- mlx.core.array.argmin — MLX 0.3.0 documentation
+ mlx.core.array.argmin — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.array.astype.html b/docs/build/html/python/_autosummary/mlx.core.array.astype.html
index 7b76aa42..851bae5b 100644
--- a/docs/build/html/python/_autosummary/mlx.core.array.astype.html
+++ b/docs/build/html/python/_autosummary/mlx.core.array.astype.html
@@ -9,7 +9,7 @@
- mlx.core.array.astype — MLX 0.3.0 documentation
+ mlx.core.array.astype — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.array.cos.html b/docs/build/html/python/_autosummary/mlx.core.array.cos.html
index af15a6cc..db896ca8 100644
--- a/docs/build/html/python/_autosummary/mlx.core.array.cos.html
+++ b/docs/build/html/python/_autosummary/mlx.core.array.cos.html
@@ -9,7 +9,7 @@
- mlx.core.array.cos — MLX 0.3.0 documentation
+ mlx.core.array.cos — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.array.dtype.html b/docs/build/html/python/_autosummary/mlx.core.array.dtype.html
index 8d921c24..2997dc00 100644
--- a/docs/build/html/python/_autosummary/mlx.core.array.dtype.html
+++ b/docs/build/html/python/_autosummary/mlx.core.array.dtype.html
@@ -9,7 +9,7 @@
- mlx.core.array.dtype — MLX 0.3.0 documentation
+ mlx.core.array.dtype — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.array.exp.html b/docs/build/html/python/_autosummary/mlx.core.array.exp.html
index 3d0b21eb..9866d594 100644
--- a/docs/build/html/python/_autosummary/mlx.core.array.exp.html
+++ b/docs/build/html/python/_autosummary/mlx.core.array.exp.html
@@ -9,7 +9,7 @@
- mlx.core.array.exp — MLX 0.3.0 documentation
+ mlx.core.array.exp — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.array.html b/docs/build/html/python/_autosummary/mlx.core.array.html
index a2573125..574338c2 100644
--- a/docs/build/html/python/_autosummary/mlx.core.array.html
+++ b/docs/build/html/python/_autosummary/mlx.core.array.html
@@ -9,7 +9,7 @@
- mlx.core.array — MLX 0.3.0 documentation
+ mlx.core.array — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.array.item.html b/docs/build/html/python/_autosummary/mlx.core.array.item.html
index 81b4093d..c189a9d2 100644
--- a/docs/build/html/python/_autosummary/mlx.core.array.item.html
+++ b/docs/build/html/python/_autosummary/mlx.core.array.item.html
@@ -9,7 +9,7 @@
- mlx.core.array.item — MLX 0.3.0 documentation
+ mlx.core.array.item — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.array.log.html b/docs/build/html/python/_autosummary/mlx.core.array.log.html
index 828651f0..256fafa3 100644
--- a/docs/build/html/python/_autosummary/mlx.core.array.log.html
+++ b/docs/build/html/python/_autosummary/mlx.core.array.log.html
@@ -9,7 +9,7 @@
- mlx.core.array.log — MLX 0.3.0 documentation
+ mlx.core.array.log — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.array.log1p.html b/docs/build/html/python/_autosummary/mlx.core.array.log1p.html
index 4bd42c97..deb25f3b 100644
--- a/docs/build/html/python/_autosummary/mlx.core.array.log1p.html
+++ b/docs/build/html/python/_autosummary/mlx.core.array.log1p.html
@@ -9,7 +9,7 @@
- mlx.core.array.log1p — MLX 0.3.0 documentation
+ mlx.core.array.log1p — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.array.logsumexp.html b/docs/build/html/python/_autosummary/mlx.core.array.logsumexp.html
index 7aa1b39e..5706e764 100644
--- a/docs/build/html/python/_autosummary/mlx.core.array.logsumexp.html
+++ b/docs/build/html/python/_autosummary/mlx.core.array.logsumexp.html
@@ -9,7 +9,7 @@
- mlx.core.array.logsumexp — MLX 0.3.0 documentation
+ mlx.core.array.logsumexp — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.array.max.html b/docs/build/html/python/_autosummary/mlx.core.array.max.html
index 6aeb95a3..9731b542 100644
--- a/docs/build/html/python/_autosummary/mlx.core.array.max.html
+++ b/docs/build/html/python/_autosummary/mlx.core.array.max.html
@@ -9,7 +9,7 @@
- mlx.core.array.max — MLX 0.3.0 documentation
+ mlx.core.array.max — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.array.mean.html b/docs/build/html/python/_autosummary/mlx.core.array.mean.html
index 293d503a..cfc4cbab 100644
--- a/docs/build/html/python/_autosummary/mlx.core.array.mean.html
+++ b/docs/build/html/python/_autosummary/mlx.core.array.mean.html
@@ -9,7 +9,7 @@
- mlx.core.array.mean — MLX 0.3.0 documentation
+ mlx.core.array.mean — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.array.min.html b/docs/build/html/python/_autosummary/mlx.core.array.min.html
index dff71c24..8268deec 100644
--- a/docs/build/html/python/_autosummary/mlx.core.array.min.html
+++ b/docs/build/html/python/_autosummary/mlx.core.array.min.html
@@ -9,7 +9,7 @@
- mlx.core.array.min — MLX 0.3.0 documentation
+ mlx.core.array.min — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.array.ndim.html b/docs/build/html/python/_autosummary/mlx.core.array.ndim.html
index 4bd6f259..21dcfac8 100644
--- a/docs/build/html/python/_autosummary/mlx.core.array.ndim.html
+++ b/docs/build/html/python/_autosummary/mlx.core.array.ndim.html
@@ -9,7 +9,7 @@
- mlx.core.array.ndim — MLX 0.3.0 documentation
+ mlx.core.array.ndim — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.array.prod.html b/docs/build/html/python/_autosummary/mlx.core.array.prod.html
index 503bc76b..d1014ccb 100644
--- a/docs/build/html/python/_autosummary/mlx.core.array.prod.html
+++ b/docs/build/html/python/_autosummary/mlx.core.array.prod.html
@@ -9,7 +9,7 @@
- mlx.core.array.prod — MLX 0.3.0 documentation
+ mlx.core.array.prod — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.array.reciprocal.html b/docs/build/html/python/_autosummary/mlx.core.array.reciprocal.html
index 9c57a5d5..8c401387 100644
--- a/docs/build/html/python/_autosummary/mlx.core.array.reciprocal.html
+++ b/docs/build/html/python/_autosummary/mlx.core.array.reciprocal.html
@@ -9,7 +9,7 @@
- mlx.core.array.reciprocal — MLX 0.3.0 documentation
+ mlx.core.array.reciprocal — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.array.reshape.html b/docs/build/html/python/_autosummary/mlx.core.array.reshape.html
index 995d3b52..18f646a6 100644
--- a/docs/build/html/python/_autosummary/mlx.core.array.reshape.html
+++ b/docs/build/html/python/_autosummary/mlx.core.array.reshape.html
@@ -9,7 +9,7 @@
- mlx.core.array.reshape — MLX 0.3.0 documentation
+ mlx.core.array.reshape — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.array.round.html b/docs/build/html/python/_autosummary/mlx.core.array.round.html
index a720e8f3..884ecb82 100644
--- a/docs/build/html/python/_autosummary/mlx.core.array.round.html
+++ b/docs/build/html/python/_autosummary/mlx.core.array.round.html
@@ -9,7 +9,7 @@
- mlx.core.array.round — MLX 0.3.0 documentation
+ mlx.core.array.round — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.array.rsqrt.html b/docs/build/html/python/_autosummary/mlx.core.array.rsqrt.html
index d2f4c1b5..c220bee9 100644
--- a/docs/build/html/python/_autosummary/mlx.core.array.rsqrt.html
+++ b/docs/build/html/python/_autosummary/mlx.core.array.rsqrt.html
@@ -9,7 +9,7 @@
- mlx.core.array.rsqrt — MLX 0.3.0 documentation
+ mlx.core.array.rsqrt — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.array.shape.html b/docs/build/html/python/_autosummary/mlx.core.array.shape.html
index e90b189a..d5fc1318 100644
--- a/docs/build/html/python/_autosummary/mlx.core.array.shape.html
+++ b/docs/build/html/python/_autosummary/mlx.core.array.shape.html
@@ -9,7 +9,7 @@
- mlx.core.array.shape — MLX 0.3.0 documentation
+ mlx.core.array.shape — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.array.sin.html b/docs/build/html/python/_autosummary/mlx.core.array.sin.html
index eb6a601f..a9483b77 100644
--- a/docs/build/html/python/_autosummary/mlx.core.array.sin.html
+++ b/docs/build/html/python/_autosummary/mlx.core.array.sin.html
@@ -9,7 +9,7 @@
- mlx.core.array.sin — MLX 0.3.0 documentation
+ mlx.core.array.sin — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.array.size.html b/docs/build/html/python/_autosummary/mlx.core.array.size.html
index 01aaaa11..d98848b6 100644
--- a/docs/build/html/python/_autosummary/mlx.core.array.size.html
+++ b/docs/build/html/python/_autosummary/mlx.core.array.size.html
@@ -9,7 +9,7 @@
- mlx.core.array.size — MLX 0.3.0 documentation
+ mlx.core.array.size — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.array.split.html b/docs/build/html/python/_autosummary/mlx.core.array.split.html
index ca70f4a9..2e04560a 100644
--- a/docs/build/html/python/_autosummary/mlx.core.array.split.html
+++ b/docs/build/html/python/_autosummary/mlx.core.array.split.html
@@ -9,7 +9,7 @@
- mlx.core.array.split — MLX 0.3.0 documentation
+ mlx.core.array.split — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.array.sqrt.html b/docs/build/html/python/_autosummary/mlx.core.array.sqrt.html
index 3272c44a..97c7053a 100644
--- a/docs/build/html/python/_autosummary/mlx.core.array.sqrt.html
+++ b/docs/build/html/python/_autosummary/mlx.core.array.sqrt.html
@@ -9,7 +9,7 @@
- mlx.core.array.sqrt — MLX 0.3.0 documentation
+ mlx.core.array.sqrt — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.array.square.html b/docs/build/html/python/_autosummary/mlx.core.array.square.html
index f3bf7a84..420f555a 100644
--- a/docs/build/html/python/_autosummary/mlx.core.array.square.html
+++ b/docs/build/html/python/_autosummary/mlx.core.array.square.html
@@ -9,7 +9,7 @@
- mlx.core.array.square — MLX 0.3.0 documentation
+ mlx.core.array.square — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.array.sum.html b/docs/build/html/python/_autosummary/mlx.core.array.sum.html
index 8dabf375..0871808f 100644
--- a/docs/build/html/python/_autosummary/mlx.core.array.sum.html
+++ b/docs/build/html/python/_autosummary/mlx.core.array.sum.html
@@ -9,7 +9,7 @@
- mlx.core.array.sum — MLX 0.3.0 documentation
+ mlx.core.array.sum — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.array.tolist.html b/docs/build/html/python/_autosummary/mlx.core.array.tolist.html
index 89789abe..2356631f 100644
--- a/docs/build/html/python/_autosummary/mlx.core.array.tolist.html
+++ b/docs/build/html/python/_autosummary/mlx.core.array.tolist.html
@@ -9,7 +9,7 @@
- mlx.core.array.tolist — MLX 0.3.0 documentation
+ mlx.core.array.tolist — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.array.transpose.html b/docs/build/html/python/_autosummary/mlx.core.array.transpose.html
index c3a1172e..edc4cf63 100644
--- a/docs/build/html/python/_autosummary/mlx.core.array.transpose.html
+++ b/docs/build/html/python/_autosummary/mlx.core.array.transpose.html
@@ -9,7 +9,7 @@
- mlx.core.array.transpose — MLX 0.3.0 documentation
+ mlx.core.array.transpose — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.array.var.html b/docs/build/html/python/_autosummary/mlx.core.array.var.html
index fbfae3d3..a892fc4b 100644
--- a/docs/build/html/python/_autosummary/mlx.core.array.var.html
+++ b/docs/build/html/python/_autosummary/mlx.core.array.var.html
@@ -9,7 +9,7 @@
- mlx.core.array.var — MLX 0.3.0 documentation
+ mlx.core.array.var — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.array_equal.html b/docs/build/html/python/_autosummary/mlx.core.array_equal.html
index 4a543eae..0e933d60 100644
--- a/docs/build/html/python/_autosummary/mlx.core.array_equal.html
+++ b/docs/build/html/python/_autosummary/mlx.core.array_equal.html
@@ -9,7 +9,7 @@
- mlx.core.array_equal — MLX 0.3.0 documentation
+ mlx.core.array_equal — MLX 0.5.0 documentation
@@ -46,7 +46,7 @@
-
+
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
@@ -738,11 +756,11 @@ Defaults to False
next
-
mlx.core.broadcast_to
+
mlx.core.atleast_1d
diff --git a/docs/build/html/python/_autosummary/mlx.core.atleast_1d.html b/docs/build/html/python/_autosummary/mlx.core.atleast_1d.html
new file mode 100644
index 00000000..1590e630
--- /dev/null
+++ b/docs/build/html/python/_autosummary/mlx.core.atleast_1d.html
@@ -0,0 +1,818 @@
+
+
+
+
+
+
+
+
+
+
+
+ mlx.core.atleast_1d — MLX 0.5.0 documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Skip to main content
+
+
+
+
+
+
+ Back to top
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
mlx.core.atleast_1d
+
+
+
+
+
+
+
+
+
+
+mlx.core.atleast_1d
+
+
+mlx.core. atleast_1d ( * arys : array , stream : Union [ None , Stream , Device ] = None ) → Union [ array , List [ array ] ]
+Convert all arrays to have at least one dimension.
+
+Parameters:
+
+
+Returns:
+An array or list of arrays with at least one dimension.
+
+Return type:
+array or list (array )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/build/html/python/_autosummary/mlx.core.atleast_2d.html b/docs/build/html/python/_autosummary/mlx.core.atleast_2d.html
new file mode 100644
index 00000000..50e3f8e0
--- /dev/null
+++ b/docs/build/html/python/_autosummary/mlx.core.atleast_2d.html
@@ -0,0 +1,818 @@
+
+
+
+
+
+
+
+
+
+
+
+ mlx.core.atleast_2d — MLX 0.5.0 documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Skip to main content
+
+
+
+
+
+
+ Back to top
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
mlx.core.atleast_2d
+
+
+
+
+
+
+
+
+
+
+mlx.core.atleast_2d
+
+
+mlx.core. atleast_2d ( * arys : array , stream : Union [ None , Stream , Device ] = None ) → Union [ array , List [ array ] ]
+Convert all arrays to have at least two dimensions.
+
+Parameters:
+
+
+Returns:
+An array or list of arrays with at least two dimensions.
+
+Return type:
+array or list (array )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/build/html/python/_autosummary/mlx.core.atleast_3d.html b/docs/build/html/python/_autosummary/mlx.core.atleast_3d.html
new file mode 100644
index 00000000..dc357d18
--- /dev/null
+++ b/docs/build/html/python/_autosummary/mlx.core.atleast_3d.html
@@ -0,0 +1,818 @@
+
+
+
+
+
+
+
+
+
+
+
+ mlx.core.atleast_3d — MLX 0.5.0 documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Skip to main content
+
+
+
+
+
+
+ Back to top
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
mlx.core.atleast_3d
+
+
+
+
+
+
+
+
+
+
+mlx.core.atleast_3d
+
+
+mlx.core. atleast_3d ( * arys : array , stream : Union [ None , Stream , Device ] = None ) → Union [ array , List [ array ] ]
+Convert all arrays to have at least three dimensions.
+
+Parameters:
+
+
+Returns:
+An array or list of arrays with at least three dimensions.
+
+Return type:
+array or list (array )
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/build/html/python/_autosummary/mlx.core.broadcast_to.html b/docs/build/html/python/_autosummary/mlx.core.broadcast_to.html
index 7cb111e2..efbe8a0e 100644
--- a/docs/build/html/python/_autosummary/mlx.core.broadcast_to.html
+++ b/docs/build/html/python/_autosummary/mlx.core.broadcast_to.html
@@ -9,7 +9,7 @@
- mlx.core.broadcast_to — MLX 0.3.0 documentation
+ mlx.core.broadcast_to — MLX 0.5.0 documentation
@@ -47,7 +47,7 @@
-
+
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
@@ -725,12 +743,12 @@ document.write(`
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.clip.html b/docs/build/html/python/_autosummary/mlx.core.clip.html
index ba61439d..d0c50238 100644
--- a/docs/build/html/python/_autosummary/mlx.core.clip.html
+++ b/docs/build/html/python/_autosummary/mlx.core.clip.html
@@ -9,7 +9,7 @@
- mlx.core.clip — MLX 0.3.0 documentation
+ mlx.core.clip — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.compile.html b/docs/build/html/python/_autosummary/mlx.core.compile.html
index 5422e81c..d12b9e31 100644
--- a/docs/build/html/python/_autosummary/mlx.core.compile.html
+++ b/docs/build/html/python/_autosummary/mlx.core.compile.html
@@ -9,7 +9,7 @@
- mlx.core.compile — MLX 0.3.0 documentation
+ mlx.core.compile — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
@@ -710,6 +728,12 @@ updated in a compiled function. The <
list or a dict containing arbitrarily nested lists,
dictionaries, or arrays. Leaf nodes that are not array are ignored.
Default: None
+shapeless (bool , optional ) – A function compiled with the shapeless
+option enabled will not be recompiled when the input shape changes. Not all
+functions can be compiled with shapeless enabled. Attempting to compile
+such functions with shapeless enabled will throw. Note, changing the number
+of dimensions or type of any input will result in a recompilation even with
+shapeless set to True . Default: False
Returns:
diff --git a/docs/build/html/python/_autosummary/mlx.core.concatenate.html b/docs/build/html/python/_autosummary/mlx.core.concatenate.html
index 26550280..364bc870 100644
--- a/docs/build/html/python/_autosummary/mlx.core.concatenate.html
+++ b/docs/build/html/python/_autosummary/mlx.core.concatenate.html
@@ -9,7 +9,7 @@
- mlx.core.concatenate — MLX 0.3.0 documentation
+ mlx.core.concatenate — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.conv1d.html b/docs/build/html/python/_autosummary/mlx.core.conv1d.html
index c5f53a5d..e5538f5a 100644
--- a/docs/build/html/python/_autosummary/mlx.core.conv1d.html
+++ b/docs/build/html/python/_autosummary/mlx.core.conv1d.html
@@ -9,7 +9,7 @@
- mlx.core.conv1d — MLX 0.3.0 documentation
+ mlx.core.conv1d — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.conv2d.html b/docs/build/html/python/_autosummary/mlx.core.conv2d.html
index 111aa635..d3cc4022 100644
--- a/docs/build/html/python/_autosummary/mlx.core.conv2d.html
+++ b/docs/build/html/python/_autosummary/mlx.core.conv2d.html
@@ -9,7 +9,7 @@
- mlx.core.conv2d — MLX 0.3.0 documentation
+ mlx.core.conv2d — MLX 0.5.0 documentation
@@ -46,7 +46,7 @@
-
+
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
@@ -692,7 +710,7 @@ document.write(`
mlx.core.conv2d
-mlx.core. conv2d ( input : array , weight : array , / , stride : Union [ int , Tuple [ int , int ] ] = 1 , padding : Union [ int , Tuple [ int , int ] ] = 0 , dilation : Union [ int , Tuple [ int , int ] ] = 1 , groups : Union [ int , Tuple [ int , int ] ] = 1 , * , stream : Union [ None , Stream , Device ] = None ) → array
+mlx.core. conv2d ( input : array , weight : array , / , stride : Union [ int , Tuple [ int , int ] ] = 1 , padding : Union [ int , Tuple [ int , int ] ] = 0 , dilation : Union [ int , Tuple [ int , int ] ] = 1 , groups : int = 1 , * , stream : Union [ None , Stream , Device ] = None ) → array
2D convolution over an input with several channels
Note: Only the default groups=1 is currently supported.
@@ -744,11 +762,11 @@ if only one number is specified. Default:
next
-
mlx.core.cos
+
mlx.core.conv_general
diff --git a/docs/build/html/python/_autosummary/mlx.core.conv_general.html b/docs/build/html/python/_autosummary/mlx.core.conv_general.html
new file mode 100644
index 00000000..ba554f8b
--- /dev/null
+++ b/docs/build/html/python/_autosummary/mlx.core.conv_general.html
@@ -0,0 +1,841 @@
+
+
+
+
+
+
+
+
+
+
+
+ mlx.core.conv_general — MLX 0.5.0 documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Skip to main content
+
+
+
+
+
+
+ Back to top
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
mlx.core.conv_general
+
+
+
+
+
+
+
+
+
+
+mlx.core.conv_general
+
+
+mlx.core. conv_general ( input : array , weight : array , / , stride : Union [ int , List [ int ] ] = 1 , padding : Union [ int , List [ int ] , Tuple [ List [ int ] , List [ int ] ] ] = 0 , kernel_dilation : Union [ int , List [ int ] ] = 1 , input_dilation : Union [ int , List [ int ] ] = 1 , groups : int = 1 , flip : bool = false , * , stream : Union [ None , Stream , Device ] = None ) → array
+General convolution over an input with several channels
+
+
+Parameters:
+
+input (array ) – Input array of shape (N, ..., C_in)
+weight (array ) – Weight array of shape (C_out, ..., C_in)
+stride (int or list ( int ) , optional ) – list with kernel strides.
+All spatial dimensions get the same stride if
+only one number is specified. Default: 1 .
+padding (int , list ( int ) , or tuple ( list ( int ) , list ( int ) ) , optional ) – list with input padding. All spatial dimensions get the same
+padding if only one number is specified. Default: 0 .
+kernel_dilation (int or list ( int ) , optional ) – list with
+kernel dilation. All spatial dimensions get the same dilation
+if only one number is specified. Default: 1
+input_dilation (int or list ( int ) , optional ) – list with
+input dilation. All spatial dimensions get the same dilation
+if only one number is specified. Default: 1
+groups (int , optional ) – Input feature groups. Default: 1 .
+flip (bool , optional ) – Flip the order in which the spatial dimensions of
+the weights are processed. Performs the cross-correlation operator when
+flip is False and the convolution operator otherwise.
+Default: False .
+
+
+Returns:
+The convolved array.
+
+Return type:
+array
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/build/html/python/_autosummary/mlx.core.convolve.html b/docs/build/html/python/_autosummary/mlx.core.convolve.html
index 32424506..09510a18 100644
--- a/docs/build/html/python/_autosummary/mlx.core.convolve.html
+++ b/docs/build/html/python/_autosummary/mlx.core.convolve.html
@@ -9,7 +9,7 @@
- mlx.core.convolve — MLX 0.3.0 documentation
+ mlx.core.convolve — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.cos.html b/docs/build/html/python/_autosummary/mlx.core.cos.html
index a21b0771..4c4253e7 100644
--- a/docs/build/html/python/_autosummary/mlx.core.cos.html
+++ b/docs/build/html/python/_autosummary/mlx.core.cos.html
@@ -9,7 +9,7 @@
- mlx.core.cos — MLX 0.3.0 documentation
+ mlx.core.cos — MLX 0.5.0 documentation
@@ -47,7 +47,7 @@
-
+
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
@@ -721,12 +739,12 @@ document.write(`
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.default_device.html b/docs/build/html/python/_autosummary/mlx.core.default_device.html
index 1aa75eee..14573a73 100644
--- a/docs/build/html/python/_autosummary/mlx.core.default_device.html
+++ b/docs/build/html/python/_autosummary/mlx.core.default_device.html
@@ -9,7 +9,7 @@
- mlx.core.default_device — MLX 0.3.0 documentation
+ mlx.core.default_device — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.default_stream.html b/docs/build/html/python/_autosummary/mlx.core.default_stream.html
index a8e92781..ea41f61d 100644
--- a/docs/build/html/python/_autosummary/mlx.core.default_stream.html
+++ b/docs/build/html/python/_autosummary/mlx.core.default_stream.html
@@ -9,7 +9,7 @@
- mlx.core.default_stream — MLX 0.3.0 documentation
+ mlx.core.default_stream — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.dequantize.html b/docs/build/html/python/_autosummary/mlx.core.dequantize.html
index 19780303..4794865c 100644
--- a/docs/build/html/python/_autosummary/mlx.core.dequantize.html
+++ b/docs/build/html/python/_autosummary/mlx.core.dequantize.html
@@ -9,7 +9,7 @@
- mlx.core.dequantize — MLX 0.3.0 documentation
+ mlx.core.dequantize — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.diag.html b/docs/build/html/python/_autosummary/mlx.core.diag.html
index 36665cbf..ca0b6dfd 100644
--- a/docs/build/html/python/_autosummary/mlx.core.diag.html
+++ b/docs/build/html/python/_autosummary/mlx.core.diag.html
@@ -9,7 +9,7 @@
- mlx.core.diag — MLX 0.3.0 documentation
+ mlx.core.diag — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.diagonal.html b/docs/build/html/python/_autosummary/mlx.core.diagonal.html
index b8b5af10..14b82b1f 100644
--- a/docs/build/html/python/_autosummary/mlx.core.diagonal.html
+++ b/docs/build/html/python/_autosummary/mlx.core.diagonal.html
@@ -9,7 +9,7 @@
- mlx.core.diagonal — MLX 0.3.0 documentation
+ mlx.core.diagonal — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.disable_compile.html b/docs/build/html/python/_autosummary/mlx.core.disable_compile.html
index 11b0431e..defc398c 100644
--- a/docs/build/html/python/_autosummary/mlx.core.disable_compile.html
+++ b/docs/build/html/python/_autosummary/mlx.core.disable_compile.html
@@ -9,7 +9,7 @@
- mlx.core.disable_compile — MLX 0.3.0 documentation
+ mlx.core.disable_compile — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.divide.html b/docs/build/html/python/_autosummary/mlx.core.divide.html
index 050d3a12..8821f910 100644
--- a/docs/build/html/python/_autosummary/mlx.core.divide.html
+++ b/docs/build/html/python/_autosummary/mlx.core.divide.html
@@ -9,7 +9,7 @@
- mlx.core.divide — MLX 0.3.0 documentation
+ mlx.core.divide — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.divmod.html b/docs/build/html/python/_autosummary/mlx.core.divmod.html
index 525c56ea..232b5d1f 100644
--- a/docs/build/html/python/_autosummary/mlx.core.divmod.html
+++ b/docs/build/html/python/_autosummary/mlx.core.divmod.html
@@ -9,7 +9,7 @@
- mlx.core.divmod — MLX 0.3.0 documentation
+ mlx.core.divmod — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.enable_compile.html b/docs/build/html/python/_autosummary/mlx.core.enable_compile.html
index 12f121fe..dc26c574 100644
--- a/docs/build/html/python/_autosummary/mlx.core.enable_compile.html
+++ b/docs/build/html/python/_autosummary/mlx.core.enable_compile.html
@@ -9,7 +9,7 @@
- mlx.core.enable_compile — MLX 0.3.0 documentation
+ mlx.core.enable_compile — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.equal.html b/docs/build/html/python/_autosummary/mlx.core.equal.html
index 30b911fd..b4ba99f7 100644
--- a/docs/build/html/python/_autosummary/mlx.core.equal.html
+++ b/docs/build/html/python/_autosummary/mlx.core.equal.html
@@ -9,7 +9,7 @@
- mlx.core.equal — MLX 0.3.0 documentation
+ mlx.core.equal — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.erf.html b/docs/build/html/python/_autosummary/mlx.core.erf.html
index a9dcb434..56233c80 100644
--- a/docs/build/html/python/_autosummary/mlx.core.erf.html
+++ b/docs/build/html/python/_autosummary/mlx.core.erf.html
@@ -9,7 +9,7 @@
- mlx.core.erf — MLX 0.3.0 documentation
+ mlx.core.erf — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.erfinv.html b/docs/build/html/python/_autosummary/mlx.core.erfinv.html
index 50c725a6..3ecd1683 100644
--- a/docs/build/html/python/_autosummary/mlx.core.erfinv.html
+++ b/docs/build/html/python/_autosummary/mlx.core.erfinv.html
@@ -9,7 +9,7 @@
- mlx.core.erfinv — MLX 0.3.0 documentation
+ mlx.core.erfinv — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.eval.html b/docs/build/html/python/_autosummary/mlx.core.eval.html
index aff1281f..4bb51d6b 100644
--- a/docs/build/html/python/_autosummary/mlx.core.eval.html
+++ b/docs/build/html/python/_autosummary/mlx.core.eval.html
@@ -9,7 +9,7 @@
- mlx.core.eval — MLX 0.3.0 documentation
+ mlx.core.eval — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.exp.html b/docs/build/html/python/_autosummary/mlx.core.exp.html
index 694606bb..e68261fa 100644
--- a/docs/build/html/python/_autosummary/mlx.core.exp.html
+++ b/docs/build/html/python/_autosummary/mlx.core.exp.html
@@ -9,7 +9,7 @@
- mlx.core.exp — MLX 0.3.0 documentation
+ mlx.core.exp — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.expand_dims.html b/docs/build/html/python/_autosummary/mlx.core.expand_dims.html
index a924fc27..f4770867 100644
--- a/docs/build/html/python/_autosummary/mlx.core.expand_dims.html
+++ b/docs/build/html/python/_autosummary/mlx.core.expand_dims.html
@@ -9,7 +9,7 @@
- mlx.core.expand_dims — MLX 0.3.0 documentation
+ mlx.core.expand_dims — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.eye.html b/docs/build/html/python/_autosummary/mlx.core.eye.html
index 2efeca66..8f63d85c 100644
--- a/docs/build/html/python/_autosummary/mlx.core.eye.html
+++ b/docs/build/html/python/_autosummary/mlx.core.eye.html
@@ -9,7 +9,7 @@
- mlx.core.eye — MLX 0.3.0 documentation
+ mlx.core.eye — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.fft.fft.html b/docs/build/html/python/_autosummary/mlx.core.fft.fft.html
index bdeab7dd..21756413 100644
--- a/docs/build/html/python/_autosummary/mlx.core.fft.fft.html
+++ b/docs/build/html/python/_autosummary/mlx.core.fft.fft.html
@@ -9,7 +9,7 @@
- mlx.core.fft.fft — MLX 0.3.0 documentation
+ mlx.core.fft.fft — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.fft.fft2.html b/docs/build/html/python/_autosummary/mlx.core.fft.fft2.html
index 85275403..94a2b46b 100644
--- a/docs/build/html/python/_autosummary/mlx.core.fft.fft2.html
+++ b/docs/build/html/python/_autosummary/mlx.core.fft.fft2.html
@@ -9,7 +9,7 @@
- mlx.core.fft.fft2 — MLX 0.3.0 documentation
+ mlx.core.fft.fft2 — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.fft.fftn.html b/docs/build/html/python/_autosummary/mlx.core.fft.fftn.html
index 465b1ae2..c71e0f1c 100644
--- a/docs/build/html/python/_autosummary/mlx.core.fft.fftn.html
+++ b/docs/build/html/python/_autosummary/mlx.core.fft.fftn.html
@@ -9,7 +9,7 @@
- mlx.core.fft.fftn — MLX 0.3.0 documentation
+ mlx.core.fft.fftn — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.fft.ifft.html b/docs/build/html/python/_autosummary/mlx.core.fft.ifft.html
index 0a5550dd..25ed3081 100644
--- a/docs/build/html/python/_autosummary/mlx.core.fft.ifft.html
+++ b/docs/build/html/python/_autosummary/mlx.core.fft.ifft.html
@@ -9,7 +9,7 @@
- mlx.core.fft.ifft — MLX 0.3.0 documentation
+ mlx.core.fft.ifft — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.fft.ifft2.html b/docs/build/html/python/_autosummary/mlx.core.fft.ifft2.html
index fcce1e28..37708ee2 100644
--- a/docs/build/html/python/_autosummary/mlx.core.fft.ifft2.html
+++ b/docs/build/html/python/_autosummary/mlx.core.fft.ifft2.html
@@ -9,7 +9,7 @@
- mlx.core.fft.ifft2 — MLX 0.3.0 documentation
+ mlx.core.fft.ifft2 — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.fft.ifftn.html b/docs/build/html/python/_autosummary/mlx.core.fft.ifftn.html
index f12b309a..c90e81fe 100644
--- a/docs/build/html/python/_autosummary/mlx.core.fft.ifftn.html
+++ b/docs/build/html/python/_autosummary/mlx.core.fft.ifftn.html
@@ -9,7 +9,7 @@
- mlx.core.fft.ifftn — MLX 0.3.0 documentation
+ mlx.core.fft.ifftn — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.fft.irfft.html b/docs/build/html/python/_autosummary/mlx.core.fft.irfft.html
index 055f93d1..6cf9307e 100644
--- a/docs/build/html/python/_autosummary/mlx.core.fft.irfft.html
+++ b/docs/build/html/python/_autosummary/mlx.core.fft.irfft.html
@@ -9,7 +9,7 @@
- mlx.core.fft.irfft — MLX 0.3.0 documentation
+ mlx.core.fft.irfft — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.fft.irfft2.html b/docs/build/html/python/_autosummary/mlx.core.fft.irfft2.html
index 7523f7dd..9db5e3d4 100644
--- a/docs/build/html/python/_autosummary/mlx.core.fft.irfft2.html
+++ b/docs/build/html/python/_autosummary/mlx.core.fft.irfft2.html
@@ -9,7 +9,7 @@
- mlx.core.fft.irfft2 — MLX 0.3.0 documentation
+ mlx.core.fft.irfft2 — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.fft.irfftn.html b/docs/build/html/python/_autosummary/mlx.core.fft.irfftn.html
index cc05f027..338c27e8 100644
--- a/docs/build/html/python/_autosummary/mlx.core.fft.irfftn.html
+++ b/docs/build/html/python/_autosummary/mlx.core.fft.irfftn.html
@@ -9,7 +9,7 @@
- mlx.core.fft.irfftn — MLX 0.3.0 documentation
+ mlx.core.fft.irfftn — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.fft.rfft.html b/docs/build/html/python/_autosummary/mlx.core.fft.rfft.html
index 2f59ec08..38d7f019 100644
--- a/docs/build/html/python/_autosummary/mlx.core.fft.rfft.html
+++ b/docs/build/html/python/_autosummary/mlx.core.fft.rfft.html
@@ -9,7 +9,7 @@
- mlx.core.fft.rfft — MLX 0.3.0 documentation
+ mlx.core.fft.rfft — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.fft.rfft2.html b/docs/build/html/python/_autosummary/mlx.core.fft.rfft2.html
index e05285a3..a3a5b239 100644
--- a/docs/build/html/python/_autosummary/mlx.core.fft.rfft2.html
+++ b/docs/build/html/python/_autosummary/mlx.core.fft.rfft2.html
@@ -9,7 +9,7 @@
- mlx.core.fft.rfft2 — MLX 0.3.0 documentation
+ mlx.core.fft.rfft2 — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.fft.rfftn.html b/docs/build/html/python/_autosummary/mlx.core.fft.rfftn.html
index aa72766e..1b774eb3 100644
--- a/docs/build/html/python/_autosummary/mlx.core.fft.rfftn.html
+++ b/docs/build/html/python/_autosummary/mlx.core.fft.rfftn.html
@@ -9,7 +9,7 @@
- mlx.core.fft.rfftn — MLX 0.3.0 documentation
+ mlx.core.fft.rfftn — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.flatten.html b/docs/build/html/python/_autosummary/mlx.core.flatten.html
index 55ace787..af90a00a 100644
--- a/docs/build/html/python/_autosummary/mlx.core.flatten.html
+++ b/docs/build/html/python/_autosummary/mlx.core.flatten.html
@@ -9,7 +9,7 @@
- mlx.core.flatten — MLX 0.3.0 documentation
+ mlx.core.flatten — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.floor.html b/docs/build/html/python/_autosummary/mlx.core.floor.html
index 8adc978b..e0788a1f 100644
--- a/docs/build/html/python/_autosummary/mlx.core.floor.html
+++ b/docs/build/html/python/_autosummary/mlx.core.floor.html
@@ -9,7 +9,7 @@
- mlx.core.floor — MLX 0.3.0 documentation
+ mlx.core.floor — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.floor_divide.html b/docs/build/html/python/_autosummary/mlx.core.floor_divide.html
index b7cff4f4..66ef566f 100644
--- a/docs/build/html/python/_autosummary/mlx.core.floor_divide.html
+++ b/docs/build/html/python/_autosummary/mlx.core.floor_divide.html
@@ -9,7 +9,7 @@
- mlx.core.floor_divide — MLX 0.3.0 documentation
+ mlx.core.floor_divide — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.full.html b/docs/build/html/python/_autosummary/mlx.core.full.html
index 893133cc..5f895dca 100644
--- a/docs/build/html/python/_autosummary/mlx.core.full.html
+++ b/docs/build/html/python/_autosummary/mlx.core.full.html
@@ -9,7 +9,7 @@
- mlx.core.full — MLX 0.3.0 documentation
+ mlx.core.full — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.grad.html b/docs/build/html/python/_autosummary/mlx.core.grad.html
index 0ad1b48d..a6268198 100644
--- a/docs/build/html/python/_autosummary/mlx.core.grad.html
+++ b/docs/build/html/python/_autosummary/mlx.core.grad.html
@@ -9,7 +9,7 @@
- mlx.core.grad — MLX 0.3.0 documentation
+ mlx.core.grad — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.greater.html b/docs/build/html/python/_autosummary/mlx.core.greater.html
index 1b6ca2af..c3430137 100644
--- a/docs/build/html/python/_autosummary/mlx.core.greater.html
+++ b/docs/build/html/python/_autosummary/mlx.core.greater.html
@@ -9,7 +9,7 @@
- mlx.core.greater — MLX 0.3.0 documentation
+ mlx.core.greater — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.greater_equal.html b/docs/build/html/python/_autosummary/mlx.core.greater_equal.html
index 33c0cb83..2cd3ee2d 100644
--- a/docs/build/html/python/_autosummary/mlx.core.greater_equal.html
+++ b/docs/build/html/python/_autosummary/mlx.core.greater_equal.html
@@ -9,7 +9,7 @@
- mlx.core.greater_equal — MLX 0.3.0 documentation
+ mlx.core.greater_equal — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.identity.html b/docs/build/html/python/_autosummary/mlx.core.identity.html
index e2f4435f..99da5b70 100644
--- a/docs/build/html/python/_autosummary/mlx.core.identity.html
+++ b/docs/build/html/python/_autosummary/mlx.core.identity.html
@@ -9,7 +9,7 @@
- mlx.core.identity — MLX 0.3.0 documentation
+ mlx.core.identity — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.inner.html b/docs/build/html/python/_autosummary/mlx.core.inner.html
index aa4f439d..69b8e80c 100644
--- a/docs/build/html/python/_autosummary/mlx.core.inner.html
+++ b/docs/build/html/python/_autosummary/mlx.core.inner.html
@@ -9,7 +9,7 @@
- mlx.core.inner — MLX 0.3.0 documentation
+ mlx.core.inner — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.isinf.html b/docs/build/html/python/_autosummary/mlx.core.isinf.html
index cf259782..c52260d9 100644
--- a/docs/build/html/python/_autosummary/mlx.core.isinf.html
+++ b/docs/build/html/python/_autosummary/mlx.core.isinf.html
@@ -9,7 +9,7 @@
- mlx.core.isinf — MLX 0.3.0 documentation
+ mlx.core.isinf — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.isnan.html b/docs/build/html/python/_autosummary/mlx.core.isnan.html
index 89d8acdd..ac55865a 100644
--- a/docs/build/html/python/_autosummary/mlx.core.isnan.html
+++ b/docs/build/html/python/_autosummary/mlx.core.isnan.html
@@ -9,7 +9,7 @@
- mlx.core.isnan — MLX 0.3.0 documentation
+ mlx.core.isnan — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.isneginf.html b/docs/build/html/python/_autosummary/mlx.core.isneginf.html
index 74712e5a..9c5154e0 100644
--- a/docs/build/html/python/_autosummary/mlx.core.isneginf.html
+++ b/docs/build/html/python/_autosummary/mlx.core.isneginf.html
@@ -9,7 +9,7 @@
- mlx.core.isneginf — MLX 0.3.0 documentation
+ mlx.core.isneginf — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.isposinf.html b/docs/build/html/python/_autosummary/mlx.core.isposinf.html
index 7aab20e3..209457cb 100644
--- a/docs/build/html/python/_autosummary/mlx.core.isposinf.html
+++ b/docs/build/html/python/_autosummary/mlx.core.isposinf.html
@@ -9,7 +9,7 @@
- mlx.core.isposinf — MLX 0.3.0 documentation
+ mlx.core.isposinf — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.jvp.html b/docs/build/html/python/_autosummary/mlx.core.jvp.html
index f6886e0d..991cc3a1 100644
--- a/docs/build/html/python/_autosummary/mlx.core.jvp.html
+++ b/docs/build/html/python/_autosummary/mlx.core.jvp.html
@@ -9,7 +9,7 @@
- mlx.core.jvp — MLX 0.3.0 documentation
+ mlx.core.jvp — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.less.html b/docs/build/html/python/_autosummary/mlx.core.less.html
index cf4f2753..b0dc348b 100644
--- a/docs/build/html/python/_autosummary/mlx.core.less.html
+++ b/docs/build/html/python/_autosummary/mlx.core.less.html
@@ -9,7 +9,7 @@
- mlx.core.less — MLX 0.3.0 documentation
+ mlx.core.less — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.less_equal.html b/docs/build/html/python/_autosummary/mlx.core.less_equal.html
index 2ca554a4..460165f5 100644
--- a/docs/build/html/python/_autosummary/mlx.core.less_equal.html
+++ b/docs/build/html/python/_autosummary/mlx.core.less_equal.html
@@ -9,7 +9,7 @@
- mlx.core.less_equal — MLX 0.3.0 documentation
+ mlx.core.less_equal — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.linalg.norm.html b/docs/build/html/python/_autosummary/mlx.core.linalg.norm.html
index bfa6f986..110934d9 100644
--- a/docs/build/html/python/_autosummary/mlx.core.linalg.norm.html
+++ b/docs/build/html/python/_autosummary/mlx.core.linalg.norm.html
@@ -9,7 +9,7 @@
- mlx.core.linalg.norm — MLX 0.3.0 documentation
+ mlx.core.linalg.norm — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.linalg.qr.html b/docs/build/html/python/_autosummary/mlx.core.linalg.qr.html
index 7be9bdcb..163a4592 100644
--- a/docs/build/html/python/_autosummary/mlx.core.linalg.qr.html
+++ b/docs/build/html/python/_autosummary/mlx.core.linalg.qr.html
@@ -9,7 +9,7 @@
- mlx.core.linalg.qr — MLX 0.3.0 documentation
+ mlx.core.linalg.qr — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.linspace.html b/docs/build/html/python/_autosummary/mlx.core.linspace.html
index 43b8198f..e6dfc5ec 100644
--- a/docs/build/html/python/_autosummary/mlx.core.linspace.html
+++ b/docs/build/html/python/_autosummary/mlx.core.linspace.html
@@ -9,7 +9,7 @@
- mlx.core.linspace — MLX 0.3.0 documentation
+ mlx.core.linspace — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.load.html b/docs/build/html/python/_autosummary/mlx.core.load.html
index 14f7ca1f..1c4bdf35 100644
--- a/docs/build/html/python/_autosummary/mlx.core.load.html
+++ b/docs/build/html/python/_autosummary/mlx.core.load.html
@@ -9,7 +9,7 @@
- mlx.core.load — MLX 0.3.0 documentation
+ mlx.core.load — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.log.html b/docs/build/html/python/_autosummary/mlx.core.log.html
index f3dc9d8c..8bea4d3a 100644
--- a/docs/build/html/python/_autosummary/mlx.core.log.html
+++ b/docs/build/html/python/_autosummary/mlx.core.log.html
@@ -9,7 +9,7 @@
- mlx.core.log — MLX 0.3.0 documentation
+ mlx.core.log — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.log10.html b/docs/build/html/python/_autosummary/mlx.core.log10.html
index da0cbe8e..a89639fc 100644
--- a/docs/build/html/python/_autosummary/mlx.core.log10.html
+++ b/docs/build/html/python/_autosummary/mlx.core.log10.html
@@ -9,7 +9,7 @@
- mlx.core.log10 — MLX 0.3.0 documentation
+ mlx.core.log10 — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.log1p.html b/docs/build/html/python/_autosummary/mlx.core.log1p.html
index 488363d9..89e8b239 100644
--- a/docs/build/html/python/_autosummary/mlx.core.log1p.html
+++ b/docs/build/html/python/_autosummary/mlx.core.log1p.html
@@ -9,7 +9,7 @@
- mlx.core.log1p — MLX 0.3.0 documentation
+ mlx.core.log1p — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.log2.html b/docs/build/html/python/_autosummary/mlx.core.log2.html
index ec083038..0005db98 100644
--- a/docs/build/html/python/_autosummary/mlx.core.log2.html
+++ b/docs/build/html/python/_autosummary/mlx.core.log2.html
@@ -9,7 +9,7 @@
- mlx.core.log2 — MLX 0.3.0 documentation
+ mlx.core.log2 — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.logaddexp.html b/docs/build/html/python/_autosummary/mlx.core.logaddexp.html
index 8c11b1f6..2ec66b72 100644
--- a/docs/build/html/python/_autosummary/mlx.core.logaddexp.html
+++ b/docs/build/html/python/_autosummary/mlx.core.logaddexp.html
@@ -9,7 +9,7 @@
- mlx.core.logaddexp — MLX 0.3.0 documentation
+ mlx.core.logaddexp — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.logical_and.html b/docs/build/html/python/_autosummary/mlx.core.logical_and.html
index a64dc504..1c6d9fcc 100644
--- a/docs/build/html/python/_autosummary/mlx.core.logical_and.html
+++ b/docs/build/html/python/_autosummary/mlx.core.logical_and.html
@@ -9,7 +9,7 @@
- mlx.core.logical_and — MLX 0.3.0 documentation
+ mlx.core.logical_and — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.logical_not.html b/docs/build/html/python/_autosummary/mlx.core.logical_not.html
index 2eb286f6..bf4484aa 100644
--- a/docs/build/html/python/_autosummary/mlx.core.logical_not.html
+++ b/docs/build/html/python/_autosummary/mlx.core.logical_not.html
@@ -9,7 +9,7 @@
- mlx.core.logical_not — MLX 0.3.0 documentation
+ mlx.core.logical_not — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.logical_or.html b/docs/build/html/python/_autosummary/mlx.core.logical_or.html
index 276302d7..ef084527 100644
--- a/docs/build/html/python/_autosummary/mlx.core.logical_or.html
+++ b/docs/build/html/python/_autosummary/mlx.core.logical_or.html
@@ -9,7 +9,7 @@
- mlx.core.logical_or — MLX 0.3.0 documentation
+ mlx.core.logical_or — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.logsumexp.html b/docs/build/html/python/_autosummary/mlx.core.logsumexp.html
index ab821568..0fa747d1 100644
--- a/docs/build/html/python/_autosummary/mlx.core.logsumexp.html
+++ b/docs/build/html/python/_autosummary/mlx.core.logsumexp.html
@@ -9,7 +9,7 @@
- mlx.core.logsumexp — MLX 0.3.0 documentation
+ mlx.core.logsumexp — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.matmul.html b/docs/build/html/python/_autosummary/mlx.core.matmul.html
index d49ccfdd..282dee6a 100644
--- a/docs/build/html/python/_autosummary/mlx.core.matmul.html
+++ b/docs/build/html/python/_autosummary/mlx.core.matmul.html
@@ -9,7 +9,7 @@
- mlx.core.matmul — MLX 0.3.0 documentation
+ mlx.core.matmul — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.max.html b/docs/build/html/python/_autosummary/mlx.core.max.html
index b7390e27..a9013f25 100644
--- a/docs/build/html/python/_autosummary/mlx.core.max.html
+++ b/docs/build/html/python/_autosummary/mlx.core.max.html
@@ -9,7 +9,7 @@
- mlx.core.max — MLX 0.3.0 documentation
+ mlx.core.max — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.maximum.html b/docs/build/html/python/_autosummary/mlx.core.maximum.html
index 1cc8119b..6a981ddc 100644
--- a/docs/build/html/python/_autosummary/mlx.core.maximum.html
+++ b/docs/build/html/python/_autosummary/mlx.core.maximum.html
@@ -9,7 +9,7 @@
- mlx.core.maximum — MLX 0.3.0 documentation
+ mlx.core.maximum — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.mean.html b/docs/build/html/python/_autosummary/mlx.core.mean.html
index 339b0c84..07cabce8 100644
--- a/docs/build/html/python/_autosummary/mlx.core.mean.html
+++ b/docs/build/html/python/_autosummary/mlx.core.mean.html
@@ -9,7 +9,7 @@
- mlx.core.mean — MLX 0.3.0 documentation
+ mlx.core.mean — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.min.html b/docs/build/html/python/_autosummary/mlx.core.min.html
index bc38b6a9..400fc5e1 100644
--- a/docs/build/html/python/_autosummary/mlx.core.min.html
+++ b/docs/build/html/python/_autosummary/mlx.core.min.html
@@ -9,7 +9,7 @@
- mlx.core.min — MLX 0.3.0 documentation
+ mlx.core.min — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.minimum.html b/docs/build/html/python/_autosummary/mlx.core.minimum.html
index 2fe027c0..704c9ce3 100644
--- a/docs/build/html/python/_autosummary/mlx.core.minimum.html
+++ b/docs/build/html/python/_autosummary/mlx.core.minimum.html
@@ -9,7 +9,7 @@
- mlx.core.minimum — MLX 0.3.0 documentation
+ mlx.core.minimum — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.moveaxis.html b/docs/build/html/python/_autosummary/mlx.core.moveaxis.html
index fc2844e6..68398406 100644
--- a/docs/build/html/python/_autosummary/mlx.core.moveaxis.html
+++ b/docs/build/html/python/_autosummary/mlx.core.moveaxis.html
@@ -9,7 +9,7 @@
- mlx.core.moveaxis — MLX 0.3.0 documentation
+ mlx.core.moveaxis — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.multiply.html b/docs/build/html/python/_autosummary/mlx.core.multiply.html
index a48b3d31..a5d1d600 100644
--- a/docs/build/html/python/_autosummary/mlx.core.multiply.html
+++ b/docs/build/html/python/_autosummary/mlx.core.multiply.html
@@ -9,7 +9,7 @@
- mlx.core.multiply — MLX 0.3.0 documentation
+ mlx.core.multiply — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.negative.html b/docs/build/html/python/_autosummary/mlx.core.negative.html
index 680528f6..6f3316f0 100644
--- a/docs/build/html/python/_autosummary/mlx.core.negative.html
+++ b/docs/build/html/python/_autosummary/mlx.core.negative.html
@@ -9,7 +9,7 @@
- mlx.core.negative — MLX 0.3.0 documentation
+ mlx.core.negative — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.new_stream.html b/docs/build/html/python/_autosummary/mlx.core.new_stream.html
index 99348719..2d91cb7e 100644
--- a/docs/build/html/python/_autosummary/mlx.core.new_stream.html
+++ b/docs/build/html/python/_autosummary/mlx.core.new_stream.html
@@ -9,7 +9,7 @@
- mlx.core.new_stream — MLX 0.3.0 documentation
+ mlx.core.new_stream — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.ones.html b/docs/build/html/python/_autosummary/mlx.core.ones.html
index 3fddd325..93fba374 100644
--- a/docs/build/html/python/_autosummary/mlx.core.ones.html
+++ b/docs/build/html/python/_autosummary/mlx.core.ones.html
@@ -9,7 +9,7 @@
- mlx.core.ones — MLX 0.3.0 documentation
+ mlx.core.ones — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.ones_like.html b/docs/build/html/python/_autosummary/mlx.core.ones_like.html
index 310e019a..0337ea30 100644
--- a/docs/build/html/python/_autosummary/mlx.core.ones_like.html
+++ b/docs/build/html/python/_autosummary/mlx.core.ones_like.html
@@ -9,7 +9,7 @@
- mlx.core.ones_like — MLX 0.3.0 documentation
+ mlx.core.ones_like — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.outer.html b/docs/build/html/python/_autosummary/mlx.core.outer.html
index 961149c9..a9f5dba6 100644
--- a/docs/build/html/python/_autosummary/mlx.core.outer.html
+++ b/docs/build/html/python/_autosummary/mlx.core.outer.html
@@ -9,7 +9,7 @@
- mlx.core.outer — MLX 0.3.0 documentation
+ mlx.core.outer — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.pad.html b/docs/build/html/python/_autosummary/mlx.core.pad.html
index bf893aa7..6bb25760 100644
--- a/docs/build/html/python/_autosummary/mlx.core.pad.html
+++ b/docs/build/html/python/_autosummary/mlx.core.pad.html
@@ -9,7 +9,7 @@
- mlx.core.pad — MLX 0.3.0 documentation
+ mlx.core.pad — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.partition.html b/docs/build/html/python/_autosummary/mlx.core.partition.html
index fa33b545..8d374f8c 100644
--- a/docs/build/html/python/_autosummary/mlx.core.partition.html
+++ b/docs/build/html/python/_autosummary/mlx.core.partition.html
@@ -9,7 +9,7 @@
- mlx.core.partition — MLX 0.3.0 documentation
+ mlx.core.partition — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.prod.html b/docs/build/html/python/_autosummary/mlx.core.prod.html
index 21b9becf..6257b40d 100644
--- a/docs/build/html/python/_autosummary/mlx.core.prod.html
+++ b/docs/build/html/python/_autosummary/mlx.core.prod.html
@@ -9,7 +9,7 @@
- mlx.core.prod — MLX 0.3.0 documentation
+ mlx.core.prod — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.quantize.html b/docs/build/html/python/_autosummary/mlx.core.quantize.html
index f6d60678..02f6ce13 100644
--- a/docs/build/html/python/_autosummary/mlx.core.quantize.html
+++ b/docs/build/html/python/_autosummary/mlx.core.quantize.html
@@ -9,7 +9,7 @@
- mlx.core.quantize — MLX 0.3.0 documentation
+ mlx.core.quantize — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.quantized_matmul.html b/docs/build/html/python/_autosummary/mlx.core.quantized_matmul.html
index eb9f93f4..6b8798a3 100644
--- a/docs/build/html/python/_autosummary/mlx.core.quantized_matmul.html
+++ b/docs/build/html/python/_autosummary/mlx.core.quantized_matmul.html
@@ -9,7 +9,7 @@
- mlx.core.quantized_matmul — MLX 0.3.0 documentation
+ mlx.core.quantized_matmul — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.random.bernoulli.html b/docs/build/html/python/_autosummary/mlx.core.random.bernoulli.html
index a585a0ca..1ceff3fa 100644
--- a/docs/build/html/python/_autosummary/mlx.core.random.bernoulli.html
+++ b/docs/build/html/python/_autosummary/mlx.core.random.bernoulli.html
@@ -9,7 +9,7 @@
- mlx.core.random.bernoulli — MLX 0.3.0 documentation
+ mlx.core.random.bernoulli — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.random.categorical.html b/docs/build/html/python/_autosummary/mlx.core.random.categorical.html
index 1902a24e..f5ca758e 100644
--- a/docs/build/html/python/_autosummary/mlx.core.random.categorical.html
+++ b/docs/build/html/python/_autosummary/mlx.core.random.categorical.html
@@ -9,7 +9,7 @@
- mlx.core.random.categorical — MLX 0.3.0 documentation
+ mlx.core.random.categorical — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.random.gumbel.html b/docs/build/html/python/_autosummary/mlx.core.random.gumbel.html
index df6e178f..1fe395b0 100644
--- a/docs/build/html/python/_autosummary/mlx.core.random.gumbel.html
+++ b/docs/build/html/python/_autosummary/mlx.core.random.gumbel.html
@@ -9,7 +9,7 @@
- mlx.core.random.gumbel — MLX 0.3.0 documentation
+ mlx.core.random.gumbel — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.random.key.html b/docs/build/html/python/_autosummary/mlx.core.random.key.html
index 99d92f92..98e1bee5 100644
--- a/docs/build/html/python/_autosummary/mlx.core.random.key.html
+++ b/docs/build/html/python/_autosummary/mlx.core.random.key.html
@@ -9,7 +9,7 @@
- mlx.core.random.key — MLX 0.3.0 documentation
+ mlx.core.random.key — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.random.normal.html b/docs/build/html/python/_autosummary/mlx.core.random.normal.html
index e1670c2b..cef54041 100644
--- a/docs/build/html/python/_autosummary/mlx.core.random.normal.html
+++ b/docs/build/html/python/_autosummary/mlx.core.random.normal.html
@@ -9,7 +9,7 @@
- mlx.core.random.normal — MLX 0.3.0 documentation
+ mlx.core.random.normal — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.random.randint.html b/docs/build/html/python/_autosummary/mlx.core.random.randint.html
index 999ea86b..298ecdc1 100644
--- a/docs/build/html/python/_autosummary/mlx.core.random.randint.html
+++ b/docs/build/html/python/_autosummary/mlx.core.random.randint.html
@@ -9,7 +9,7 @@
- mlx.core.random.randint — MLX 0.3.0 documentation
+ mlx.core.random.randint — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.random.seed.html b/docs/build/html/python/_autosummary/mlx.core.random.seed.html
index e9d15f35..a933a269 100644
--- a/docs/build/html/python/_autosummary/mlx.core.random.seed.html
+++ b/docs/build/html/python/_autosummary/mlx.core.random.seed.html
@@ -9,7 +9,7 @@
- mlx.core.random.seed — MLX 0.3.0 documentation
+ mlx.core.random.seed — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.random.split.html b/docs/build/html/python/_autosummary/mlx.core.random.split.html
index 1225eb1e..350a50bc 100644
--- a/docs/build/html/python/_autosummary/mlx.core.random.split.html
+++ b/docs/build/html/python/_autosummary/mlx.core.random.split.html
@@ -9,7 +9,7 @@
- mlx.core.random.split — MLX 0.3.0 documentation
+ mlx.core.random.split — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.random.truncated_normal.html b/docs/build/html/python/_autosummary/mlx.core.random.truncated_normal.html
index 43e85dc1..09d214bd 100644
--- a/docs/build/html/python/_autosummary/mlx.core.random.truncated_normal.html
+++ b/docs/build/html/python/_autosummary/mlx.core.random.truncated_normal.html
@@ -9,7 +9,7 @@
- mlx.core.random.truncated_normal — MLX 0.3.0 documentation
+ mlx.core.random.truncated_normal — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.random.uniform.html b/docs/build/html/python/_autosummary/mlx.core.random.uniform.html
index 038ec45c..e456cbc3 100644
--- a/docs/build/html/python/_autosummary/mlx.core.random.uniform.html
+++ b/docs/build/html/python/_autosummary/mlx.core.random.uniform.html
@@ -9,7 +9,7 @@
- mlx.core.random.uniform — MLX 0.3.0 documentation
+ mlx.core.random.uniform — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.reciprocal.html b/docs/build/html/python/_autosummary/mlx.core.reciprocal.html
index ed62ca79..e31e9b14 100644
--- a/docs/build/html/python/_autosummary/mlx.core.reciprocal.html
+++ b/docs/build/html/python/_autosummary/mlx.core.reciprocal.html
@@ -9,7 +9,7 @@
- mlx.core.reciprocal — MLX 0.3.0 documentation
+ mlx.core.reciprocal — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.repeat.html b/docs/build/html/python/_autosummary/mlx.core.repeat.html
index b5804e5d..bcd4913e 100644
--- a/docs/build/html/python/_autosummary/mlx.core.repeat.html
+++ b/docs/build/html/python/_autosummary/mlx.core.repeat.html
@@ -9,7 +9,7 @@
- mlx.core.repeat — MLX 0.3.0 documentation
+ mlx.core.repeat — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.reshape.html b/docs/build/html/python/_autosummary/mlx.core.reshape.html
index 1c32f4ea..5d9f9c6b 100644
--- a/docs/build/html/python/_autosummary/mlx.core.reshape.html
+++ b/docs/build/html/python/_autosummary/mlx.core.reshape.html
@@ -9,7 +9,7 @@
- mlx.core.reshape — MLX 0.3.0 documentation
+ mlx.core.reshape — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.round.html b/docs/build/html/python/_autosummary/mlx.core.round.html
index bc4d1ccb..918952cc 100644
--- a/docs/build/html/python/_autosummary/mlx.core.round.html
+++ b/docs/build/html/python/_autosummary/mlx.core.round.html
@@ -9,7 +9,7 @@
- mlx.core.round — MLX 0.3.0 documentation
+ mlx.core.round — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.rsqrt.html b/docs/build/html/python/_autosummary/mlx.core.rsqrt.html
index 8bbe2c47..55821d91 100644
--- a/docs/build/html/python/_autosummary/mlx.core.rsqrt.html
+++ b/docs/build/html/python/_autosummary/mlx.core.rsqrt.html
@@ -9,7 +9,7 @@
- mlx.core.rsqrt — MLX 0.3.0 documentation
+ mlx.core.rsqrt — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.save.html b/docs/build/html/python/_autosummary/mlx.core.save.html
index 9076c962..77b89a45 100644
--- a/docs/build/html/python/_autosummary/mlx.core.save.html
+++ b/docs/build/html/python/_autosummary/mlx.core.save.html
@@ -9,7 +9,7 @@
- mlx.core.save — MLX 0.3.0 documentation
+ mlx.core.save — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.save_gguf.html b/docs/build/html/python/_autosummary/mlx.core.save_gguf.html
index 1f4f739b..e78bbb75 100644
--- a/docs/build/html/python/_autosummary/mlx.core.save_gguf.html
+++ b/docs/build/html/python/_autosummary/mlx.core.save_gguf.html
@@ -9,7 +9,7 @@
- mlx.core.save_gguf — MLX 0.3.0 documentation
+ mlx.core.save_gguf — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.save_safetensors.html b/docs/build/html/python/_autosummary/mlx.core.save_safetensors.html
index 1eb5a0fe..e5e778f9 100644
--- a/docs/build/html/python/_autosummary/mlx.core.save_safetensors.html
+++ b/docs/build/html/python/_autosummary/mlx.core.save_safetensors.html
@@ -9,7 +9,7 @@
- mlx.core.save_safetensors — MLX 0.3.0 documentation
+ mlx.core.save_safetensors — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.savez.html b/docs/build/html/python/_autosummary/mlx.core.savez.html
index b14bc8b7..0576e90b 100644
--- a/docs/build/html/python/_autosummary/mlx.core.savez.html
+++ b/docs/build/html/python/_autosummary/mlx.core.savez.html
@@ -9,7 +9,7 @@
- mlx.core.savez — MLX 0.3.0 documentation
+ mlx.core.savez — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.savez_compressed.html b/docs/build/html/python/_autosummary/mlx.core.savez_compressed.html
index cffc648a..958e824c 100644
--- a/docs/build/html/python/_autosummary/mlx.core.savez_compressed.html
+++ b/docs/build/html/python/_autosummary/mlx.core.savez_compressed.html
@@ -9,7 +9,7 @@
- mlx.core.savez_compressed — MLX 0.3.0 documentation
+ mlx.core.savez_compressed — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.set_default_device.html b/docs/build/html/python/_autosummary/mlx.core.set_default_device.html
index 98670b07..8bcf3d3b 100644
--- a/docs/build/html/python/_autosummary/mlx.core.set_default_device.html
+++ b/docs/build/html/python/_autosummary/mlx.core.set_default_device.html
@@ -9,7 +9,7 @@
- mlx.core.set_default_device — MLX 0.3.0 documentation
+ mlx.core.set_default_device — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.set_default_stream.html b/docs/build/html/python/_autosummary/mlx.core.set_default_stream.html
index 51185f25..11de5a82 100644
--- a/docs/build/html/python/_autosummary/mlx.core.set_default_stream.html
+++ b/docs/build/html/python/_autosummary/mlx.core.set_default_stream.html
@@ -9,7 +9,7 @@
- mlx.core.set_default_stream — MLX 0.3.0 documentation
+ mlx.core.set_default_stream — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.sigmoid.html b/docs/build/html/python/_autosummary/mlx.core.sigmoid.html
index f9667e08..c1f24a0b 100644
--- a/docs/build/html/python/_autosummary/mlx.core.sigmoid.html
+++ b/docs/build/html/python/_autosummary/mlx.core.sigmoid.html
@@ -9,7 +9,7 @@
- mlx.core.sigmoid — MLX 0.3.0 documentation
+ mlx.core.sigmoid — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.sign.html b/docs/build/html/python/_autosummary/mlx.core.sign.html
index 5beaab9a..7dcbed32 100644
--- a/docs/build/html/python/_autosummary/mlx.core.sign.html
+++ b/docs/build/html/python/_autosummary/mlx.core.sign.html
@@ -9,7 +9,7 @@
- mlx.core.sign — MLX 0.3.0 documentation
+ mlx.core.sign — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.sin.html b/docs/build/html/python/_autosummary/mlx.core.sin.html
index a8167615..a90d1f8e 100644
--- a/docs/build/html/python/_autosummary/mlx.core.sin.html
+++ b/docs/build/html/python/_autosummary/mlx.core.sin.html
@@ -9,7 +9,7 @@
- mlx.core.sin — MLX 0.3.0 documentation
+ mlx.core.sin — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.sinh.html b/docs/build/html/python/_autosummary/mlx.core.sinh.html
index e18f3fdc..a7176094 100644
--- a/docs/build/html/python/_autosummary/mlx.core.sinh.html
+++ b/docs/build/html/python/_autosummary/mlx.core.sinh.html
@@ -9,7 +9,7 @@
- mlx.core.sinh — MLX 0.3.0 documentation
+ mlx.core.sinh — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.softmax.html b/docs/build/html/python/_autosummary/mlx.core.softmax.html
index 8b073a71..0462a904 100644
--- a/docs/build/html/python/_autosummary/mlx.core.softmax.html
+++ b/docs/build/html/python/_autosummary/mlx.core.softmax.html
@@ -9,7 +9,7 @@
- mlx.core.softmax — MLX 0.3.0 documentation
+ mlx.core.softmax — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.sort.html b/docs/build/html/python/_autosummary/mlx.core.sort.html
index 11fce53a..36182008 100644
--- a/docs/build/html/python/_autosummary/mlx.core.sort.html
+++ b/docs/build/html/python/_autosummary/mlx.core.sort.html
@@ -9,7 +9,7 @@
- mlx.core.sort — MLX 0.3.0 documentation
+ mlx.core.sort — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.split.html b/docs/build/html/python/_autosummary/mlx.core.split.html
index b2d68cca..bd5e54a3 100644
--- a/docs/build/html/python/_autosummary/mlx.core.split.html
+++ b/docs/build/html/python/_autosummary/mlx.core.split.html
@@ -9,7 +9,7 @@
- mlx.core.split — MLX 0.3.0 documentation
+ mlx.core.split — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.sqrt.html b/docs/build/html/python/_autosummary/mlx.core.sqrt.html
index 23b49d36..63770d22 100644
--- a/docs/build/html/python/_autosummary/mlx.core.sqrt.html
+++ b/docs/build/html/python/_autosummary/mlx.core.sqrt.html
@@ -9,7 +9,7 @@
- mlx.core.sqrt — MLX 0.3.0 documentation
+ mlx.core.sqrt — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.square.html b/docs/build/html/python/_autosummary/mlx.core.square.html
index de018ad8..e508613d 100644
--- a/docs/build/html/python/_autosummary/mlx.core.square.html
+++ b/docs/build/html/python/_autosummary/mlx.core.square.html
@@ -9,7 +9,7 @@
- mlx.core.square — MLX 0.3.0 documentation
+ mlx.core.square — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.squeeze.html b/docs/build/html/python/_autosummary/mlx.core.squeeze.html
index 3f820b66..e693fee7 100644
--- a/docs/build/html/python/_autosummary/mlx.core.squeeze.html
+++ b/docs/build/html/python/_autosummary/mlx.core.squeeze.html
@@ -9,7 +9,7 @@
- mlx.core.squeeze — MLX 0.3.0 documentation
+ mlx.core.squeeze — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.stack.html b/docs/build/html/python/_autosummary/mlx.core.stack.html
index d779bf9f..eec7cd45 100644
--- a/docs/build/html/python/_autosummary/mlx.core.stack.html
+++ b/docs/build/html/python/_autosummary/mlx.core.stack.html
@@ -9,7 +9,7 @@
- mlx.core.stack — MLX 0.3.0 documentation
+ mlx.core.stack — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.stop_gradient.html b/docs/build/html/python/_autosummary/mlx.core.stop_gradient.html
index a7d97b76..c7a8a12c 100644
--- a/docs/build/html/python/_autosummary/mlx.core.stop_gradient.html
+++ b/docs/build/html/python/_autosummary/mlx.core.stop_gradient.html
@@ -9,7 +9,7 @@
- mlx.core.stop_gradient — MLX 0.3.0 documentation
+ mlx.core.stop_gradient — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.subtract.html b/docs/build/html/python/_autosummary/mlx.core.subtract.html
index 60141eda..7c0825ca 100644
--- a/docs/build/html/python/_autosummary/mlx.core.subtract.html
+++ b/docs/build/html/python/_autosummary/mlx.core.subtract.html
@@ -9,7 +9,7 @@
- mlx.core.subtract — MLX 0.3.0 documentation
+ mlx.core.subtract — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.sum.html b/docs/build/html/python/_autosummary/mlx.core.sum.html
index 18cd1c76..a4673158 100644
--- a/docs/build/html/python/_autosummary/mlx.core.sum.html
+++ b/docs/build/html/python/_autosummary/mlx.core.sum.html
@@ -9,7 +9,7 @@
- mlx.core.sum — MLX 0.3.0 documentation
+ mlx.core.sum — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.swapaxes.html b/docs/build/html/python/_autosummary/mlx.core.swapaxes.html
index c01fa0d9..6918fa60 100644
--- a/docs/build/html/python/_autosummary/mlx.core.swapaxes.html
+++ b/docs/build/html/python/_autosummary/mlx.core.swapaxes.html
@@ -9,7 +9,7 @@
- mlx.core.swapaxes — MLX 0.3.0 documentation
+ mlx.core.swapaxes — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.take.html b/docs/build/html/python/_autosummary/mlx.core.take.html
index e4970d96..bf8de13c 100644
--- a/docs/build/html/python/_autosummary/mlx.core.take.html
+++ b/docs/build/html/python/_autosummary/mlx.core.take.html
@@ -9,7 +9,7 @@
- mlx.core.take — MLX 0.3.0 documentation
+ mlx.core.take — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.take_along_axis.html b/docs/build/html/python/_autosummary/mlx.core.take_along_axis.html
index dd552e8b..4298ea13 100644
--- a/docs/build/html/python/_autosummary/mlx.core.take_along_axis.html
+++ b/docs/build/html/python/_autosummary/mlx.core.take_along_axis.html
@@ -9,7 +9,7 @@
- mlx.core.take_along_axis — MLX 0.3.0 documentation
+ mlx.core.take_along_axis — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.tan.html b/docs/build/html/python/_autosummary/mlx.core.tan.html
index afee7caa..22ca97db 100644
--- a/docs/build/html/python/_autosummary/mlx.core.tan.html
+++ b/docs/build/html/python/_autosummary/mlx.core.tan.html
@@ -9,7 +9,7 @@
- mlx.core.tan — MLX 0.3.0 documentation
+ mlx.core.tan — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.tanh.html b/docs/build/html/python/_autosummary/mlx.core.tanh.html
index a64469f6..59e112b8 100644
--- a/docs/build/html/python/_autosummary/mlx.core.tanh.html
+++ b/docs/build/html/python/_autosummary/mlx.core.tanh.html
@@ -9,7 +9,7 @@
- mlx.core.tanh — MLX 0.3.0 documentation
+ mlx.core.tanh — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.tensordot.html b/docs/build/html/python/_autosummary/mlx.core.tensordot.html
index 62c2f829..11a1a4fd 100644
--- a/docs/build/html/python/_autosummary/mlx.core.tensordot.html
+++ b/docs/build/html/python/_autosummary/mlx.core.tensordot.html
@@ -9,7 +9,7 @@
- mlx.core.tensordot — MLX 0.3.0 documentation
+ mlx.core.tensordot — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.transpose.html b/docs/build/html/python/_autosummary/mlx.core.transpose.html
index 14c38a91..661f87a2 100644
--- a/docs/build/html/python/_autosummary/mlx.core.transpose.html
+++ b/docs/build/html/python/_autosummary/mlx.core.transpose.html
@@ -9,7 +9,7 @@
- mlx.core.transpose — MLX 0.3.0 documentation
+ mlx.core.transpose — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.tri.html b/docs/build/html/python/_autosummary/mlx.core.tri.html
index c95a7902..c42381da 100644
--- a/docs/build/html/python/_autosummary/mlx.core.tri.html
+++ b/docs/build/html/python/_autosummary/mlx.core.tri.html
@@ -9,7 +9,7 @@
- mlx.core.tri — MLX 0.3.0 documentation
+ mlx.core.tri — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.tril.html b/docs/build/html/python/_autosummary/mlx.core.tril.html
index 6bfb3d99..3ffb72b9 100644
--- a/docs/build/html/python/_autosummary/mlx.core.tril.html
+++ b/docs/build/html/python/_autosummary/mlx.core.tril.html
@@ -9,7 +9,7 @@
- mlx.core.tril — MLX 0.3.0 documentation
+ mlx.core.tril — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.triu.html b/docs/build/html/python/_autosummary/mlx.core.triu.html
index 295018b6..c878bf14 100644
--- a/docs/build/html/python/_autosummary/mlx.core.triu.html
+++ b/docs/build/html/python/_autosummary/mlx.core.triu.html
@@ -9,7 +9,7 @@
- mlx.core.triu — MLX 0.3.0 documentation
+ mlx.core.triu — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.value_and_grad.html b/docs/build/html/python/_autosummary/mlx.core.value_and_grad.html
index 0633407e..f5fe4a2e 100644
--- a/docs/build/html/python/_autosummary/mlx.core.value_and_grad.html
+++ b/docs/build/html/python/_autosummary/mlx.core.value_and_grad.html
@@ -9,7 +9,7 @@
- mlx.core.value_and_grad — MLX 0.3.0 documentation
+ mlx.core.value_and_grad — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.var.html b/docs/build/html/python/_autosummary/mlx.core.var.html
index d2ed601a..377c521f 100644
--- a/docs/build/html/python/_autosummary/mlx.core.var.html
+++ b/docs/build/html/python/_autosummary/mlx.core.var.html
@@ -9,7 +9,7 @@
- mlx.core.var — MLX 0.3.0 documentation
+ mlx.core.var — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.vjp.html b/docs/build/html/python/_autosummary/mlx.core.vjp.html
index 3b7a9273..30c8c441 100644
--- a/docs/build/html/python/_autosummary/mlx.core.vjp.html
+++ b/docs/build/html/python/_autosummary/mlx.core.vjp.html
@@ -9,7 +9,7 @@
- mlx.core.vjp — MLX 0.3.0 documentation
+ mlx.core.vjp — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.vmap.html b/docs/build/html/python/_autosummary/mlx.core.vmap.html
index 4ca0db63..60ca4fea 100644
--- a/docs/build/html/python/_autosummary/mlx.core.vmap.html
+++ b/docs/build/html/python/_autosummary/mlx.core.vmap.html
@@ -9,7 +9,7 @@
- mlx.core.vmap — MLX 0.3.0 documentation
+ mlx.core.vmap — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.where.html b/docs/build/html/python/_autosummary/mlx.core.where.html
index c72e1f8e..5ceaabdc 100644
--- a/docs/build/html/python/_autosummary/mlx.core.where.html
+++ b/docs/build/html/python/_autosummary/mlx.core.where.html
@@ -9,7 +9,7 @@
- mlx.core.where — MLX 0.3.0 documentation
+ mlx.core.where — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.zeros.html b/docs/build/html/python/_autosummary/mlx.core.zeros.html
index c6b209a5..61638367 100644
--- a/docs/build/html/python/_autosummary/mlx.core.zeros.html
+++ b/docs/build/html/python/_autosummary/mlx.core.zeros.html
@@ -9,7 +9,7 @@
- mlx.core.zeros — MLX 0.3.0 documentation
+ mlx.core.zeros — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.core.zeros_like.html b/docs/build/html/python/_autosummary/mlx.core.zeros_like.html
index e91754c5..9b9f9f5b 100644
--- a/docs/build/html/python/_autosummary/mlx.core.zeros_like.html
+++ b/docs/build/html/python/_autosummary/mlx.core.zeros_like.html
@@ -9,7 +9,7 @@
- mlx.core.zeros_like — MLX 0.3.0 documentation
+ mlx.core.zeros_like — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.nn.value_and_grad.html b/docs/build/html/python/_autosummary/mlx.nn.value_and_grad.html
index fe2baddc..f331e2a8 100644
--- a/docs/build/html/python/_autosummary/mlx.nn.value_and_grad.html
+++ b/docs/build/html/python/_autosummary/mlx.nn.value_and_grad.html
@@ -9,7 +9,7 @@
- mlx.nn.value_and_grad — MLX 0.3.0 documentation
+ mlx.nn.value_and_grad — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.utils.tree_flatten.html b/docs/build/html/python/_autosummary/mlx.utils.tree_flatten.html
index 9ea432f2..d5bb8265 100644
--- a/docs/build/html/python/_autosummary/mlx.utils.tree_flatten.html
+++ b/docs/build/html/python/_autosummary/mlx.utils.tree_flatten.html
@@ -9,7 +9,7 @@
- mlx.utils.tree_flatten — MLX 0.3.0 documentation
+ mlx.utils.tree_flatten — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.utils.tree_map.html b/docs/build/html/python/_autosummary/mlx.utils.tree_map.html
index ca14f794..96c0d94e 100644
--- a/docs/build/html/python/_autosummary/mlx.utils.tree_map.html
+++ b/docs/build/html/python/_autosummary/mlx.utils.tree_map.html
@@ -9,7 +9,7 @@
- mlx.utils.tree_map — MLX 0.3.0 documentation
+ mlx.utils.tree_map — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/mlx.utils.tree_unflatten.html b/docs/build/html/python/_autosummary/mlx.utils.tree_unflatten.html
index b99d36b6..56daaed0 100644
--- a/docs/build/html/python/_autosummary/mlx.utils.tree_unflatten.html
+++ b/docs/build/html/python/_autosummary/mlx.utils.tree_unflatten.html
@@ -9,7 +9,7 @@
- mlx.utils.tree_unflatten — MLX 0.3.0 documentation
+ mlx.utils.tree_unflatten — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/_autosummary/stream_class.html b/docs/build/html/python/_autosummary/stream_class.html
index a01ff105..a8f9d7d3 100644
--- a/docs/build/html/python/_autosummary/stream_class.html
+++ b/docs/build/html/python/_autosummary/stream_class.html
@@ -9,7 +9,7 @@
- mlx.core.Stream — MLX 0.3.0 documentation
+ mlx.core.Stream — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/array.html b/docs/build/html/python/array.html
index 7308778a..d09955a1 100644
--- a/docs/build/html/python/array.html
+++ b/docs/build/html/python/array.html
@@ -9,7 +9,7 @@
- Array — MLX 0.3.0 documentation
+ Array — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/data_types.html b/docs/build/html/python/data_types.html
index 54ba6106..2e832d52 100644
--- a/docs/build/html/python/data_types.html
+++ b/docs/build/html/python/data_types.html
@@ -9,7 +9,7 @@
- Data Types — MLX 0.3.0 documentation
+ Data Types — MLX 0.5.0 documentation
@@ -132,8 +132,8 @@
-
-
+
+
@@ -231,6 +231,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -238,6 +241,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -434,19 +438,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/devices_and_streams.html b/docs/build/html/python/devices_and_streams.html
index 668aa416..fbf5ac07 100644
--- a/docs/build/html/python/devices_and_streams.html
+++ b/docs/build/html/python/devices_and_streams.html
@@ -9,7 +9,7 @@
- Devices and Streams — MLX 0.3.0 documentation
+ Devices and Streams — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/fft.html b/docs/build/html/python/fft.html
index e21706fb..94cf3b1d 100644
--- a/docs/build/html/python/fft.html
+++ b/docs/build/html/python/fft.html
@@ -9,7 +9,7 @@
- FFT — MLX 0.3.0 documentation
+ FFT — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/linalg.html b/docs/build/html/python/linalg.html
index 7a148085..6cffa9ca 100644
--- a/docs/build/html/python/linalg.html
+++ b/docs/build/html/python/linalg.html
@@ -9,7 +9,7 @@
- Linear Algebra — MLX 0.3.0 documentation
+ Linear Algebra — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn.html b/docs/build/html/python/nn.html
index e2c921ac..078911e3 100644
--- a/docs/build/html/python/nn.html
+++ b/docs/build/html/python/nn.html
@@ -9,7 +9,7 @@
- Neural Networks — MLX 0.3.0 documentation
+ Neural Networks — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
@@ -910,19 +928,31 @@ parameters as the first argument to the function returned by
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.ALiBi.html b/docs/build/html/python/nn/_autosummary/mlx.nn.ALiBi.html
index 9434770b..ae82f1b6 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.ALiBi.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.ALiBi.html
@@ -9,7 +9,7 @@
- mlx.nn.ALiBi — MLX 0.3.0 documentation
+ mlx.nn.ALiBi — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.AvgPool1d.html b/docs/build/html/python/nn/_autosummary/mlx.nn.AvgPool1d.html
index cb44cfd6..d98165a9 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.AvgPool1d.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.AvgPool1d.html
@@ -9,7 +9,7 @@
- mlx.nn.AvgPool1d — MLX 0.3.0 documentation
+ mlx.nn.AvgPool1d — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.AvgPool2d.html b/docs/build/html/python/nn/_autosummary/mlx.nn.AvgPool2d.html
index 780bd7a3..a0f626aa 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.AvgPool2d.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.AvgPool2d.html
@@ -9,7 +9,7 @@
- mlx.nn.AvgPool2d — MLX 0.3.0 documentation
+ mlx.nn.AvgPool2d — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.BatchNorm.html b/docs/build/html/python/nn/_autosummary/mlx.nn.BatchNorm.html
index f5588e75..4841c6d2 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.BatchNorm.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.BatchNorm.html
@@ -9,7 +9,7 @@
- mlx.nn.BatchNorm — MLX 0.3.0 documentation
+ mlx.nn.BatchNorm — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.Conv1d.html b/docs/build/html/python/nn/_autosummary/mlx.nn.Conv1d.html
index 3b48b13d..64102937 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.Conv1d.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.Conv1d.html
@@ -9,7 +9,7 @@
- mlx.nn.Conv1d — MLX 0.3.0 documentation
+ mlx.nn.Conv1d — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.Conv2d.html b/docs/build/html/python/nn/_autosummary/mlx.nn.Conv2d.html
index 5841eff7..1ec90e78 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.Conv2d.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.Conv2d.html
@@ -9,7 +9,7 @@
- mlx.nn.Conv2d — MLX 0.3.0 documentation
+ mlx.nn.Conv2d — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.Dropout.html b/docs/build/html/python/nn/_autosummary/mlx.nn.Dropout.html
index a38cf01a..c44cbde1 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.Dropout.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.Dropout.html
@@ -9,7 +9,7 @@
- mlx.nn.Dropout — MLX 0.3.0 documentation
+ mlx.nn.Dropout — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.Dropout2d.html b/docs/build/html/python/nn/_autosummary/mlx.nn.Dropout2d.html
index 4edb559d..638ee567 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.Dropout2d.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.Dropout2d.html
@@ -9,7 +9,7 @@
- mlx.nn.Dropout2d — MLX 0.3.0 documentation
+ mlx.nn.Dropout2d — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.Dropout3d.html b/docs/build/html/python/nn/_autosummary/mlx.nn.Dropout3d.html
index 1f638c51..0c4d0a91 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.Dropout3d.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.Dropout3d.html
@@ -9,7 +9,7 @@
- mlx.nn.Dropout3d — MLX 0.3.0 documentation
+ mlx.nn.Dropout3d — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.Embedding.html b/docs/build/html/python/nn/_autosummary/mlx.nn.Embedding.html
index f5bfd767..bb09b19a 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.Embedding.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.Embedding.html
@@ -9,7 +9,7 @@
- mlx.nn.Embedding — MLX 0.3.0 documentation
+ mlx.nn.Embedding — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.GELU.html b/docs/build/html/python/nn/_autosummary/mlx.nn.GELU.html
index f06269a7..7cb33ba7 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.GELU.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.GELU.html
@@ -9,7 +9,7 @@
- mlx.nn.GELU — MLX 0.3.0 documentation
+ mlx.nn.GELU — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.GroupNorm.html b/docs/build/html/python/nn/_autosummary/mlx.nn.GroupNorm.html
index edeb81c9..ed2e1a16 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.GroupNorm.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.GroupNorm.html
@@ -9,7 +9,7 @@
- mlx.nn.GroupNorm — MLX 0.3.0 documentation
+ mlx.nn.GroupNorm — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.InstanceNorm.html b/docs/build/html/python/nn/_autosummary/mlx.nn.InstanceNorm.html
index 8c438734..2f11687f 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.InstanceNorm.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.InstanceNorm.html
@@ -9,7 +9,7 @@
- mlx.nn.InstanceNorm — MLX 0.3.0 documentation
+ mlx.nn.InstanceNorm — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.LayerNorm.html b/docs/build/html/python/nn/_autosummary/mlx.nn.LayerNorm.html
index f7910cd6..9bc20519 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.LayerNorm.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.LayerNorm.html
@@ -9,7 +9,7 @@
- mlx.nn.LayerNorm — MLX 0.3.0 documentation
+ mlx.nn.LayerNorm — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.Linear.html b/docs/build/html/python/nn/_autosummary/mlx.nn.Linear.html
index c112226d..e6b32a19 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.Linear.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.Linear.html
@@ -9,7 +9,7 @@
- mlx.nn.Linear — MLX 0.3.0 documentation
+ mlx.nn.Linear — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.MaxPool1d.html b/docs/build/html/python/nn/_autosummary/mlx.nn.MaxPool1d.html
index 0b711006..042fa0f6 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.MaxPool1d.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.MaxPool1d.html
@@ -9,7 +9,7 @@
- mlx.nn.MaxPool1d — MLX 0.3.0 documentation
+ mlx.nn.MaxPool1d — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.MaxPool2d.html b/docs/build/html/python/nn/_autosummary/mlx.nn.MaxPool2d.html
index 65f96c8f..2bed96b9 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.MaxPool2d.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.MaxPool2d.html
@@ -9,7 +9,7 @@
- mlx.nn.MaxPool2d — MLX 0.3.0 documentation
+ mlx.nn.MaxPool2d — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.Mish.html b/docs/build/html/python/nn/_autosummary/mlx.nn.Mish.html
index fc7086cc..e06900f9 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.Mish.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.Mish.html
@@ -9,7 +9,7 @@
- mlx.nn.Mish — MLX 0.3.0 documentation
+ mlx.nn.Mish — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
@@ -694,8 +712,7 @@ document.write(`
class mlx.nn. Mish
-Applies the Mish function, element-wise.
-Mish: A Self Regularized Non-Monotonic Neural Activation Function.
+Applies the Mish function, element-wise.
Reference: https://arxiv.org/abs/1908.08681
\[\text{Mish}(x) = x * \text{Tanh}(\text{Softplus}(x))\]
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.Module.apply.html b/docs/build/html/python/nn/_autosummary/mlx.nn.Module.apply.html
index 83226097..f521fab8 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.Module.apply.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.Module.apply.html
@@ -9,7 +9,7 @@
- mlx.nn.Module.apply — MLX 0.3.0 documentation
+ mlx.nn.Module.apply — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.Module.apply_to_modules.html b/docs/build/html/python/nn/_autosummary/mlx.nn.Module.apply_to_modules.html
index 5781a69e..56da9ec9 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.Module.apply_to_modules.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.Module.apply_to_modules.html
@@ -9,7 +9,7 @@
- mlx.nn.Module.apply_to_modules — MLX 0.3.0 documentation
+ mlx.nn.Module.apply_to_modules — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.Module.children.html b/docs/build/html/python/nn/_autosummary/mlx.nn.Module.children.html
index fe9489ad..b33a9ed5 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.Module.children.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.Module.children.html
@@ -9,7 +9,7 @@
- mlx.nn.Module.children — MLX 0.3.0 documentation
+ mlx.nn.Module.children — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.Module.eval.html b/docs/build/html/python/nn/_autosummary/mlx.nn.Module.eval.html
index cab57db8..10941cad 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.Module.eval.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.Module.eval.html
@@ -9,7 +9,7 @@
- mlx.nn.Module.eval — MLX 0.3.0 documentation
+ mlx.nn.Module.eval — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.Module.filter_and_map.html b/docs/build/html/python/nn/_autosummary/mlx.nn.Module.filter_and_map.html
index e581962b..b458c90a 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.Module.filter_and_map.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.Module.filter_and_map.html
@@ -9,7 +9,7 @@
- mlx.nn.Module.filter_and_map — MLX 0.3.0 documentation
+ mlx.nn.Module.filter_and_map — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.Module.freeze.html b/docs/build/html/python/nn/_autosummary/mlx.nn.Module.freeze.html
index 2a0c5fcd..9ff1e2e3 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.Module.freeze.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.Module.freeze.html
@@ -9,7 +9,7 @@
- mlx.nn.Module.freeze — MLX 0.3.0 documentation
+ mlx.nn.Module.freeze — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.Module.leaf_modules.html b/docs/build/html/python/nn/_autosummary/mlx.nn.Module.leaf_modules.html
index 167441ca..a38b09a2 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.Module.leaf_modules.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.Module.leaf_modules.html
@@ -9,7 +9,7 @@
- mlx.nn.Module.leaf_modules — MLX 0.3.0 documentation
+ mlx.nn.Module.leaf_modules — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.Module.load_weights.html b/docs/build/html/python/nn/_autosummary/mlx.nn.Module.load_weights.html
index bf6e9df0..ef727774 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.Module.load_weights.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.Module.load_weights.html
@@ -9,7 +9,7 @@
- mlx.nn.Module.load_weights — MLX 0.3.0 documentation
+ mlx.nn.Module.load_weights — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.Module.modules.html b/docs/build/html/python/nn/_autosummary/mlx.nn.Module.modules.html
index 49f8b324..640cba19 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.Module.modules.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.Module.modules.html
@@ -9,7 +9,7 @@
- mlx.nn.Module.modules — MLX 0.3.0 documentation
+ mlx.nn.Module.modules — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.Module.named_modules.html b/docs/build/html/python/nn/_autosummary/mlx.nn.Module.named_modules.html
index fcbb4e45..dfcd27a0 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.Module.named_modules.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.Module.named_modules.html
@@ -9,7 +9,7 @@
- mlx.nn.Module.named_modules — MLX 0.3.0 documentation
+ mlx.nn.Module.named_modules — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.Module.parameters.html b/docs/build/html/python/nn/_autosummary/mlx.nn.Module.parameters.html
index 805920a0..dd0ab9fb 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.Module.parameters.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.Module.parameters.html
@@ -9,7 +9,7 @@
- mlx.nn.Module.parameters — MLX 0.3.0 documentation
+ mlx.nn.Module.parameters — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.Module.save_weights.html b/docs/build/html/python/nn/_autosummary/mlx.nn.Module.save_weights.html
index 972c48ef..d3e38c11 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.Module.save_weights.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.Module.save_weights.html
@@ -9,7 +9,7 @@
- mlx.nn.Module.save_weights — MLX 0.3.0 documentation
+ mlx.nn.Module.save_weights — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.Module.state.html b/docs/build/html/python/nn/_autosummary/mlx.nn.Module.state.html
index a42988d8..fbc46ab1 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.Module.state.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.Module.state.html
@@ -9,7 +9,7 @@
- mlx.nn.Module.state — MLX 0.3.0 documentation
+ mlx.nn.Module.state — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.Module.train.html b/docs/build/html/python/nn/_autosummary/mlx.nn.Module.train.html
index b95df943..327b1d07 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.Module.train.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.Module.train.html
@@ -9,7 +9,7 @@
- mlx.nn.Module.train — MLX 0.3.0 documentation
+ mlx.nn.Module.train — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.Module.trainable_parameters.html b/docs/build/html/python/nn/_autosummary/mlx.nn.Module.trainable_parameters.html
index 6d9e711b..987a6398 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.Module.trainable_parameters.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.Module.trainable_parameters.html
@@ -9,7 +9,7 @@
- mlx.nn.Module.trainable_parameters — MLX 0.3.0 documentation
+ mlx.nn.Module.trainable_parameters — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.Module.training.html b/docs/build/html/python/nn/_autosummary/mlx.nn.Module.training.html
index 96998fe0..da97aa2c 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.Module.training.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.Module.training.html
@@ -9,7 +9,7 @@
- mlx.nn.Module.training — MLX 0.3.0 documentation
+ mlx.nn.Module.training — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.Module.unfreeze.html b/docs/build/html/python/nn/_autosummary/mlx.nn.Module.unfreeze.html
index 7149f2fe..fc7c78c8 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.Module.unfreeze.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.Module.unfreeze.html
@@ -9,7 +9,7 @@
- mlx.nn.Module.unfreeze — MLX 0.3.0 documentation
+ mlx.nn.Module.unfreeze — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.Module.update.html b/docs/build/html/python/nn/_autosummary/mlx.nn.Module.update.html
index 7957b7a1..84253f83 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.Module.update.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.Module.update.html
@@ -9,7 +9,7 @@
- mlx.nn.Module.update — MLX 0.3.0 documentation
+ mlx.nn.Module.update — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.Module.update_modules.html b/docs/build/html/python/nn/_autosummary/mlx.nn.Module.update_modules.html
index a696ae88..a1bf668e 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.Module.update_modules.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.Module.update_modules.html
@@ -9,7 +9,7 @@
- mlx.nn.Module.update_modules — MLX 0.3.0 documentation
+ mlx.nn.Module.update_modules — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.MultiHeadAttention.html b/docs/build/html/python/nn/_autosummary/mlx.nn.MultiHeadAttention.html
index 041792ab..f53057e3 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.MultiHeadAttention.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.MultiHeadAttention.html
@@ -9,7 +9,7 @@
- mlx.nn.MultiHeadAttention — MLX 0.3.0 documentation
+ mlx.nn.MultiHeadAttention — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.PReLU.html b/docs/build/html/python/nn/_autosummary/mlx.nn.PReLU.html
index 5e50248e..36d7afb0 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.PReLU.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.PReLU.html
@@ -9,7 +9,7 @@
- mlx.nn.PReLU — MLX 0.3.0 documentation
+ mlx.nn.PReLU — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.QuantizedLinear.html b/docs/build/html/python/nn/_autosummary/mlx.nn.QuantizedLinear.html
index 995ec8f5..b10b5994 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.QuantizedLinear.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.QuantizedLinear.html
@@ -9,7 +9,7 @@
- mlx.nn.QuantizedLinear — MLX 0.3.0 documentation
+ mlx.nn.QuantizedLinear — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.RMSNorm.html b/docs/build/html/python/nn/_autosummary/mlx.nn.RMSNorm.html
index 57ea625e..223dc159 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.RMSNorm.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.RMSNorm.html
@@ -9,7 +9,7 @@
- mlx.nn.RMSNorm — MLX 0.3.0 documentation
+ mlx.nn.RMSNorm — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.ReLU.html b/docs/build/html/python/nn/_autosummary/mlx.nn.ReLU.html
index 15929d41..b2ab50a2 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.ReLU.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.ReLU.html
@@ -9,7 +9,7 @@
- mlx.nn.ReLU — MLX 0.3.0 documentation
+ mlx.nn.ReLU — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
@@ -693,8 +711,11 @@ document.write(`
class mlx.nn. ReLU
-Applies the Rectified Linear Unit.
-Simply mx.maximum(x, 0) .
+
+Applies the Rectified Linear Unit. Simply mx.maximum(x, 0) .
+
+
+See relu() for the functional equivalent.
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.RoPE.html b/docs/build/html/python/nn/_autosummary/mlx.nn.RoPE.html
index 07b7cb69..801ba901 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.RoPE.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.RoPE.html
@@ -9,7 +9,7 @@
- mlx.nn.RoPE — MLX 0.3.0 documentation
+ mlx.nn.RoPE — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.SELU.html b/docs/build/html/python/nn/_autosummary/mlx.nn.SELU.html
index 5d3f3ba4..12e8141e 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.SELU.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.SELU.html
@@ -9,7 +9,7 @@
- mlx.nn.SELU — MLX 0.3.0 documentation
+ mlx.nn.SELU — MLX 0.5.0 documentation
@@ -43,7 +43,6 @@
-
@@ -135,8 +134,8 @@
-
-
+
+
@@ -234,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
@@ -695,13 +712,7 @@ document.write(`
class mlx.nn. SELU
Applies the Scaled Exponential Linear Unit.
-
-\[\begin{split}\text{selu}(x) = \begin{cases}
-\lambda x & \text{if } x > 0 \\
-\lambda \alpha (\exp(x) - 1) & \text{if } x \leq 0
-\end{cases}\end{split}\]
-where \(\lambda = 1.0507\) and \(\alpha = 1.67326\) .
-See also elu() .
+See selu() for the functional equivalent.
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.Sequential.html b/docs/build/html/python/nn/_autosummary/mlx.nn.Sequential.html
index 5b2f5bf6..a135b234 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.Sequential.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.Sequential.html
@@ -9,7 +9,7 @@
- mlx.nn.Sequential — MLX 0.3.0 documentation
+ mlx.nn.Sequential — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.SiLU.html b/docs/build/html/python/nn/_autosummary/mlx.nn.SiLU.html
index a2c75d82..36146ac4 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.SiLU.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.SiLU.html
@@ -9,7 +9,7 @@
- mlx.nn.SiLU — MLX 0.3.0 documentation
+ mlx.nn.SiLU — MLX 0.5.0 documentation
@@ -43,7 +43,6 @@
-
@@ -135,8 +134,8 @@
-
-
+
+
@@ -234,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
@@ -695,8 +712,7 @@ document.write(`
class mlx.nn. SiLU
Applies the Sigmoid Linear Unit. Also known as Swish.
-Applies \(x \sigma(x)\) element wise, where \(\sigma(\cdot)\) is
-the logistic sigmoid.
+See silu() for the functional equivalent.
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.SinusoidalPositionalEncoding.html b/docs/build/html/python/nn/_autosummary/mlx.nn.SinusoidalPositionalEncoding.html
index 99d2abc2..2863cf76 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.SinusoidalPositionalEncoding.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.SinusoidalPositionalEncoding.html
@@ -9,7 +9,7 @@
- mlx.nn.SinusoidalPositionalEncoding — MLX 0.3.0 documentation
+ mlx.nn.SinusoidalPositionalEncoding — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.Softshrink.html b/docs/build/html/python/nn/_autosummary/mlx.nn.Softshrink.html
index 365fc162..108dc89f 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.Softshrink.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.Softshrink.html
@@ -9,7 +9,7 @@
- mlx.nn.Softshrink — MLX 0.3.0 documentation
+ mlx.nn.Softshrink — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.Step.html b/docs/build/html/python/nn/_autosummary/mlx.nn.Step.html
index 21ad2b1e..3c7cbfa5 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.Step.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.Step.html
@@ -9,7 +9,7 @@
- mlx.nn.Step — MLX 0.3.0 documentation
+ mlx.nn.Step — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.Transformer.html b/docs/build/html/python/nn/_autosummary/mlx.nn.Transformer.html
index 238dbc29..68fe8032 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.Transformer.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.Transformer.html
@@ -9,7 +9,7 @@
- mlx.nn.Transformer — MLX 0.3.0 documentation
+ mlx.nn.Transformer — MLX 0.5.0 documentation
@@ -46,7 +46,7 @@
-
+
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
@@ -692,7 +710,7 @@ document.write(`
mlx.nn.Transformer
-class mlx.nn. Transformer ( dims: int = 512, num_heads: int = 8, num_encoder_layers: int = 6, num_decoder_layers: int = 6, mlp_dims: ~typing.Optional[int] = None, dropout: float = 0.0, activation: ~typing.Callable[[~typing.Any], ~typing.Any] = <function relu>, custom_encoder: ~typing.Optional[~typing.Any] = None, custom_decoder: ~typing.Optional[~typing.Any] = None, norm_first: bool = True, checkpoint: bool = False )
+class mlx.nn. Transformer ( dims: int = 512, num_heads: int = 8, num_encoder_layers: int = 6, num_decoder_layers: int = 6, mlp_dims: ~typing.Optional[int] = None, dropout: float = 0.0, activation: ~typing.Callable[[~typing.Any], ~typing.Any] = <built-in method relu of PyCapsule object>, custom_encoder: ~typing.Optional[~typing.Any] = None, custom_decoder: ~typing.Optional[~typing.Any] = None, norm_first: bool = True, checkpoint: bool = False )
Implements a standard Transformer model.
The implementation is based on Attention Is All You Need .
The Transformer model contains an encoder and a decoder. The encoder
@@ -756,11 +774,11 @@ Default: False
next
-
Functions
+
mlx.nn.Upsample
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.Upsample.html b/docs/build/html/python/nn/_autosummary/mlx.nn.Upsample.html
new file mode 100644
index 00000000..b07fd1f7
--- /dev/null
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.Upsample.html
@@ -0,0 +1,864 @@
+
+
+
+
+
+
+
+
+
+
+
+ mlx.nn.Upsample — MLX 0.5.0 documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Skip to main content
+
+
+
+
+
+
+ Back to top
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+mlx.nn.Upsample
+
+
+class mlx.nn. Upsample ( scale_factor : Union [ float , Tuple ] , mode : Literal [ 'nearest' , 'linear' ] = 'nearest' , align_corners : bool = False )
+Upsample the input signal spatially.
+The spatial dimensions are by convention dimensions 1 to x.ndim -
+2 . The first is the batch dimension and the last is the feature
+dimension.
+For example, an audio signal would be 3D with 1 spatial dimension, an image
+4D with 2 and so on and so forth.
+There are two upsampling algorithms implemented nearest neighbor upsampling
+and linear interpolation. Both can be applied to any number of spatial
+dimensions and the linear interpolation will be bilinear, trilinear etc
+when applied to more than one spatial dimension.
+
+
Note
+
When using one of the linear interpolation modes the align_corners
+argument changes how the corners are treated in the input image. If
+align_corners=True then the top and left edge of the input and
+output will be matching as will the bottom right edge.
+
+
+Parameters:
+
+scale_factor (float or tuple ) – The multiplier for the spatial size.
+If a float is provided, it is the multiplier for all spatial dimensions.
+Otherwise, the number of scale factors provided must match the
+number of spatial dimensions.
+mode (str , optional ) – The upsampling algorithm, either "nearest" or
+"linear" . Default: "nearest" .
+align_corners (bool , optional ) – Changes the way the corners are treated
+during "linear" upsampling. See the note above and the
+examples below for more details. Default: False .
+
+
+
+Examples
+>>> import mlx.core as mx
+>>> import mlx.nn as nn
+>>> x = mx . arange ( 1 , 5 ) . reshape (( 1 , 2 , 2 , 1 ))
+>>> x
+array([[[[1],
+ [2]],
+ [[3],
+ [4]]]], dtype=int32)
+>>> n = nn . Upsample ( scale_factor = 2 , mode = 'nearest' )
+>>> n ( x ) . squeeze ()
+array([[1, 1, 2, 2],
+ [1, 1, 2, 2],
+ [3, 3, 4, 4],
+ [3, 3, 4, 4]], dtype=int32)
+>>> b = nn . Upsample ( scale_factor = 2 , mode = 'linear' )
+>>> b ( x ) . squeeze ()
+array([[1, 1.25, 1.75, 2],
+ [1.5, 1.75, 2.25, 2.5],
+ [2.5, 2.75, 3.25, 3.5],
+ [3, 3.25, 3.75, 4]], dtype=float32)
+>>> b = nn . Upsample ( scale_factor = 2 , mode = 'linear' , align_corners = True )
+>>> b ( x ) . squeeze ()
+array([[1, 1.33333, 1.66667, 2],
+ [1.66667, 2, 2.33333, 2.66667],
+ [2.33333, 2.66667, 3, 3.33333],
+ [3, 3.33333, 3.66667, 4]], dtype=float32)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.init.constant.html b/docs/build/html/python/nn/_autosummary/mlx.nn.init.constant.html
index 2b035e07..c6d63aae 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.init.constant.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.init.constant.html
@@ -9,7 +9,7 @@
- mlx.nn.init.constant — MLX 0.3.0 documentation
+ mlx.nn.init.constant — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.init.glorot_normal.html b/docs/build/html/python/nn/_autosummary/mlx.nn.init.glorot_normal.html
index 35b7e380..570662d8 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.init.glorot_normal.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.init.glorot_normal.html
@@ -9,7 +9,7 @@
- mlx.nn.init.glorot_normal — MLX 0.3.0 documentation
+ mlx.nn.init.glorot_normal — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.init.glorot_uniform.html b/docs/build/html/python/nn/_autosummary/mlx.nn.init.glorot_uniform.html
index d80cfc21..6c6b187e 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.init.glorot_uniform.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.init.glorot_uniform.html
@@ -9,7 +9,7 @@
- mlx.nn.init.glorot_uniform — MLX 0.3.0 documentation
+ mlx.nn.init.glorot_uniform — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.init.he_normal.html b/docs/build/html/python/nn/_autosummary/mlx.nn.init.he_normal.html
index 2f5256c5..e459d958 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.init.he_normal.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.init.he_normal.html
@@ -9,7 +9,7 @@
- mlx.nn.init.he_normal — MLX 0.3.0 documentation
+ mlx.nn.init.he_normal — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.init.he_uniform.html b/docs/build/html/python/nn/_autosummary/mlx.nn.init.he_uniform.html
index 93bcc4fc..49be9587 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.init.he_uniform.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.init.he_uniform.html
@@ -9,7 +9,7 @@
- mlx.nn.init.he_uniform — MLX 0.3.0 documentation
+ mlx.nn.init.he_uniform — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.init.identity.html b/docs/build/html/python/nn/_autosummary/mlx.nn.init.identity.html
index bf69ab6b..f2c1ff9e 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.init.identity.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.init.identity.html
@@ -9,7 +9,7 @@
- mlx.nn.init.identity — MLX 0.3.0 documentation
+ mlx.nn.init.identity — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.init.normal.html b/docs/build/html/python/nn/_autosummary/mlx.nn.init.normal.html
index 438320c7..36aa2d23 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.init.normal.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.init.normal.html
@@ -9,7 +9,7 @@
- mlx.nn.init.normal — MLX 0.3.0 documentation
+ mlx.nn.init.normal — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary/mlx.nn.init.uniform.html b/docs/build/html/python/nn/_autosummary/mlx.nn.init.uniform.html
index 69a6b64c..c7a0ab22 100644
--- a/docs/build/html/python/nn/_autosummary/mlx.nn.init.uniform.html
+++ b/docs/build/html/python/nn/_autosummary/mlx.nn.init.uniform.html
@@ -9,7 +9,7 @@
- mlx.nn.init.uniform — MLX 0.3.0 documentation
+ mlx.nn.init.uniform — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.elu.html b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.elu.html
new file mode 100644
index 00000000..4174fef4
--- /dev/null
+++ b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.elu.html
@@ -0,0 +1,805 @@
+
+
+
+
+
+
+
+
+
+
+
+ mlx.nn.elu — MLX 0.5.0 documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Skip to main content
+
+
+
+
+
+
+ Back to top
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+mlx.nn.elu
+
+
+mlx.nn. elu ( x , alpha = 1.0 )
+Applies the Exponential Linear Unit.
+Simply mx.where(x > 0, x, alpha * (mx.exp(x) - 1)) .
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.gelu.html b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.gelu.html
index 3dc2c29d..0885b240 100644
--- a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.gelu.html
+++ b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.gelu.html
@@ -9,7 +9,7 @@
- mlx.nn.gelu — MLX 0.3.0 documentation
+ mlx.nn.gelu — MLX 0.5.0 documentation
@@ -48,7 +48,7 @@
-
+
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
@@ -693,10 +711,10 @@ document.write(`
mlx.nn.gelu
-mlx.nn. gelu ( x )
+mlx.nn. gelu ( x ) → array
Applies the Gaussian Error Linear Units function.
-\[\begin{split}\\textrm{GELU}(x) = x * \Phi(x)\end{split}\]
+\[\textrm{GELU}(x) = x * \Phi(x)\]
where \(\Phi(x)\) is the Gaussian CDF.
See also gelu_approx() and gelu_fast_approx() for faster
approximations.
@@ -716,12 +734,12 @@ approximations.
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.gelu_fast_approx.html b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.gelu_fast_approx.html
index 904f4745..77424167 100644
--- a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.gelu_fast_approx.html
+++ b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.gelu_fast_approx.html
@@ -9,7 +9,7 @@
- mlx.nn.gelu_fast_approx — MLX 0.3.0 documentation
+ mlx.nn.gelu_fast_approx — MLX 0.5.0 documentation
@@ -47,7 +47,7 @@
-
+
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
@@ -699,8 +717,11 @@ document.write(`
This function approximates gelu with a maximum absolute error \(<
0.015\) in the range \([-6, 6]\) using the following
-\[x = x \sigma\left(1.773 x\right)\]
+\[x = x \sigma\left(1.702 x\right)\]
where \(\sigma(\cdot)\) is the logistic sigmoid.
+References:
+- hendrycks/GELUs
+- https://arxiv.org/abs/1606.08415
@@ -726,11 +747,11 @@ document.write(`
next
-
mlx.nn.mish
+
mlx.nn.glu
diff --git a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.glu.html b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.glu.html
new file mode 100644
index 00000000..5a46e27b
--- /dev/null
+++ b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.glu.html
@@ -0,0 +1,814 @@
+
+
+
+
+
+
+
+
+
+
+
+ mlx.nn.glu — MLX 0.5.0 documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Skip to main content
+
+
+
+
+
+
+ Back to top
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+mlx.nn.glu
+
+
+mlx.nn. glu ( x : array , axis : int = - 1 ) → array
+Applies the gated linear unit function.
+This function splits the axis dimension of the input into two halves
+(\(a\) and \(b\) ) and applies \(a * \sigma(b)\) .
+
+\[\textrm{GLU}(x) = a * \sigma(b)\]
+
+Parameters:
+axis (int ) – The dimension to split along. Default: -1
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.hardswish.html b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.hardswish.html
new file mode 100644
index 00000000..667918ee
--- /dev/null
+++ b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.hardswish.html
@@ -0,0 +1,807 @@
+
+
+
+
+
+
+
+
+
+
+
+ mlx.nn.hardswish — MLX 0.5.0 documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Skip to main content
+
+
+
+
+
+
+ Back to top
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+mlx.nn.hardswish
+
+
+mlx.nn. hardswish ( x )
+Applies the hardswish function, element-wise.
+
+\[\text{Hardswish}(x) = x * \min(\max(x + 3, 0), 6) / 6\]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.leaky_relu.html b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.leaky_relu.html
new file mode 100644
index 00000000..0f77ccf4
--- /dev/null
+++ b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.leaky_relu.html
@@ -0,0 +1,805 @@
+
+
+
+
+
+
+
+
+
+
+
+ mlx.nn.leaky_relu — MLX 0.5.0 documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Skip to main content
+
+
+
+
+
+
+ Back to top
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
mlx.nn.leaky_relu
+
+
+
+
+
+
+
+
+
+
+mlx.nn.leaky_relu
+
+
+mlx.nn. leaky_relu ( x , negative_slope = 0.01 )
+Applies the Leaky Rectified Linear Unit.
+Simply mx.maximum(negative_slope * x, x) .
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.log_sigmoid.html b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.log_sigmoid.html
new file mode 100644
index 00000000..3c8ec1b7
--- /dev/null
+++ b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.log_sigmoid.html
@@ -0,0 +1,806 @@
+
+
+
+
+
+
+
+
+
+
+
+ mlx.nn.log_sigmoid — MLX 0.5.0 documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Skip to main content
+
+
+
+
+
+
+ Back to top
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
mlx.nn.log_sigmoid
+
+
+
+
+
+
+
+
+
+
+mlx.nn.log_sigmoid
+
+
+mlx.nn. log_sigmoid ( x )
+Applies the Log Sigmoid function.
+Applies \(\log(\sigma(x)) = -\log(1 + e^{-x})\) element wise.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.log_softmax.html b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.log_softmax.html
new file mode 100644
index 00000000..a02cd0e1
--- /dev/null
+++ b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.log_softmax.html
@@ -0,0 +1,806 @@
+
+
+
+
+
+
+
+
+
+
+
+ mlx.nn.log_softmax — MLX 0.5.0 documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Skip to main content
+
+
+
+
+
+
+ Back to top
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
mlx.nn.log_softmax
+
+
+
+
+
+
+
+
+
+
+mlx.nn.log_softmax
+
+
+mlx.nn. log_softmax ( x , axis = - 1 )
+Applies the Log Softmax function.
+Applies \(x + \log \sum_i e^{x_i}\) element wise.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.binary_cross_entropy.html b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.binary_cross_entropy.html
index 48ef74df..de83f8b2 100644
--- a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.binary_cross_entropy.html
+++ b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.binary_cross_entropy.html
@@ -9,7 +9,7 @@
- mlx.nn.losses.binary_cross_entropy — MLX 0.3.0 documentation
+ mlx.nn.losses.binary_cross_entropy — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.cosine_similarity_loss.html b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.cosine_similarity_loss.html
index ba33a4cb..a357dd36 100644
--- a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.cosine_similarity_loss.html
+++ b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.cosine_similarity_loss.html
@@ -9,7 +9,7 @@
- mlx.nn.losses.cosine_similarity_loss — MLX 0.3.0 documentation
+ mlx.nn.losses.cosine_similarity_loss — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.cross_entropy.html b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.cross_entropy.html
index 31d417f7..04d11ad1 100644
--- a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.cross_entropy.html
+++ b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.cross_entropy.html
@@ -9,7 +9,7 @@
- mlx.nn.losses.cross_entropy — MLX 0.3.0 documentation
+ mlx.nn.losses.cross_entropy — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.gaussian_nll_loss.html b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.gaussian_nll_loss.html
index 6d693dd3..466c85c8 100644
--- a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.gaussian_nll_loss.html
+++ b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.gaussian_nll_loss.html
@@ -9,7 +9,7 @@
- mlx.nn.losses.gaussian_nll_loss — MLX 0.3.0 documentation
+ mlx.nn.losses.gaussian_nll_loss — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.hinge_loss.html b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.hinge_loss.html
index ee5a0288..56864561 100644
--- a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.hinge_loss.html
+++ b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.hinge_loss.html
@@ -9,7 +9,7 @@
- mlx.nn.losses.hinge_loss — MLX 0.3.0 documentation
+ mlx.nn.losses.hinge_loss — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.huber_loss.html b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.huber_loss.html
index 26d59a19..b336d350 100644
--- a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.huber_loss.html
+++ b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.huber_loss.html
@@ -9,7 +9,7 @@
- mlx.nn.losses.huber_loss — MLX 0.3.0 documentation
+ mlx.nn.losses.huber_loss — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.kl_div_loss.html b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.kl_div_loss.html
index 7a3feee4..1aa5405f 100644
--- a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.kl_div_loss.html
+++ b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.kl_div_loss.html
@@ -9,7 +9,7 @@
- mlx.nn.losses.kl_div_loss — MLX 0.3.0 documentation
+ mlx.nn.losses.kl_div_loss — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.l1_loss.html b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.l1_loss.html
index c52d4d01..d251c7eb 100644
--- a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.l1_loss.html
+++ b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.l1_loss.html
@@ -9,7 +9,7 @@
- mlx.nn.losses.l1_loss — MLX 0.3.0 documentation
+ mlx.nn.losses.l1_loss — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.log_cosh_loss.html b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.log_cosh_loss.html
index 526471a8..e68e4ab6 100644
--- a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.log_cosh_loss.html
+++ b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.log_cosh_loss.html
@@ -9,7 +9,7 @@
- mlx.nn.losses.log_cosh_loss — MLX 0.3.0 documentation
+ mlx.nn.losses.log_cosh_loss — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.margin_ranking_loss.html b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.margin_ranking_loss.html
index f7db7da7..3406743a 100644
--- a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.margin_ranking_loss.html
+++ b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.margin_ranking_loss.html
@@ -9,7 +9,7 @@
- mlx.nn.losses.margin_ranking_loss — MLX 0.3.0 documentation
+ mlx.nn.losses.margin_ranking_loss — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.mse_loss.html b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.mse_loss.html
index a9be2b0f..77f14a8b 100644
--- a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.mse_loss.html
+++ b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.mse_loss.html
@@ -9,7 +9,7 @@
- mlx.nn.losses.mse_loss — MLX 0.3.0 documentation
+ mlx.nn.losses.mse_loss — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.nll_loss.html b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.nll_loss.html
index 9168e487..b51534e7 100644
--- a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.nll_loss.html
+++ b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.nll_loss.html
@@ -9,7 +9,7 @@
- mlx.nn.losses.nll_loss — MLX 0.3.0 documentation
+ mlx.nn.losses.nll_loss — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.smooth_l1_loss.html b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.smooth_l1_loss.html
index a9189ca4..8574c1a8 100644
--- a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.smooth_l1_loss.html
+++ b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.smooth_l1_loss.html
@@ -9,7 +9,7 @@
- mlx.nn.losses.smooth_l1_loss — MLX 0.3.0 documentation
+ mlx.nn.losses.smooth_l1_loss — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.triplet_loss.html b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.triplet_loss.html
index f906bb74..72e0ac8c 100644
--- a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.triplet_loss.html
+++ b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.losses.triplet_loss.html
@@ -9,7 +9,7 @@
- mlx.nn.losses.triplet_loss — MLX 0.3.0 documentation
+ mlx.nn.losses.triplet_loss — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.mish.html b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.mish.html
index 77f18c24..6ee6968b 100644
--- a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.mish.html
+++ b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.mish.html
@@ -9,7 +9,7 @@
- mlx.nn.mish — MLX 0.3.0 documentation
+ mlx.nn.mish — MLX 0.5.0 documentation
@@ -48,7 +48,7 @@
-
+
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
@@ -694,8 +712,8 @@ document.write(`
mlx.nn. mish ( x : array ) → array
-Applies the Mish function, element-wise.
-Mish: A Self Regularized Non-Monotonic Neural Activation Function.
+Applies the Mish function, element-wise.
+Mish: A Self Regularized Non-Monotonic Neural Activation Function.
Reference: https://arxiv.org/abs/1908.08681
\[\text{Mish}(x) = x * \text{Tanh}(\text{Softplus}(x))\]
@@ -715,12 +733,12 @@ Mish: A Self Regularized Non-Monotonic Neural Activation Function.
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.relu.html b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.relu.html
index 4902f765..0e5d3233 100644
--- a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.relu.html
+++ b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.relu.html
@@ -9,7 +9,7 @@
- mlx.nn.relu — MLX 0.3.0 documentation
+ mlx.nn.relu — MLX 0.5.0 documentation
@@ -46,7 +46,7 @@
-
+
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
@@ -720,11 +738,11 @@ document.write(`
next
-
mlx.nn.selu
+
mlx.nn.relu6
diff --git a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.relu6.html b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.relu6.html
new file mode 100644
index 00000000..8569173c
--- /dev/null
+++ b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.relu6.html
@@ -0,0 +1,806 @@
+
+
+
+
+
+
+
+
+
+
+
+ mlx.nn.relu6 — MLX 0.5.0 documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ Skip to main content
+
+
+
+
+
+
+ Back to top
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+mlx.nn.relu6
+
+
+mlx.nn. relu6 ( x )
+Applies the Rectified Linear Unit 6.
+Applies \(\min(\max(x, 0), 6)\) element wise.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.selu.html b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.selu.html
index 5e178139..f03f06ad 100644
--- a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.selu.html
+++ b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.selu.html
@@ -9,7 +9,7 @@
- mlx.nn.selu — MLX 0.3.0 documentation
+ mlx.nn.selu — MLX 0.5.0 documentation
@@ -47,8 +47,8 @@
-
-
+
+
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
@@ -701,7 +719,7 @@ document.write(`
\lambda \alpha (\exp(x) - 1) & \text{if } x \leq 0
\end{cases}\end{split}\]
where \(\lambda = 1.0507\) and \(\alpha = 1.67326\) .
-See also elu() .
+See also elu() .
@@ -718,20 +736,20 @@ document.write(`
previous
-
mlx.nn.relu
+
mlx.nn.relu6
next
-
mlx.nn.softshrink
+
mlx.nn.sigmoid
diff --git a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.sigmoid.html b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.sigmoid.html
new file mode 100644
index 00000000..a883f224
--- /dev/null
+++ b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.sigmoid.html
@@ -0,0 +1,807 @@
+
+
+
+
+
+
+
+
+
+
+
+
mlx.nn.sigmoid — MLX 0.5.0 documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Skip to main content
+
+
+
+
+
+
+ Back to top
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+mlx.nn.sigmoid
+
+
+mlx.nn. sigmoid ( x )
+Applies the sigmoid function.
+
+\[\text{Sigmoid}(x) = \sigma(x) = \frac{1}{1 + \exp(-x)}\]
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.silu.html b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.silu.html
index 7481cae5..7184aa9f 100644
--- a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.silu.html
+++ b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.silu.html
@@ -9,7 +9,7 @@
-
mlx.nn.silu — MLX 0.3.0 documentation
+
mlx.nn.silu — MLX 0.5.0 documentation
@@ -47,8 +47,8 @@
-
-
+
+
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
@@ -713,20 +731,20 @@ the logistic sigmoid.
previous
-
mlx.nn.softshrink
+
mlx.nn.sigmoid
next
-
mlx.nn.step
+
mlx.nn.softmax
diff --git a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.softmax.html b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.softmax.html
new file mode 100644
index 00000000..d8ffc8ef
--- /dev/null
+++ b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.softmax.html
@@ -0,0 +1,806 @@
+
+
+
+
+
+
+
+
+
+
+
+
mlx.nn.softmax — MLX 0.5.0 documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Skip to main content
+
+
+
+
+
+
+ Back to top
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+mlx.nn.softmax
+
+
+mlx.nn. softmax ( x , axis = - 1 )
+Applies the Softmax function.
+Applies \(\frac{e^{x_i}}{\sum_j e^{x_j}}\) element wise.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.softplus.html b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.softplus.html
new file mode 100644
index 00000000..2cd2e7c5
--- /dev/null
+++ b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.softplus.html
@@ -0,0 +1,806 @@
+
+
+
+
+
+
+
+
+
+
+
+
mlx.nn.softplus — MLX 0.5.0 documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Skip to main content
+
+
+
+
+
+
+ Back to top
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+mlx.nn.softplus
+
+
+mlx.nn. softplus ( x )
+Applies the Softplus function.
+Applies \(\log(1 + \exp(x))\) element wise.
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.softshrink.html b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.softshrink.html
index cd215037..b6f16ec6 100644
--- a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.softshrink.html
+++ b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.softshrink.html
@@ -9,7 +9,7 @@
-
mlx.nn.softshrink — MLX 0.3.0 documentation
+
mlx.nn.softshrink — MLX 0.5.0 documentation
@@ -47,8 +47,8 @@
-
-
+
+
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
@@ -717,20 +735,20 @@ x + \lambda & \text{if } x < -\lambda \\
previous
-
mlx.nn.selu
+
mlx.nn.softplus
next
-
mlx.nn.silu
+
mlx.nn.step
diff --git a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.step.html b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.step.html
index 520f03b8..a8cec871 100644
--- a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.step.html
+++ b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.step.html
@@ -9,7 +9,7 @@
-
mlx.nn.step — MLX 0.3.0 documentation
+
mlx.nn.step — MLX 0.5.0 documentation
@@ -47,8 +47,8 @@
-
-
+
+
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
@@ -723,20 +741,20 @@ to 1 if the input is greater than a specified threshold, and 0 otherwise.
previous
-
mlx.nn.silu
+
mlx.nn.softshrink
next
-
Loss Functions
+
mlx.nn.tanh
diff --git a/docs/build/html/python/nn/_autosummary_functions/mlx.nn.tanh.html b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.tanh.html
new file mode 100644
index 00000000..47a4fe2f
--- /dev/null
+++ b/docs/build/html/python/nn/_autosummary_functions/mlx.nn.tanh.html
@@ -0,0 +1,805 @@
+
+
+
+
+
+
+
+
+
+
+
+
mlx.nn.tanh — MLX 0.5.0 documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Skip to main content
+
+
+
+
+
+
+ Back to top
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+mlx.nn.tanh
+
+
+mlx.nn. tanh ( x )
+Applies the hyperbolic tangent function.
+Simply mx.tanh(x) .
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/build/html/python/nn/functions.html b/docs/build/html/python/nn/functions.html
index 5b69c72e..63c44533 100644
--- a/docs/build/html/python/nn/functions.html
+++ b/docs/build/html/python/nn/functions.html
@@ -9,7 +9,7 @@
-
Functions — MLX 0.3.0 documentation
+
Functions — MLX 0.5.0 documentation
@@ -46,8 +46,8 @@
-
-
+
+
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
@@ -694,15 +712,33 @@ document.write(`
simple functions.
-gelu (x)
+elu (x[, alpha])
+Applies the Exponential Linear Unit.
+
+gelu (x)
Applies the Gaussian Error Linear Units function.
-gelu_approx (x)
+gelu_approx (x)
An approximation to Gaussian Error Linear Unit.
-gelu_fast_approx (x)
+gelu_fast_approx (x)
A fast approximation to Gaussian Error Linear Unit.
+glu (x[, axis])
+Applies the gated linear unit function.
+
+hardswish (x)
+Applies the hardswish function, element-wise.
+
+leaky_relu (x[, negative_slope])
+Applies the Leaky Rectified Linear Unit.
+
+log_sigmoid (x)
+Applies the Log Sigmoid function.
+
+log_softmax (x[, axis])
+Applies the Log Softmax function.
+
mish (x)
Applies the Mish function, element-wise.
@@ -712,18 +748,33 @@ simple functions.
relu (x)
Applies the Rectified Linear Unit.
-selu (x)
+relu6 (x)
+Applies the Rectified Linear Unit 6.
+
+selu (x)
Applies the Scaled Exponential Linear Unit.
-softshrink (x[, lambd])
-Applies the Softshrink activation function.
+sigmoid (x)
+Applies the sigmoid function.
-silu (x)
+silu (x)
Applies the Sigmoid Linear Unit.
+softmax (x[, axis])
+Applies the Softmax function.
+
+softplus (x)
+Applies the Softplus function.
+
+softshrink (x[, lambd])
+Applies the Softshrink activation function.
+
step (x[, threshold])
Applies the Step Activation Function.
+tanh (x)
+Applies the hyperbolic tangent function.
+
@@ -740,20 +791,20 @@ simple functions.
previous
-
mlx.nn.Transformer
+
mlx.nn.Upsample
next
-
mlx.nn.gelu
+
mlx.nn.elu
diff --git a/docs/build/html/python/nn/init.html b/docs/build/html/python/nn/init.html
index a1fbc557..ec37f85b 100644
--- a/docs/build/html/python/nn/init.html
+++ b/docs/build/html/python/nn/init.html
@@ -9,7 +9,7 @@
-
Initializers — MLX 0.3.0 documentation
+
Initializers — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/nn/layers.html b/docs/build/html/python/nn/layers.html
index c16a38e2..8823ced4 100644
--- a/docs/build/html/python/nn/layers.html
+++ b/docs/build/html/python/nn/layers.html
@@ -9,7 +9,7 @@
- Layers — MLX 0.3.0 documentation
+ Layers — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
@@ -785,6 +803,9 @@ document.write(`
Transformer (dims, num_heads, ...)
Implements a standard Transformer model.
+Upsample (scale_factor[, mode, align_corners])
+Upsample the input signal spatially.
+
diff --git a/docs/build/html/python/nn/losses.html b/docs/build/html/python/nn/losses.html
index 25052a2f..c190a57b 100644
--- a/docs/build/html/python/nn/losses.html
+++ b/docs/build/html/python/nn/losses.html
@@ -9,7 +9,7 @@
- Loss Functions — MLX 0.3.0 documentation
+ Loss Functions — MLX 0.5.0 documentation
@@ -48,7 +48,7 @@
-
+
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
@@ -751,12 +769,12 @@ document.write(`
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/ops.html b/docs/build/html/python/ops.html
index d1876761..47eb5d10 100644
--- a/docs/build/html/python/ops.html
+++ b/docs/build/html/python/ops.html
@@ -9,7 +9,7 @@
- Operations — MLX 0.3.0 documentation
+ Operations — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
@@ -743,27 +761,39 @@ document.write(`
array_equal (a, b[, equal_nan, stream])
Array equality check.
-broadcast_to (a, /, shape, *[, stream])
+atleast_1d (*arys[, stream])
+Convert all arrays to have at least one dimension.
+
+atleast_2d (*arys[, stream])
+Convert all arrays to have at least two dimensions.
+
+atleast_3d (*arys[, stream])
+Convert all arrays to have at least three dimensions.
+
+broadcast_to (a, /, shape, *[, stream])
Broadcast an array to the given shape.
-ceil (a, /, *[, stream])
+ceil (a, /, *[, stream])
Element-wise ceil.
-clip (a, /, a_min, a_max, *[, stream])
+clip (a, /, a_min, a_max, *[, stream])
Clip the values of the array between the given minimum and maximum.
-concatenate (arrays[, axis, stream])
+concatenate (arrays[, axis, stream])
Concatenate the arrays along the given axis.
-convolve (a, v, /[, mode, stream])
+convolve (a, v, /[, mode, stream])
The discrete convolution of 1D arrays.
-conv1d (input, weight, /[, stride, padding, ...])
+conv1d (input, weight, /[, stride, padding, ...])
1D convolution over an input with several channels
-conv2d (input, weight, /[, stride, padding, ...])
+conv2d (input, weight, /[, stride, padding, ...])
2D convolution over an input with several channels
+conv_general (input, weight, /[, stride, ...])
+General convolution over an input with several channels
+
cos (a, /, *[, stream])
Element-wise cosine.
diff --git a/docs/build/html/python/optimizers.html b/docs/build/html/python/optimizers.html
index 8ce96085..1c612a92 100644
--- a/docs/build/html/python/optimizers.html
+++ b/docs/build/html/python/optimizers.html
@@ -9,7 +9,7 @@
- Optimizers — MLX 0.3.0 documentation
+ Optimizers — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
@@ -736,9 +754,11 @@ model’s parameters and the optimizer state .
Schedulers
diff --git a/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.AdaDelta.html b/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.AdaDelta.html
index 75d827eb..6615be7f 100644
--- a/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.AdaDelta.html
+++ b/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.AdaDelta.html
@@ -9,7 +9,7 @@
- mlx.optimizers.AdaDelta — MLX 0.3.0 documentation
+ mlx.optimizers.AdaDelta — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.Adafactor.html b/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.Adafactor.html
index d524976c..e4b761fb 100644
--- a/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.Adafactor.html
+++ b/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.Adafactor.html
@@ -9,7 +9,7 @@
- mlx.optimizers.Adafactor — MLX 0.3.0 documentation
+ mlx.optimizers.Adafactor — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.Adagrad.html b/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.Adagrad.html
index 4fcf74f2..30351467 100644
--- a/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.Adagrad.html
+++ b/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.Adagrad.html
@@ -9,7 +9,7 @@
- mlx.optimizers.Adagrad — MLX 0.3.0 documentation
+ mlx.optimizers.Adagrad — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.Adam.html b/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.Adam.html
index e8f5d269..9e6594a8 100644
--- a/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.Adam.html
+++ b/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.Adam.html
@@ -9,7 +9,7 @@
- mlx.optimizers.Adam — MLX 0.3.0 documentation
+ mlx.optimizers.Adam — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.AdamW.html b/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.AdamW.html
index 469c0961..392263f8 100644
--- a/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.AdamW.html
+++ b/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.AdamW.html
@@ -9,7 +9,7 @@
- mlx.optimizers.AdamW — MLX 0.3.0 documentation
+ mlx.optimizers.AdamW — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.Adamax.html b/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.Adamax.html
index 6bcf695a..c0b2a7eb 100644
--- a/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.Adamax.html
+++ b/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.Adamax.html
@@ -9,7 +9,7 @@
- mlx.optimizers.Adamax — MLX 0.3.0 documentation
+ mlx.optimizers.Adamax — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.Lion.html b/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.Lion.html
index 131409a1..800ce4fb 100644
--- a/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.Lion.html
+++ b/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.Lion.html
@@ -9,7 +9,7 @@
- mlx.optimizers.Lion — MLX 0.3.0 documentation
+ mlx.optimizers.Lion — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.Optimizer.apply_gradients.html b/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.Optimizer.apply_gradients.html
index a804636d..9665ba26 100644
--- a/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.Optimizer.apply_gradients.html
+++ b/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.Optimizer.apply_gradients.html
@@ -9,7 +9,7 @@
- mlx.optimizers.Optimizer.apply_gradients — MLX 0.3.0 documentation
+ mlx.optimizers.Optimizer.apply_gradients — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.Optimizer.init.html b/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.Optimizer.init.html
index 2fc73ced..d092dd89 100644
--- a/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.Optimizer.init.html
+++ b/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.Optimizer.init.html
@@ -9,7 +9,7 @@
- mlx.optimizers.Optimizer.init — MLX 0.3.0 documentation
+ mlx.optimizers.Optimizer.init — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.Optimizer.state.html b/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.Optimizer.state.html
index e752839d..e17b788a 100644
--- a/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.Optimizer.state.html
+++ b/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.Optimizer.state.html
@@ -9,7 +9,7 @@
- mlx.optimizers.Optimizer.state — MLX 0.3.0 documentation
+ mlx.optimizers.Optimizer.state — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.Optimizer.update.html b/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.Optimizer.update.html
index 0f8bd30f..0e4f693b 100644
--- a/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.Optimizer.update.html
+++ b/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.Optimizer.update.html
@@ -9,7 +9,7 @@
- mlx.optimizers.Optimizer.update — MLX 0.3.0 documentation
+ mlx.optimizers.Optimizer.update — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.RMSprop.html b/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.RMSprop.html
index 8c89de6e..5f7fcc07 100644
--- a/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.RMSprop.html
+++ b/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.RMSprop.html
@@ -9,7 +9,7 @@
- mlx.optimizers.RMSprop — MLX 0.3.0 documentation
+ mlx.optimizers.RMSprop — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.SGD.html b/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.SGD.html
index 6bf9353a..fbd69d77 100644
--- a/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.SGD.html
+++ b/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.SGD.html
@@ -9,7 +9,7 @@
- mlx.optimizers.SGD — MLX 0.3.0 documentation
+ mlx.optimizers.SGD — MLX 0.5.0 documentation
@@ -135,8 +135,8 @@
-
-
+
+
@@ -234,6 +234,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -241,6 +244,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -437,19 +441,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.cosine_decay.html b/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.cosine_decay.html
index 070797b1..4176bb1d 100644
--- a/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.cosine_decay.html
+++ b/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.cosine_decay.html
@@ -9,7 +9,7 @@
- mlx.optimizers.cosine_decay — MLX 0.3.0 documentation
+ mlx.optimizers.cosine_decay — MLX 0.5.0 documentation
@@ -46,8 +46,8 @@
-
-
+
+
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
@@ -692,7 +710,7 @@ document.write(`
mlx.optimizers.cosine_decay
-mlx.optimizers. cosine_decay ( init : float , decay_steps : int )
+mlx.optimizers. cosine_decay ( init : float , decay_steps : int ) → Callable
Make a cosine decay scheduler.
Parameters:
@@ -731,20 +749,20 @@ value is constant for steps beyond
previous
-
mlx.optimizers.exponential_decay
+
Schedulers
next
-
Tree Utils
+
mlx.optimizers.exponential_decay
diff --git a/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.exponential_decay.html b/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.exponential_decay.html
index e44d27e1..8df8aa71 100644
--- a/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.exponential_decay.html
+++ b/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.exponential_decay.html
@@ -9,7 +9,7 @@
- mlx.optimizers.exponential_decay — MLX 0.3.0 documentation
+ mlx.optimizers.exponential_decay — MLX 0.5.0 documentation
@@ -46,8 +46,8 @@
-
-
+
+
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
@@ -692,7 +710,7 @@ document.write(`
mlx.optimizers.exponential_decay
-mlx.optimizers. exponential_decay ( init : float , decay_rate : float )
+mlx.optimizers. exponential_decay ( init : float , decay_rate : float ) → Callable
Make an exponential decay scheduler.
Parameters:
@@ -730,20 +748,20 @@ document.write(`
previous
-
mlx.optimizers.step_decay
+
mlx.optimizers.cosine_decay
next
-
mlx.optimizers.cosine_decay
+
mlx.optimizers.join_schedules
diff --git a/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.join_schedules.html b/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.join_schedules.html
new file mode 100644
index 00000000..fdef9026
--- /dev/null
+++ b/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.join_schedules.html
@@ -0,0 +1,829 @@
+
+
+
+
+
+
+
+
+
+
+
+
mlx.optimizers.join_schedules — MLX 0.5.0 documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Skip to main content
+
+
+
+
+
+
+ Back to top
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
mlx.optimizers.join_schedules
+
+
+
+
+
+
+
+
+
+
+mlx.optimizers.join_schedules
+
+
+mlx.optimizers. join_schedules ( schedules : List [ Callable ] , boundaries : List [ int ] ) → Callable
+Join multiple schedules to create a new schedule.
+
+Parameters:
+
+schedules (list ( Callable ) ) – A list of schedules. Schedule \(i+1\)
+receives a step count indicating the number of steps since
+the \(i\) -th boundary.
+boundaries (list ( int ) ) – A list of integers of length len(schedules) - 1
+that indicates when to transition between schedules.
+
+
+
+Example
+>>> warmup = optim . linear_schedule ( 0 , 1e-1 , steps = 10 )
+>>> cosine = optim . cosine_decay ( 1e-1 , 200 )
+>>> lr_schedule = optim . join_schedules ([ warmup , cosine ], [ 10 ])
+>>> optimizer = optim . Adam ( learning_rate = lr_schedule )
+>>> optimizer . learning_rate
+array(0.0, dtype=float32)
+>>> for _ in range ( 12 ): optimizer . update ({}, {})
+...
+>>> optimizer . learning_rate
+array(0.0999938, dtype=float32)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.linear_schedule.html b/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.linear_schedule.html
new file mode 100644
index 00000000..07d8eae5
--- /dev/null
+++ b/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.linear_schedule.html
@@ -0,0 +1,825 @@
+
+
+
+
+
+
+
+
+
+
+
+
mlx.optimizers.linear_schedule — MLX 0.5.0 documentation
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
Skip to main content
+
+
+
+
+
+
+ Back to top
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
mlx.optimizers.linear_schedule
+
+
+
+
+
+
+
+
+
+
+mlx.optimizers.linear_schedule
+
+
+mlx.optimizers. linear_schedule ( init : float , end : float , steps : int ) → Callable
+Make a linear scheduler.
+
+Parameters:
+
+init (float ) – Initial value.
+end (float ) – Final value.
+steps (int ) – Number of steps to apply the schedule over. The value is
+end for any steps beyond steps .
+
+
+
+Example
+>>> warmup = optim . linear_schedule ( 0 , 1e-1 , 100 )
+>>> optimizer = optim . Adam ( learning_rate = warmup )
+>>> optimizer . learning_rate
+array(0.0, dtype=float32)
+>>> for _ in range ( 101 ): optimizer . update ({}, {})
+...
+>>> optimizer . learning_rate
+array(0.1, dtype=float32)
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.step_decay.html b/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.step_decay.html
index 65995904..2d21c322 100644
--- a/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.step_decay.html
+++ b/docs/build/html/python/optimizers/_autosummary/mlx.optimizers.step_decay.html
@@ -9,7 +9,7 @@
-
mlx.optimizers.step_decay — MLX 0.3.0 documentation
+
mlx.optimizers.step_decay — MLX 0.5.0 documentation
@@ -46,8 +46,8 @@
-
-
+
+
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
@@ -692,7 +710,7 @@ document.write(`
mlx.optimizers.step_decay
-mlx.optimizers. step_decay ( init : float , decay_rate : float , step_size : int )
+mlx.optimizers. step_decay ( init : float , decay_rate : float , step_size : int ) → Callable
Make a step decay scheduler.
Parameters:
@@ -731,20 +749,20 @@ document.write(`
previous
-
Schedulers
+
mlx.optimizers.linear_schedule
next
-
mlx.optimizers.exponential_decay
+
Tree Utils
diff --git a/docs/build/html/python/optimizers/common_optimizers.html b/docs/build/html/python/optimizers/common_optimizers.html
index 82c42a40..160df84a 100644
--- a/docs/build/html/python/optimizers/common_optimizers.html
+++ b/docs/build/html/python/optimizers/common_optimizers.html
@@ -9,7 +9,7 @@
-
Common Optimizers — MLX 0.3.0 documentation
+
Common Optimizers — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/optimizers/optimizer.html b/docs/build/html/python/optimizers/optimizer.html
index b64c6999..9fb1f8ad 100644
--- a/docs/build/html/python/optimizers/optimizer.html
+++ b/docs/build/html/python/optimizers/optimizer.html
@@ -9,7 +9,7 @@
- Optimizer — MLX 0.3.0 documentation
+ Optimizer — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/optimizers/schedulers.html b/docs/build/html/python/optimizers/schedulers.html
index 8c07ca1e..295bda03 100644
--- a/docs/build/html/python/optimizers/schedulers.html
+++ b/docs/build/html/python/optimizers/schedulers.html
@@ -9,7 +9,7 @@
- Schedulers — MLX 0.3.0 documentation
+ Schedulers — MLX 0.5.0 documentation
@@ -46,7 +46,7 @@
-
+
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
@@ -692,14 +710,20 @@ document.write(`
Schedulers
-step_decay (init, decay_rate, step_size)
-Make a step decay scheduler.
+cosine_decay (init, decay_steps)
+Make a cosine decay scheduler.
exponential_decay (init, decay_rate)
Make an exponential decay scheduler.
-cosine_decay (init, decay_steps)
-Make a cosine decay scheduler.
+join_schedules (schedules, boundaries)
+Join multiple schedules to create a new schedule.
+
+linear_schedule (init, end, steps)
+Make a linear scheduler.
+
+step_decay (init, decay_rate, step_size)
+Make a step decay scheduler.
@@ -726,11 +750,11 @@ document.write(`
next
-
mlx.optimizers.step_decay
+
mlx.optimizers.cosine_decay
diff --git a/docs/build/html/python/random.html b/docs/build/html/python/random.html
index 320d519e..a7c3e1bb 100644
--- a/docs/build/html/python/random.html
+++ b/docs/build/html/python/random.html
@@ -9,7 +9,7 @@
- Random — MLX 0.3.0 documentation
+ Random — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/transforms.html b/docs/build/html/python/transforms.html
index 7816ad11..a2a7eddd 100644
--- a/docs/build/html/python/transforms.html
+++ b/docs/build/html/python/transforms.html
@@ -9,7 +9,7 @@
- Transforms — MLX 0.3.0 documentation
+ Transforms — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/python/tree_utils.html b/docs/build/html/python/tree_utils.html
index 9a29abae..eda06d5c 100644
--- a/docs/build/html/python/tree_utils.html
+++ b/docs/build/html/python/tree_utils.html
@@ -9,7 +9,7 @@
- Tree Utils — MLX 0.3.0 documentation
+ Tree Utils — MLX 0.5.0 documentation
@@ -47,7 +47,7 @@
-
+
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
@@ -725,12 +743,12 @@ return python trees will be using the default python
previous
-
mlx.optimizers.cosine_decay
+
mlx.optimizers.step_decay
- Search - MLX 0.3.0 documentation
+ Search - MLX 0.5.0 documentation
@@ -133,8 +133,8 @@
-
-
+
+
@@ -232,6 +232,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -239,6 +242,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -435,19 +439,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/searchindex.js b/docs/build/html/searchindex.js
index 926c17c4..580f62bc 100644
--- a/docs/build/html/searchindex.js
+++ b/docs/build/html/searchindex.js
@@ -1 +1 @@
-Search.setIndex({"docnames": ["cpp/ops", "dev/extensions", "examples/linear_regression", "examples/llama-inference", "examples/mlp", "index", "install", "python/_autosummary/mlx.core.Device", "python/_autosummary/mlx.core.Dtype", "python/_autosummary/mlx.core.abs", "python/_autosummary/mlx.core.add", "python/_autosummary/mlx.core.all", "python/_autosummary/mlx.core.allclose", "python/_autosummary/mlx.core.any", "python/_autosummary/mlx.core.arange", "python/_autosummary/mlx.core.arccos", "python/_autosummary/mlx.core.arccosh", "python/_autosummary/mlx.core.arcsin", "python/_autosummary/mlx.core.arcsinh", "python/_autosummary/mlx.core.arctan", "python/_autosummary/mlx.core.arctanh", "python/_autosummary/mlx.core.argmax", "python/_autosummary/mlx.core.argmin", "python/_autosummary/mlx.core.argpartition", "python/_autosummary/mlx.core.argsort", "python/_autosummary/mlx.core.array", "python/_autosummary/mlx.core.array.T", "python/_autosummary/mlx.core.array.abs", "python/_autosummary/mlx.core.array.all", "python/_autosummary/mlx.core.array.any", "python/_autosummary/mlx.core.array.argmax", "python/_autosummary/mlx.core.array.argmin", "python/_autosummary/mlx.core.array.astype", "python/_autosummary/mlx.core.array.cos", "python/_autosummary/mlx.core.array.dtype", "python/_autosummary/mlx.core.array.exp", "python/_autosummary/mlx.core.array.item", "python/_autosummary/mlx.core.array.log", "python/_autosummary/mlx.core.array.log1p", "python/_autosummary/mlx.core.array.logsumexp", "python/_autosummary/mlx.core.array.max", "python/_autosummary/mlx.core.array.mean", "python/_autosummary/mlx.core.array.min", "python/_autosummary/mlx.core.array.ndim", "python/_autosummary/mlx.core.array.prod", "python/_autosummary/mlx.core.array.reciprocal", "python/_autosummary/mlx.core.array.reshape", "python/_autosummary/mlx.core.array.round", "python/_autosummary/mlx.core.array.rsqrt", "python/_autosummary/mlx.core.array.shape", "python/_autosummary/mlx.core.array.sin", "python/_autosummary/mlx.core.array.size", "python/_autosummary/mlx.core.array.split", "python/_autosummary/mlx.core.array.sqrt", "python/_autosummary/mlx.core.array.square", "python/_autosummary/mlx.core.array.sum", "python/_autosummary/mlx.core.array.tolist", "python/_autosummary/mlx.core.array.transpose", "python/_autosummary/mlx.core.array.var", "python/_autosummary/mlx.core.array_equal", "python/_autosummary/mlx.core.broadcast_to", "python/_autosummary/mlx.core.ceil", "python/_autosummary/mlx.core.clip", "python/_autosummary/mlx.core.compile", "python/_autosummary/mlx.core.concatenate", "python/_autosummary/mlx.core.conv1d", "python/_autosummary/mlx.core.conv2d", "python/_autosummary/mlx.core.convolve", "python/_autosummary/mlx.core.cos", "python/_autosummary/mlx.core.cosh", "python/_autosummary/mlx.core.default_device", "python/_autosummary/mlx.core.default_stream", "python/_autosummary/mlx.core.dequantize", "python/_autosummary/mlx.core.diag", "python/_autosummary/mlx.core.diagonal", "python/_autosummary/mlx.core.disable_compile", "python/_autosummary/mlx.core.divide", "python/_autosummary/mlx.core.divmod", "python/_autosummary/mlx.core.enable_compile", "python/_autosummary/mlx.core.equal", "python/_autosummary/mlx.core.erf", "python/_autosummary/mlx.core.erfinv", "python/_autosummary/mlx.core.eval", "python/_autosummary/mlx.core.exp", "python/_autosummary/mlx.core.expand_dims", "python/_autosummary/mlx.core.eye", "python/_autosummary/mlx.core.fft.fft", "python/_autosummary/mlx.core.fft.fft2", "python/_autosummary/mlx.core.fft.fftn", "python/_autosummary/mlx.core.fft.ifft", "python/_autosummary/mlx.core.fft.ifft2", "python/_autosummary/mlx.core.fft.ifftn", "python/_autosummary/mlx.core.fft.irfft", "python/_autosummary/mlx.core.fft.irfft2", "python/_autosummary/mlx.core.fft.irfftn", "python/_autosummary/mlx.core.fft.rfft", "python/_autosummary/mlx.core.fft.rfft2", "python/_autosummary/mlx.core.fft.rfftn", "python/_autosummary/mlx.core.flatten", "python/_autosummary/mlx.core.floor", "python/_autosummary/mlx.core.floor_divide", "python/_autosummary/mlx.core.full", "python/_autosummary/mlx.core.grad", "python/_autosummary/mlx.core.greater", "python/_autosummary/mlx.core.greater_equal", "python/_autosummary/mlx.core.identity", "python/_autosummary/mlx.core.inner", "python/_autosummary/mlx.core.isinf", "python/_autosummary/mlx.core.isnan", "python/_autosummary/mlx.core.isneginf", "python/_autosummary/mlx.core.isposinf", "python/_autosummary/mlx.core.jvp", "python/_autosummary/mlx.core.less", "python/_autosummary/mlx.core.less_equal", "python/_autosummary/mlx.core.linalg.norm", "python/_autosummary/mlx.core.linalg.qr", "python/_autosummary/mlx.core.linspace", "python/_autosummary/mlx.core.load", "python/_autosummary/mlx.core.log", "python/_autosummary/mlx.core.log10", "python/_autosummary/mlx.core.log1p", "python/_autosummary/mlx.core.log2", "python/_autosummary/mlx.core.logaddexp", "python/_autosummary/mlx.core.logical_and", "python/_autosummary/mlx.core.logical_not", "python/_autosummary/mlx.core.logical_or", "python/_autosummary/mlx.core.logsumexp", "python/_autosummary/mlx.core.matmul", "python/_autosummary/mlx.core.max", "python/_autosummary/mlx.core.maximum", "python/_autosummary/mlx.core.mean", "python/_autosummary/mlx.core.min", "python/_autosummary/mlx.core.minimum", "python/_autosummary/mlx.core.moveaxis", "python/_autosummary/mlx.core.multiply", "python/_autosummary/mlx.core.negative", "python/_autosummary/mlx.core.new_stream", "python/_autosummary/mlx.core.ones", "python/_autosummary/mlx.core.ones_like", "python/_autosummary/mlx.core.outer", "python/_autosummary/mlx.core.pad", "python/_autosummary/mlx.core.partition", "python/_autosummary/mlx.core.prod", "python/_autosummary/mlx.core.quantize", "python/_autosummary/mlx.core.quantized_matmul", "python/_autosummary/mlx.core.random.bernoulli", "python/_autosummary/mlx.core.random.categorical", "python/_autosummary/mlx.core.random.gumbel", "python/_autosummary/mlx.core.random.key", "python/_autosummary/mlx.core.random.normal", "python/_autosummary/mlx.core.random.randint", "python/_autosummary/mlx.core.random.seed", "python/_autosummary/mlx.core.random.split", "python/_autosummary/mlx.core.random.truncated_normal", "python/_autosummary/mlx.core.random.uniform", "python/_autosummary/mlx.core.reciprocal", "python/_autosummary/mlx.core.repeat", "python/_autosummary/mlx.core.reshape", "python/_autosummary/mlx.core.round", "python/_autosummary/mlx.core.rsqrt", "python/_autosummary/mlx.core.save", "python/_autosummary/mlx.core.save_gguf", "python/_autosummary/mlx.core.save_safetensors", "python/_autosummary/mlx.core.savez", "python/_autosummary/mlx.core.savez_compressed", "python/_autosummary/mlx.core.set_default_device", "python/_autosummary/mlx.core.set_default_stream", "python/_autosummary/mlx.core.sigmoid", "python/_autosummary/mlx.core.sign", "python/_autosummary/mlx.core.sin", "python/_autosummary/mlx.core.sinh", "python/_autosummary/mlx.core.softmax", "python/_autosummary/mlx.core.sort", "python/_autosummary/mlx.core.split", "python/_autosummary/mlx.core.sqrt", "python/_autosummary/mlx.core.square", "python/_autosummary/mlx.core.squeeze", "python/_autosummary/mlx.core.stack", "python/_autosummary/mlx.core.stop_gradient", "python/_autosummary/mlx.core.stream", "python/_autosummary/mlx.core.subtract", "python/_autosummary/mlx.core.sum", "python/_autosummary/mlx.core.swapaxes", "python/_autosummary/mlx.core.take", "python/_autosummary/mlx.core.take_along_axis", "python/_autosummary/mlx.core.tan", "python/_autosummary/mlx.core.tanh", "python/_autosummary/mlx.core.tensordot", "python/_autosummary/mlx.core.transpose", "python/_autosummary/mlx.core.tri", "python/_autosummary/mlx.core.tril", "python/_autosummary/mlx.core.triu", "python/_autosummary/mlx.core.value_and_grad", "python/_autosummary/mlx.core.var", "python/_autosummary/mlx.core.vjp", "python/_autosummary/mlx.core.vmap", "python/_autosummary/mlx.core.where", "python/_autosummary/mlx.core.zeros", "python/_autosummary/mlx.core.zeros_like", "python/_autosummary/mlx.nn.value_and_grad", "python/_autosummary/mlx.utils.tree_flatten", "python/_autosummary/mlx.utils.tree_map", "python/_autosummary/mlx.utils.tree_unflatten", "python/_autosummary/stream_class", "python/array", "python/data_types", "python/devices_and_streams", "python/fft", "python/linalg", "python/nn", "python/nn/_autosummary/mlx.nn.ALiBi", "python/nn/_autosummary/mlx.nn.AvgPool1d", "python/nn/_autosummary/mlx.nn.AvgPool2d", "python/nn/_autosummary/mlx.nn.BatchNorm", "python/nn/_autosummary/mlx.nn.Conv1d", "python/nn/_autosummary/mlx.nn.Conv2d", "python/nn/_autosummary/mlx.nn.Dropout", "python/nn/_autosummary/mlx.nn.Dropout2d", "python/nn/_autosummary/mlx.nn.Dropout3d", "python/nn/_autosummary/mlx.nn.Embedding", "python/nn/_autosummary/mlx.nn.GELU", "python/nn/_autosummary/mlx.nn.GroupNorm", "python/nn/_autosummary/mlx.nn.InstanceNorm", "python/nn/_autosummary/mlx.nn.LayerNorm", "python/nn/_autosummary/mlx.nn.Linear", "python/nn/_autosummary/mlx.nn.MaxPool1d", "python/nn/_autosummary/mlx.nn.MaxPool2d", "python/nn/_autosummary/mlx.nn.Mish", "python/nn/_autosummary/mlx.nn.Module.apply", "python/nn/_autosummary/mlx.nn.Module.apply_to_modules", "python/nn/_autosummary/mlx.nn.Module.children", "python/nn/_autosummary/mlx.nn.Module.eval", "python/nn/_autosummary/mlx.nn.Module.filter_and_map", "python/nn/_autosummary/mlx.nn.Module.freeze", "python/nn/_autosummary/mlx.nn.Module.leaf_modules", "python/nn/_autosummary/mlx.nn.Module.load_weights", "python/nn/_autosummary/mlx.nn.Module.modules", "python/nn/_autosummary/mlx.nn.Module.named_modules", "python/nn/_autosummary/mlx.nn.Module.parameters", "python/nn/_autosummary/mlx.nn.Module.save_weights", "python/nn/_autosummary/mlx.nn.Module.state", "python/nn/_autosummary/mlx.nn.Module.train", "python/nn/_autosummary/mlx.nn.Module.trainable_parameters", "python/nn/_autosummary/mlx.nn.Module.training", "python/nn/_autosummary/mlx.nn.Module.unfreeze", "python/nn/_autosummary/mlx.nn.Module.update", "python/nn/_autosummary/mlx.nn.Module.update_modules", "python/nn/_autosummary/mlx.nn.MultiHeadAttention", "python/nn/_autosummary/mlx.nn.PReLU", "python/nn/_autosummary/mlx.nn.QuantizedLinear", "python/nn/_autosummary/mlx.nn.RMSNorm", "python/nn/_autosummary/mlx.nn.ReLU", "python/nn/_autosummary/mlx.nn.RoPE", "python/nn/_autosummary/mlx.nn.SELU", "python/nn/_autosummary/mlx.nn.Sequential", "python/nn/_autosummary/mlx.nn.SiLU", "python/nn/_autosummary/mlx.nn.SinusoidalPositionalEncoding", "python/nn/_autosummary/mlx.nn.Softshrink", "python/nn/_autosummary/mlx.nn.Step", "python/nn/_autosummary/mlx.nn.Transformer", "python/nn/_autosummary/mlx.nn.init.constant", "python/nn/_autosummary/mlx.nn.init.glorot_normal", "python/nn/_autosummary/mlx.nn.init.glorot_uniform", "python/nn/_autosummary/mlx.nn.init.he_normal", "python/nn/_autosummary/mlx.nn.init.he_uniform", "python/nn/_autosummary/mlx.nn.init.identity", "python/nn/_autosummary/mlx.nn.init.normal", "python/nn/_autosummary/mlx.nn.init.uniform", "python/nn/_autosummary_functions/mlx.nn.gelu", "python/nn/_autosummary_functions/mlx.nn.gelu_approx", "python/nn/_autosummary_functions/mlx.nn.gelu_fast_approx", "python/nn/_autosummary_functions/mlx.nn.losses.binary_cross_entropy", "python/nn/_autosummary_functions/mlx.nn.losses.cosine_similarity_loss", "python/nn/_autosummary_functions/mlx.nn.losses.cross_entropy", "python/nn/_autosummary_functions/mlx.nn.losses.gaussian_nll_loss", "python/nn/_autosummary_functions/mlx.nn.losses.hinge_loss", "python/nn/_autosummary_functions/mlx.nn.losses.huber_loss", "python/nn/_autosummary_functions/mlx.nn.losses.kl_div_loss", "python/nn/_autosummary_functions/mlx.nn.losses.l1_loss", "python/nn/_autosummary_functions/mlx.nn.losses.log_cosh_loss", "python/nn/_autosummary_functions/mlx.nn.losses.margin_ranking_loss", "python/nn/_autosummary_functions/mlx.nn.losses.mse_loss", "python/nn/_autosummary_functions/mlx.nn.losses.nll_loss", "python/nn/_autosummary_functions/mlx.nn.losses.smooth_l1_loss", "python/nn/_autosummary_functions/mlx.nn.losses.triplet_loss", "python/nn/_autosummary_functions/mlx.nn.mish", "python/nn/_autosummary_functions/mlx.nn.prelu", "python/nn/_autosummary_functions/mlx.nn.relu", "python/nn/_autosummary_functions/mlx.nn.selu", "python/nn/_autosummary_functions/mlx.nn.silu", "python/nn/_autosummary_functions/mlx.nn.softshrink", "python/nn/_autosummary_functions/mlx.nn.step", "python/nn/functions", "python/nn/init", "python/nn/layers", "python/nn/losses", "python/nn/module", "python/ops", "python/optimizers", "python/optimizers/_autosummary/mlx.optimizers.AdaDelta", "python/optimizers/_autosummary/mlx.optimizers.Adafactor", "python/optimizers/_autosummary/mlx.optimizers.Adagrad", "python/optimizers/_autosummary/mlx.optimizers.Adam", "python/optimizers/_autosummary/mlx.optimizers.AdamW", "python/optimizers/_autosummary/mlx.optimizers.Adamax", "python/optimizers/_autosummary/mlx.optimizers.Lion", "python/optimizers/_autosummary/mlx.optimizers.Optimizer.apply_gradients", "python/optimizers/_autosummary/mlx.optimizers.Optimizer.init", "python/optimizers/_autosummary/mlx.optimizers.Optimizer.state", "python/optimizers/_autosummary/mlx.optimizers.Optimizer.update", "python/optimizers/_autosummary/mlx.optimizers.RMSprop", "python/optimizers/_autosummary/mlx.optimizers.SGD", "python/optimizers/_autosummary/mlx.optimizers.cosine_decay", "python/optimizers/_autosummary/mlx.optimizers.exponential_decay", "python/optimizers/_autosummary/mlx.optimizers.step_decay", "python/optimizers/common_optimizers", "python/optimizers/optimizer", "python/optimizers/schedulers", "python/random", "python/transforms", "python/tree_utils", "usage/compile", "usage/function_transforms", "usage/indexing", "usage/lazy_evaluation", "usage/numpy", "usage/quick_start", "usage/saving_and_loading", "usage/unified_memory", "usage/using_streams"], "filenames": ["cpp/ops.rst", "dev/extensions.rst", "examples/linear_regression.rst", "examples/llama-inference.rst", "examples/mlp.rst", "index.rst", "install.rst", "python/_autosummary/mlx.core.Device.rst", "python/_autosummary/mlx.core.Dtype.rst", "python/_autosummary/mlx.core.abs.rst", "python/_autosummary/mlx.core.add.rst", "python/_autosummary/mlx.core.all.rst", "python/_autosummary/mlx.core.allclose.rst", "python/_autosummary/mlx.core.any.rst", "python/_autosummary/mlx.core.arange.rst", "python/_autosummary/mlx.core.arccos.rst", "python/_autosummary/mlx.core.arccosh.rst", "python/_autosummary/mlx.core.arcsin.rst", "python/_autosummary/mlx.core.arcsinh.rst", "python/_autosummary/mlx.core.arctan.rst", "python/_autosummary/mlx.core.arctanh.rst", "python/_autosummary/mlx.core.argmax.rst", "python/_autosummary/mlx.core.argmin.rst", "python/_autosummary/mlx.core.argpartition.rst", "python/_autosummary/mlx.core.argsort.rst", "python/_autosummary/mlx.core.array.rst", "python/_autosummary/mlx.core.array.T.rst", "python/_autosummary/mlx.core.array.abs.rst", "python/_autosummary/mlx.core.array.all.rst", "python/_autosummary/mlx.core.array.any.rst", "python/_autosummary/mlx.core.array.argmax.rst", "python/_autosummary/mlx.core.array.argmin.rst", "python/_autosummary/mlx.core.array.astype.rst", "python/_autosummary/mlx.core.array.cos.rst", "python/_autosummary/mlx.core.array.dtype.rst", "python/_autosummary/mlx.core.array.exp.rst", "python/_autosummary/mlx.core.array.item.rst", "python/_autosummary/mlx.core.array.log.rst", "python/_autosummary/mlx.core.array.log1p.rst", "python/_autosummary/mlx.core.array.logsumexp.rst", "python/_autosummary/mlx.core.array.max.rst", "python/_autosummary/mlx.core.array.mean.rst", "python/_autosummary/mlx.core.array.min.rst", "python/_autosummary/mlx.core.array.ndim.rst", "python/_autosummary/mlx.core.array.prod.rst", "python/_autosummary/mlx.core.array.reciprocal.rst", "python/_autosummary/mlx.core.array.reshape.rst", "python/_autosummary/mlx.core.array.round.rst", "python/_autosummary/mlx.core.array.rsqrt.rst", "python/_autosummary/mlx.core.array.shape.rst", "python/_autosummary/mlx.core.array.sin.rst", "python/_autosummary/mlx.core.array.size.rst", "python/_autosummary/mlx.core.array.split.rst", "python/_autosummary/mlx.core.array.sqrt.rst", "python/_autosummary/mlx.core.array.square.rst", "python/_autosummary/mlx.core.array.sum.rst", "python/_autosummary/mlx.core.array.tolist.rst", "python/_autosummary/mlx.core.array.transpose.rst", "python/_autosummary/mlx.core.array.var.rst", "python/_autosummary/mlx.core.array_equal.rst", "python/_autosummary/mlx.core.broadcast_to.rst", "python/_autosummary/mlx.core.ceil.rst", "python/_autosummary/mlx.core.clip.rst", "python/_autosummary/mlx.core.compile.rst", "python/_autosummary/mlx.core.concatenate.rst", "python/_autosummary/mlx.core.conv1d.rst", "python/_autosummary/mlx.core.conv2d.rst", "python/_autosummary/mlx.core.convolve.rst", "python/_autosummary/mlx.core.cos.rst", "python/_autosummary/mlx.core.cosh.rst", "python/_autosummary/mlx.core.default_device.rst", "python/_autosummary/mlx.core.default_stream.rst", "python/_autosummary/mlx.core.dequantize.rst", "python/_autosummary/mlx.core.diag.rst", "python/_autosummary/mlx.core.diagonal.rst", "python/_autosummary/mlx.core.disable_compile.rst", "python/_autosummary/mlx.core.divide.rst", "python/_autosummary/mlx.core.divmod.rst", "python/_autosummary/mlx.core.enable_compile.rst", "python/_autosummary/mlx.core.equal.rst", "python/_autosummary/mlx.core.erf.rst", "python/_autosummary/mlx.core.erfinv.rst", "python/_autosummary/mlx.core.eval.rst", "python/_autosummary/mlx.core.exp.rst", "python/_autosummary/mlx.core.expand_dims.rst", "python/_autosummary/mlx.core.eye.rst", "python/_autosummary/mlx.core.fft.fft.rst", "python/_autosummary/mlx.core.fft.fft2.rst", "python/_autosummary/mlx.core.fft.fftn.rst", "python/_autosummary/mlx.core.fft.ifft.rst", "python/_autosummary/mlx.core.fft.ifft2.rst", "python/_autosummary/mlx.core.fft.ifftn.rst", "python/_autosummary/mlx.core.fft.irfft.rst", "python/_autosummary/mlx.core.fft.irfft2.rst", "python/_autosummary/mlx.core.fft.irfftn.rst", "python/_autosummary/mlx.core.fft.rfft.rst", "python/_autosummary/mlx.core.fft.rfft2.rst", "python/_autosummary/mlx.core.fft.rfftn.rst", "python/_autosummary/mlx.core.flatten.rst", "python/_autosummary/mlx.core.floor.rst", "python/_autosummary/mlx.core.floor_divide.rst", "python/_autosummary/mlx.core.full.rst", "python/_autosummary/mlx.core.grad.rst", "python/_autosummary/mlx.core.greater.rst", "python/_autosummary/mlx.core.greater_equal.rst", "python/_autosummary/mlx.core.identity.rst", "python/_autosummary/mlx.core.inner.rst", "python/_autosummary/mlx.core.isinf.rst", "python/_autosummary/mlx.core.isnan.rst", "python/_autosummary/mlx.core.isneginf.rst", "python/_autosummary/mlx.core.isposinf.rst", "python/_autosummary/mlx.core.jvp.rst", "python/_autosummary/mlx.core.less.rst", "python/_autosummary/mlx.core.less_equal.rst", "python/_autosummary/mlx.core.linalg.norm.rst", "python/_autosummary/mlx.core.linalg.qr.rst", "python/_autosummary/mlx.core.linspace.rst", "python/_autosummary/mlx.core.load.rst", "python/_autosummary/mlx.core.log.rst", "python/_autosummary/mlx.core.log10.rst", "python/_autosummary/mlx.core.log1p.rst", "python/_autosummary/mlx.core.log2.rst", "python/_autosummary/mlx.core.logaddexp.rst", "python/_autosummary/mlx.core.logical_and.rst", "python/_autosummary/mlx.core.logical_not.rst", "python/_autosummary/mlx.core.logical_or.rst", "python/_autosummary/mlx.core.logsumexp.rst", "python/_autosummary/mlx.core.matmul.rst", "python/_autosummary/mlx.core.max.rst", "python/_autosummary/mlx.core.maximum.rst", "python/_autosummary/mlx.core.mean.rst", "python/_autosummary/mlx.core.min.rst", "python/_autosummary/mlx.core.minimum.rst", "python/_autosummary/mlx.core.moveaxis.rst", "python/_autosummary/mlx.core.multiply.rst", "python/_autosummary/mlx.core.negative.rst", "python/_autosummary/mlx.core.new_stream.rst", "python/_autosummary/mlx.core.ones.rst", "python/_autosummary/mlx.core.ones_like.rst", "python/_autosummary/mlx.core.outer.rst", "python/_autosummary/mlx.core.pad.rst", "python/_autosummary/mlx.core.partition.rst", "python/_autosummary/mlx.core.prod.rst", "python/_autosummary/mlx.core.quantize.rst", "python/_autosummary/mlx.core.quantized_matmul.rst", "python/_autosummary/mlx.core.random.bernoulli.rst", "python/_autosummary/mlx.core.random.categorical.rst", "python/_autosummary/mlx.core.random.gumbel.rst", "python/_autosummary/mlx.core.random.key.rst", "python/_autosummary/mlx.core.random.normal.rst", "python/_autosummary/mlx.core.random.randint.rst", "python/_autosummary/mlx.core.random.seed.rst", "python/_autosummary/mlx.core.random.split.rst", "python/_autosummary/mlx.core.random.truncated_normal.rst", "python/_autosummary/mlx.core.random.uniform.rst", "python/_autosummary/mlx.core.reciprocal.rst", "python/_autosummary/mlx.core.repeat.rst", "python/_autosummary/mlx.core.reshape.rst", "python/_autosummary/mlx.core.round.rst", "python/_autosummary/mlx.core.rsqrt.rst", "python/_autosummary/mlx.core.save.rst", "python/_autosummary/mlx.core.save_gguf.rst", "python/_autosummary/mlx.core.save_safetensors.rst", "python/_autosummary/mlx.core.savez.rst", "python/_autosummary/mlx.core.savez_compressed.rst", "python/_autosummary/mlx.core.set_default_device.rst", "python/_autosummary/mlx.core.set_default_stream.rst", "python/_autosummary/mlx.core.sigmoid.rst", "python/_autosummary/mlx.core.sign.rst", "python/_autosummary/mlx.core.sin.rst", "python/_autosummary/mlx.core.sinh.rst", "python/_autosummary/mlx.core.softmax.rst", "python/_autosummary/mlx.core.sort.rst", "python/_autosummary/mlx.core.split.rst", "python/_autosummary/mlx.core.sqrt.rst", "python/_autosummary/mlx.core.square.rst", "python/_autosummary/mlx.core.squeeze.rst", "python/_autosummary/mlx.core.stack.rst", "python/_autosummary/mlx.core.stop_gradient.rst", "python/_autosummary/mlx.core.stream.rst", "python/_autosummary/mlx.core.subtract.rst", "python/_autosummary/mlx.core.sum.rst", "python/_autosummary/mlx.core.swapaxes.rst", "python/_autosummary/mlx.core.take.rst", "python/_autosummary/mlx.core.take_along_axis.rst", "python/_autosummary/mlx.core.tan.rst", "python/_autosummary/mlx.core.tanh.rst", "python/_autosummary/mlx.core.tensordot.rst", "python/_autosummary/mlx.core.transpose.rst", "python/_autosummary/mlx.core.tri.rst", "python/_autosummary/mlx.core.tril.rst", "python/_autosummary/mlx.core.triu.rst", "python/_autosummary/mlx.core.value_and_grad.rst", "python/_autosummary/mlx.core.var.rst", "python/_autosummary/mlx.core.vjp.rst", "python/_autosummary/mlx.core.vmap.rst", "python/_autosummary/mlx.core.where.rst", "python/_autosummary/mlx.core.zeros.rst", "python/_autosummary/mlx.core.zeros_like.rst", "python/_autosummary/mlx.nn.value_and_grad.rst", "python/_autosummary/mlx.utils.tree_flatten.rst", "python/_autosummary/mlx.utils.tree_map.rst", "python/_autosummary/mlx.utils.tree_unflatten.rst", "python/_autosummary/stream_class.rst", "python/array.rst", "python/data_types.rst", "python/devices_and_streams.rst", "python/fft.rst", "python/linalg.rst", "python/nn.rst", "python/nn/_autosummary/mlx.nn.ALiBi.rst", "python/nn/_autosummary/mlx.nn.AvgPool1d.rst", "python/nn/_autosummary/mlx.nn.AvgPool2d.rst", "python/nn/_autosummary/mlx.nn.BatchNorm.rst", "python/nn/_autosummary/mlx.nn.Conv1d.rst", "python/nn/_autosummary/mlx.nn.Conv2d.rst", "python/nn/_autosummary/mlx.nn.Dropout.rst", "python/nn/_autosummary/mlx.nn.Dropout2d.rst", "python/nn/_autosummary/mlx.nn.Dropout3d.rst", "python/nn/_autosummary/mlx.nn.Embedding.rst", "python/nn/_autosummary/mlx.nn.GELU.rst", "python/nn/_autosummary/mlx.nn.GroupNorm.rst", "python/nn/_autosummary/mlx.nn.InstanceNorm.rst", "python/nn/_autosummary/mlx.nn.LayerNorm.rst", "python/nn/_autosummary/mlx.nn.Linear.rst", "python/nn/_autosummary/mlx.nn.MaxPool1d.rst", "python/nn/_autosummary/mlx.nn.MaxPool2d.rst", "python/nn/_autosummary/mlx.nn.Mish.rst", "python/nn/_autosummary/mlx.nn.Module.apply.rst", "python/nn/_autosummary/mlx.nn.Module.apply_to_modules.rst", "python/nn/_autosummary/mlx.nn.Module.children.rst", "python/nn/_autosummary/mlx.nn.Module.eval.rst", "python/nn/_autosummary/mlx.nn.Module.filter_and_map.rst", "python/nn/_autosummary/mlx.nn.Module.freeze.rst", "python/nn/_autosummary/mlx.nn.Module.leaf_modules.rst", "python/nn/_autosummary/mlx.nn.Module.load_weights.rst", "python/nn/_autosummary/mlx.nn.Module.modules.rst", "python/nn/_autosummary/mlx.nn.Module.named_modules.rst", "python/nn/_autosummary/mlx.nn.Module.parameters.rst", "python/nn/_autosummary/mlx.nn.Module.save_weights.rst", "python/nn/_autosummary/mlx.nn.Module.state.rst", "python/nn/_autosummary/mlx.nn.Module.train.rst", "python/nn/_autosummary/mlx.nn.Module.trainable_parameters.rst", "python/nn/_autosummary/mlx.nn.Module.training.rst", "python/nn/_autosummary/mlx.nn.Module.unfreeze.rst", "python/nn/_autosummary/mlx.nn.Module.update.rst", "python/nn/_autosummary/mlx.nn.Module.update_modules.rst", "python/nn/_autosummary/mlx.nn.MultiHeadAttention.rst", "python/nn/_autosummary/mlx.nn.PReLU.rst", "python/nn/_autosummary/mlx.nn.QuantizedLinear.rst", "python/nn/_autosummary/mlx.nn.RMSNorm.rst", "python/nn/_autosummary/mlx.nn.ReLU.rst", "python/nn/_autosummary/mlx.nn.RoPE.rst", "python/nn/_autosummary/mlx.nn.SELU.rst", "python/nn/_autosummary/mlx.nn.Sequential.rst", "python/nn/_autosummary/mlx.nn.SiLU.rst", "python/nn/_autosummary/mlx.nn.SinusoidalPositionalEncoding.rst", "python/nn/_autosummary/mlx.nn.Softshrink.rst", "python/nn/_autosummary/mlx.nn.Step.rst", "python/nn/_autosummary/mlx.nn.Transformer.rst", "python/nn/_autosummary/mlx.nn.init.constant.rst", "python/nn/_autosummary/mlx.nn.init.glorot_normal.rst", "python/nn/_autosummary/mlx.nn.init.glorot_uniform.rst", "python/nn/_autosummary/mlx.nn.init.he_normal.rst", "python/nn/_autosummary/mlx.nn.init.he_uniform.rst", "python/nn/_autosummary/mlx.nn.init.identity.rst", "python/nn/_autosummary/mlx.nn.init.normal.rst", "python/nn/_autosummary/mlx.nn.init.uniform.rst", "python/nn/_autosummary_functions/mlx.nn.gelu.rst", "python/nn/_autosummary_functions/mlx.nn.gelu_approx.rst", "python/nn/_autosummary_functions/mlx.nn.gelu_fast_approx.rst", "python/nn/_autosummary_functions/mlx.nn.losses.binary_cross_entropy.rst", "python/nn/_autosummary_functions/mlx.nn.losses.cosine_similarity_loss.rst", "python/nn/_autosummary_functions/mlx.nn.losses.cross_entropy.rst", "python/nn/_autosummary_functions/mlx.nn.losses.gaussian_nll_loss.rst", "python/nn/_autosummary_functions/mlx.nn.losses.hinge_loss.rst", "python/nn/_autosummary_functions/mlx.nn.losses.huber_loss.rst", "python/nn/_autosummary_functions/mlx.nn.losses.kl_div_loss.rst", "python/nn/_autosummary_functions/mlx.nn.losses.l1_loss.rst", "python/nn/_autosummary_functions/mlx.nn.losses.log_cosh_loss.rst", "python/nn/_autosummary_functions/mlx.nn.losses.margin_ranking_loss.rst", "python/nn/_autosummary_functions/mlx.nn.losses.mse_loss.rst", "python/nn/_autosummary_functions/mlx.nn.losses.nll_loss.rst", "python/nn/_autosummary_functions/mlx.nn.losses.smooth_l1_loss.rst", "python/nn/_autosummary_functions/mlx.nn.losses.triplet_loss.rst", "python/nn/_autosummary_functions/mlx.nn.mish.rst", "python/nn/_autosummary_functions/mlx.nn.prelu.rst", "python/nn/_autosummary_functions/mlx.nn.relu.rst", "python/nn/_autosummary_functions/mlx.nn.selu.rst", "python/nn/_autosummary_functions/mlx.nn.silu.rst", "python/nn/_autosummary_functions/mlx.nn.softshrink.rst", "python/nn/_autosummary_functions/mlx.nn.step.rst", "python/nn/functions.rst", "python/nn/init.rst", "python/nn/layers.rst", "python/nn/losses.rst", "python/nn/module.rst", "python/ops.rst", "python/optimizers.rst", "python/optimizers/_autosummary/mlx.optimizers.AdaDelta.rst", "python/optimizers/_autosummary/mlx.optimizers.Adafactor.rst", "python/optimizers/_autosummary/mlx.optimizers.Adagrad.rst", "python/optimizers/_autosummary/mlx.optimizers.Adam.rst", "python/optimizers/_autosummary/mlx.optimizers.AdamW.rst", "python/optimizers/_autosummary/mlx.optimizers.Adamax.rst", "python/optimizers/_autosummary/mlx.optimizers.Lion.rst", "python/optimizers/_autosummary/mlx.optimizers.Optimizer.apply_gradients.rst", "python/optimizers/_autosummary/mlx.optimizers.Optimizer.init.rst", "python/optimizers/_autosummary/mlx.optimizers.Optimizer.state.rst", "python/optimizers/_autosummary/mlx.optimizers.Optimizer.update.rst", "python/optimizers/_autosummary/mlx.optimizers.RMSprop.rst", "python/optimizers/_autosummary/mlx.optimizers.SGD.rst", "python/optimizers/_autosummary/mlx.optimizers.cosine_decay.rst", "python/optimizers/_autosummary/mlx.optimizers.exponential_decay.rst", "python/optimizers/_autosummary/mlx.optimizers.step_decay.rst", "python/optimizers/common_optimizers.rst", "python/optimizers/optimizer.rst", "python/optimizers/schedulers.rst", "python/random.rst", "python/transforms.rst", "python/tree_utils.rst", "usage/compile.rst", "usage/function_transforms.rst", "usage/indexing.rst", "usage/lazy_evaluation.rst", "usage/numpy.rst", "usage/quick_start.rst", "usage/saving_and_loading.rst", "usage/unified_memory.rst", "usage/using_streams.rst"], "titles": ["Operations", "Developer Documentation", "Linear Regression", "LLM inference", "Multi-Layer Perceptron", "MLX", "Build and Install", "mlx.core.Device", "mlx.core.Dtype", "mlx.core.abs", "mlx.core.add", "mlx.core.all", "mlx.core.allclose", "mlx.core.any", "mlx.core.arange", "mlx.core.arccos", "mlx.core.arccosh", "mlx.core.arcsin", "mlx.core.arcsinh", "mlx.core.arctan", "mlx.core.arctanh", "mlx.core.argmax", "mlx.core.argmin", "mlx.core.argpartition", "mlx.core.argsort", "mlx.core.array", "mlx.core.array.T", "mlx.core.array.abs", "mlx.core.array.all", "mlx.core.array.any", "mlx.core.array.argmax", "mlx.core.array.argmin", "mlx.core.array.astype", "mlx.core.array.cos", "mlx.core.array.dtype", "mlx.core.array.exp", "mlx.core.array.item", "mlx.core.array.log", "mlx.core.array.log1p", "mlx.core.array.logsumexp", "mlx.core.array.max", "mlx.core.array.mean", "mlx.core.array.min", "mlx.core.array.ndim", "mlx.core.array.prod", "mlx.core.array.reciprocal", "mlx.core.array.reshape", "mlx.core.array.round", "mlx.core.array.rsqrt", "mlx.core.array.shape", "mlx.core.array.sin", "mlx.core.array.size", "mlx.core.array.split", "mlx.core.array.sqrt", "mlx.core.array.square", "mlx.core.array.sum", "mlx.core.array.tolist", "mlx.core.array.transpose", "mlx.core.array.var", "mlx.core.array_equal", "mlx.core.broadcast_to", "mlx.core.ceil", "mlx.core.clip", "mlx.core.compile", "mlx.core.concatenate", "mlx.core.conv1d", "mlx.core.conv2d", "mlx.core.convolve", "mlx.core.cos", "mlx.core.cosh", "mlx.core.default_device", "mlx.core.default_stream", "mlx.core.dequantize", "mlx.core.diag", "mlx.core.diagonal", "mlx.core.disable_compile", "mlx.core.divide", "mlx.core.divmod", "mlx.core.enable_compile", "mlx.core.equal", "mlx.core.erf", "mlx.core.erfinv", "mlx.core.eval", "mlx.core.exp", "mlx.core.expand_dims", "mlx.core.eye", "mlx.core.fft.fft", "mlx.core.fft.fft2", "mlx.core.fft.fftn", "mlx.core.fft.ifft", "mlx.core.fft.ifft2", "mlx.core.fft.ifftn", "mlx.core.fft.irfft", "mlx.core.fft.irfft2", "mlx.core.fft.irfftn", "mlx.core.fft.rfft", "mlx.core.fft.rfft2", "mlx.core.fft.rfftn", "mlx.core.flatten", "mlx.core.floor", "mlx.core.floor_divide", "mlx.core.full", "mlx.core.grad", "mlx.core.greater", "mlx.core.greater_equal", "mlx.core.identity", "mlx.core.inner", "mlx.core.isinf", "mlx.core.isnan", "mlx.core.isneginf", "mlx.core.isposinf", "mlx.core.jvp", "mlx.core.less", "mlx.core.less_equal", "mlx.core.linalg.norm", "mlx.core.linalg.qr", "mlx.core.linspace", "mlx.core.load", "mlx.core.log", "mlx.core.log10", "mlx.core.log1p", "mlx.core.log2", "mlx.core.logaddexp", "mlx.core.logical_and", "mlx.core.logical_not", "mlx.core.logical_or", "mlx.core.logsumexp", "mlx.core.matmul", "mlx.core.max", "mlx.core.maximum", "mlx.core.mean", "mlx.core.min", "mlx.core.minimum", "mlx.core.moveaxis", "mlx.core.multiply", "mlx.core.negative", "mlx.core.new_stream", "mlx.core.ones", "mlx.core.ones_like", "mlx.core.outer", "mlx.core.pad", "mlx.core.partition", "mlx.core.prod", "mlx.core.quantize", "mlx.core.quantized_matmul", "mlx.core.random.bernoulli", "mlx.core.random.categorical", "mlx.core.random.gumbel", "mlx.core.random.key", "mlx.core.random.normal", "mlx.core.random.randint", "mlx.core.random.seed", "mlx.core.random.split", "mlx.core.random.truncated_normal", "mlx.core.random.uniform", "mlx.core.reciprocal", "mlx.core.repeat", "mlx.core.reshape", "mlx.core.round", "mlx.core.rsqrt", "mlx.core.save", "mlx.core.save_gguf", "mlx.core.save_safetensors", "mlx.core.savez", "mlx.core.savez_compressed", "mlx.core.set_default_device", "mlx.core.set_default_stream", "mlx.core.sigmoid", "mlx.core.sign", "mlx.core.sin", "mlx.core.sinh", "mlx.core.softmax", "mlx.core.sort", "mlx.core.split", "mlx.core.sqrt", "mlx.core.square", "mlx.core.squeeze", "mlx.core.stack", "mlx.core.stop_gradient", "mlx.core.stream", "mlx.core.subtract", "mlx.core.sum", "mlx.core.swapaxes", "mlx.core.take", "mlx.core.take_along_axis", "mlx.core.tan", "mlx.core.tanh", "mlx.core.tensordot", "mlx.core.transpose", "mlx.core.tri", "mlx.core.tril", "mlx.core.triu", "mlx.core.value_and_grad", "mlx.core.var", "mlx.core.vjp", "mlx.core.vmap", "mlx.core.where", "mlx.core.zeros", "mlx.core.zeros_like", "mlx.nn.value_and_grad", "mlx.utils.tree_flatten", "mlx.utils.tree_map", "mlx.utils.tree_unflatten", "mlx.core.Stream", "Array", "Data Types", "Devices and Streams", "FFT", "Linear Algebra", "Neural Networks", "mlx.nn.ALiBi", "mlx.nn.AvgPool1d", "mlx.nn.AvgPool2d", "mlx.nn.BatchNorm", "mlx.nn.Conv1d", "mlx.nn.Conv2d", "mlx.nn.Dropout", "mlx.nn.Dropout2d", "mlx.nn.Dropout3d", "mlx.nn.Embedding", "mlx.nn.GELU", "mlx.nn.GroupNorm", "mlx.nn.InstanceNorm", "mlx.nn.LayerNorm", "mlx.nn.Linear", "mlx.nn.MaxPool1d", "mlx.nn.MaxPool2d", "mlx.nn.Mish", "mlx.nn.Module.apply", "mlx.nn.Module.apply_to_modules", "mlx.nn.Module.children", "mlx.nn.Module.eval", "mlx.nn.Module.filter_and_map", "mlx.nn.Module.freeze", "mlx.nn.Module.leaf_modules", "mlx.nn.Module.load_weights", "mlx.nn.Module.modules", "mlx.nn.Module.named_modules", "mlx.nn.Module.parameters", "mlx.nn.Module.save_weights", "mlx.nn.Module.state", "mlx.nn.Module.train", "mlx.nn.Module.trainable_parameters", "mlx.nn.Module.training", "mlx.nn.Module.unfreeze", "mlx.nn.Module.update", "mlx.nn.Module.update_modules", "mlx.nn.MultiHeadAttention", "mlx.nn.PReLU", "mlx.nn.QuantizedLinear", "mlx.nn.RMSNorm", "mlx.nn.ReLU", "mlx.nn.RoPE", "mlx.nn.SELU", "mlx.nn.Sequential", "mlx.nn.SiLU", "mlx.nn.SinusoidalPositionalEncoding", "mlx.nn.Softshrink", "mlx.nn.Step", "mlx.nn.Transformer", "mlx.nn.init.constant", "mlx.nn.init.glorot_normal", "mlx.nn.init.glorot_uniform", "mlx.nn.init.he_normal", "mlx.nn.init.he_uniform", "mlx.nn.init.identity", "mlx.nn.init.normal", "mlx.nn.init.uniform", "mlx.nn.gelu", "mlx.nn.gelu_approx", "mlx.nn.gelu_fast_approx", "mlx.nn.losses.binary_cross_entropy", "mlx.nn.losses.cosine_similarity_loss", "mlx.nn.losses.cross_entropy", "mlx.nn.losses.gaussian_nll_loss", "mlx.nn.losses.hinge_loss", "mlx.nn.losses.huber_loss", "mlx.nn.losses.kl_div_loss", "mlx.nn.losses.l1_loss", "mlx.nn.losses.log_cosh_loss", "mlx.nn.losses.margin_ranking_loss", "mlx.nn.losses.mse_loss", "mlx.nn.losses.nll_loss", "mlx.nn.losses.smooth_l1_loss", "mlx.nn.losses.triplet_loss", "mlx.nn.mish", "mlx.nn.prelu", "mlx.nn.relu", "mlx.nn.selu", "mlx.nn.silu", "mlx.nn.softshrink", "mlx.nn.step", "Functions", "Initializers", "Layers", "Loss Functions", "Module", "Operations", "Optimizers", "mlx.optimizers.AdaDelta", "mlx.optimizers.Adafactor", "mlx.optimizers.Adagrad", "mlx.optimizers.Adam", "mlx.optimizers.AdamW", "mlx.optimizers.Adamax", "mlx.optimizers.Lion", "mlx.optimizers.Optimizer.apply_gradients", "mlx.optimizers.Optimizer.init", "mlx.optimizers.Optimizer.state", "mlx.optimizers.Optimizer.update", "mlx.optimizers.RMSprop", "mlx.optimizers.SGD", "mlx.optimizers.cosine_decay", "mlx.optimizers.exponential_decay", "mlx.optimizers.step_decay", "Common Optimizers", "Optimizer", "Schedulers", "Random", "Transforms", "Tree Utils", "Compilation", "Function Transforms", "Indexing Arrays", "Lazy Evaluation", "Conversion to NumPy and Other Frameworks", "Quick Start Guide", "Saving and Loading Arrays", "Unified Memory", "Using Streams"], "terms": {"mlx": [1, 2, 3, 4, 6, 209, 293, 296, 298, 316, 318, 320, 321, 322, 323, 324, 325, 326, 327, 328], "provid": [1, 3, 72, 102, 187, 192, 201, 209, 228, 233, 235, 244, 245, 246, 249, 259, 292, 296, 327, 329], "open": [1, 6, 14, 150, 154], "flexibl": [1, 5, 246], "which": [1, 3, 4, 5, 6, 14, 32, 63, 74, 82, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 102, 107, 108, 109, 110, 111, 114, 115, 117, 143, 146, 147, 156, 157, 160, 161, 162, 163, 164, 176, 177, 183, 192, 194, 195, 212, 217, 218, 220, 226, 228, 232, 252, 273, 276, 280, 283, 293, 306, 307, 318, 321, 322, 323, 324, 328, 329], "user": [1, 3, 209], "mai": [1, 114, 217, 322, 323], "add": [1, 3, 84, 122, 140, 143, 214, 215, 322, 328], "special": 1, "without": [1, 3, 5, 178, 247, 292, 320, 321, 324, 325, 328], "much": [1, 3, 211, 212, 225, 226, 321, 324], "hassl": 1, "while": [1, 3, 6, 157, 252, 324, 325], "librari": [1, 6, 209], "suppli": 1, "effici": [1, 3, 5, 217, 252, 324, 326], "can": [1, 3, 5, 6, 10, 14, 46, 57, 63, 74, 75, 76, 77, 79, 82, 103, 104, 112, 113, 114, 122, 129, 132, 134, 145, 146, 150, 153, 154, 161, 180, 192, 209, 212, 219, 226, 232, 244, 254, 273, 293, 296, 298, 306, 307, 318, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329], "compos": [1, 5, 209, 321, 322, 326], "ani": [1, 3, 5, 14, 200, 201, 202, 209, 220, 228, 229, 232, 240, 249, 259, 293, 320, 321, 322, 324, 326, 327, 328], "number": [1, 14, 51, 63, 66, 72, 85, 102, 105, 111, 116, 140, 143, 144, 146, 149, 152, 154, 156, 158, 187, 189, 192, 194, 195, 209, 213, 214, 215, 217, 218, 221, 222, 247, 248, 259, 261, 262, 263, 264, 312, 318, 321, 322, 329], "applic": [1, 6], "aris": [1, 325], "case": [1, 3, 88, 91, 92, 94, 95, 96, 97, 98, 115, 127, 157, 176, 212, 217, 226, 253, 258, 283, 288, 290, 291, 306, 307, 321, 322, 326, 327, 328, 329], "where": [1, 4, 85, 143, 192, 195, 211, 212, 213, 214, 215, 216, 217, 218, 220, 221, 222, 223, 224, 225, 226, 232, 248, 250, 253, 255, 258, 263, 264, 268, 269, 270, 274, 280, 286, 288, 289, 291, 307, 322, 323], "new": [1, 4, 60, 74, 133, 136, 157, 177, 188, 201, 247, 296, 298, 309, 321, 323, 324, 325], "function": [1, 2, 3, 4, 5, 12, 63, 77, 80, 81, 102, 111, 114, 115, 127, 167, 192, 194, 195, 199, 201, 209, 220, 227, 229, 233, 244, 248, 254, 257, 258, 259, 268, 269, 270, 285, 290, 291, 293, 298, 307, 318, 320, 323, 324, 325, 327], "highli": [1, 6], "optim": [1, 2, 4, 5, 245, 321, 322, 324], "ar": [1, 2, 3, 4, 5, 6, 12, 14, 59, 60, 62, 63, 67, 74, 82, 85, 87, 88, 90, 91, 93, 94, 96, 97, 98, 102, 107, 108, 109, 110, 111, 114, 115, 117, 127, 139, 140, 141, 143, 144, 145, 146, 147, 150, 153, 154, 163, 164, 176, 177, 183, 192, 194, 195, 200, 201, 213, 214, 215, 216, 217, 218, 221, 222, 223, 224, 235, 247, 249, 271, 273, 274, 292, 296, 305, 307, 320, 321, 322, 323, 324, 325, 326, 327, 328], "need": [1, 3, 4, 5, 59, 143, 209, 245, 246, 256, 259, 318, 322, 324, 325, 326, 328], "For": [1, 3, 6, 114, 143, 202, 209, 213, 217, 228, 233, 241, 244, 249, 252, 256, 261, 262, 263, 264, 293, 318, 321, 322, 323, 324, 325, 326, 327, 328], "you": [1, 3, 4, 5, 6, 209, 256, 259, 293, 318, 321, 322, 323, 325, 327, 328], "design": [1, 2, 5, 318, 328], "your": [1, 3, 6, 296, 322, 324], "own": [1, 6, 325], "link": [1, 6], "top": [1, 224], "core": [1, 2, 3, 4, 209, 211, 212, 213, 222, 225, 226, 235, 238, 242, 260, 261, 262, 263, 264, 265, 266, 267, 271, 273, 280, 293, 296, 298, 321, 325, 326], "we": [1, 2, 3, 4, 72, 143, 144, 209, 219, 254, 303, 305, 318, 320, 321, 322, 324, 328], "inner": [1, 321], "work": [1, 3, 6, 321, 322, 323, 324], "go": [1, 3, 322], "over": [1, 3, 4, 11, 13, 21, 22, 23, 24, 65, 66, 88, 91, 94, 97, 106, 114, 116, 126, 128, 130, 131, 141, 142, 159, 171, 172, 181, 187, 193, 213, 214, 215, 221, 223, 250, 273, 312, 322], "simpl": [1, 3, 4, 209, 219, 292, 321, 322, 324], "learn": [1, 2, 4, 5, 213, 221, 222, 223, 248, 250, 299, 300, 301, 302, 303, 304, 305, 310, 311], "step": [1, 3, 4, 14, 209, 300, 307, 312, 314, 321], "involv": [1, 298, 321], "ad": [1, 2, 6, 222, 296, 299, 300, 301, 302, 303, 304, 310, 324, 327], "let": [1, 2, 3, 321, 322, 324, 325], "s": [1, 2, 3, 4, 34, 43, 63, 71, 72, 87, 88, 90, 91, 93, 94, 96, 97, 102, 114, 117, 130, 139, 143, 146, 158, 161, 162, 179, 192, 193, 195, 199, 209, 212, 226, 232, 233, 235, 239, 240, 244, 298, 307, 308, 318, 321, 322, 324, 325, 326, 327, 328], "sai": [1, 3, 293, 324], "would": [1, 3, 323, 324, 325, 328], "like": [1, 3, 5, 138, 198, 218, 279, 307, 309, 321, 322, 324, 325, 326, 328], "an": [1, 3, 4, 6, 8, 11, 13, 25, 60, 65, 66, 82, 85, 98, 101, 105, 114, 117, 128, 131, 133, 137, 138, 140, 142, 143, 144, 156, 157, 158, 173, 176, 182, 183, 184, 187, 189, 195, 197, 198, 200, 201, 209, 211, 212, 216, 221, 223, 224, 225, 226, 228, 247, 248, 249, 259, 260, 261, 262, 263, 264, 265, 266, 267, 269, 286, 293, 299, 309, 313, 316, 318, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329], "take": [1, 3, 4, 63, 102, 111, 129, 132, 138, 144, 184, 192, 194, 195, 198, 247, 318, 322, 323, 327, 328, 329], "two": [1, 10, 12, 59, 74, 76, 79, 87, 90, 96, 103, 104, 112, 113, 115, 122, 127, 129, 132, 134, 139, 182, 212, 226, 249, 272, 321, 322, 323, 328], "arrai": [1, 3, 4, 5, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 72, 73, 74, 76, 77, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 209, 213, 228, 235, 238, 242, 248, 260, 261, 262, 263, 264, 265, 266, 267, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 291, 293, 296, 311, 312, 313, 314, 321, 322, 324, 325, 326, 328], "x": [1, 2, 3, 4, 80, 105, 114, 144, 147, 158, 163, 167, 190, 191, 196, 201, 209, 211, 212, 213, 220, 221, 222, 223, 224, 225, 226, 227, 228, 248, 250, 251, 253, 255, 256, 258, 268, 269, 270, 283, 285, 286, 287, 288, 289, 290, 291, 296, 298, 305, 321, 322, 323, 324, 325, 326, 328], "y": [1, 2, 3, 4, 196, 209, 213, 217, 221, 222, 223, 224, 250, 275, 280, 283, 298, 301, 321, 322, 324, 325], "scale": [1, 3, 72, 143, 144, 149, 217, 218, 247, 252, 253, 256, 288, 300], "them": [1, 3, 209, 233, 244, 328], "both": [1, 10, 76, 77, 79, 103, 104, 112, 113, 114, 122, 129, 132, 134, 146, 180, 211, 212, 222, 225, 226, 298, 321, 322, 326, 328], "some": [1, 2, 3, 4, 233, 244, 307, 321, 322, 324], "coeffici": [1, 299, 300, 302, 303, 304, 305], "alpha": [1, 143, 253, 284, 286, 288, 303, 310], "beta": [1, 72, 143, 213, 221, 222, 223, 283, 302, 303, 304, 305], "respect": [1, 2, 4, 102, 143, 192, 201, 209, 213, 220, 221, 222, 223, 296, 322, 326], "togeth": [1, 4, 143, 201], "get": [1, 2, 4, 6, 66, 70, 71, 148, 209, 321, 322, 324, 328], "z": [1, 321, 324], "well": [1, 3, 209, 233, 244, 247, 324], "veri": [1, 3, 247, 324, 328], "easili": 1, "do": [1, 3, 6, 209, 234, 244, 293, 296, 303, 321, 322, 324], "just": [1, 4, 321, 323], "write": [1, 3, 209, 325], "out": [1, 6, 211, 212, 217, 218, 225, 226, 241, 321, 322, 323], "follow": [1, 3, 4, 5, 6, 14, 67, 72, 114, 143, 209, 269, 270, 277, 299, 300, 301, 302, 303, 304, 305, 311, 318, 321, 322, 328], "import": [1, 2, 3, 4, 6, 114, 163, 192, 200, 201, 202, 209, 211, 212, 213, 222, 225, 226, 235, 271, 273, 280, 293, 296, 321, 322, 323, 324, 325, 326], "mx": [1, 2, 3, 4, 98, 114, 115, 117, 163, 192, 209, 211, 212, 213, 222, 225, 226, 228, 235, 239, 251, 260, 261, 262, 263, 264, 265, 266, 267, 271, 272, 273, 277, 280, 287, 293, 296, 298, 318, 321, 322, 323, 324, 325, 326, 327, 328, 329], "def": [1, 2, 3, 4, 192, 209, 296, 321, 322, 323, 324, 325, 328], "simple_axpbi": 1, "float": [1, 12, 14, 56, 100, 101, 114, 144, 145, 149, 150, 153, 154, 205, 213, 216, 217, 218, 221, 222, 223, 228, 250, 252, 256, 258, 259, 260, 261, 262, 263, 264, 266, 267, 272, 273, 274, 276, 280, 283, 284, 290, 291, 299, 300, 301, 302, 303, 304, 305, 310, 311, 312, 313, 314], "return": [1, 2, 3, 4, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 32, 36, 49, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 72, 73, 74, 76, 77, 79, 80, 81, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 152, 153, 154, 155, 156, 157, 158, 159, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 209, 230, 232, 234, 236, 237, 238, 242, 249, 260, 261, 262, 263, 264, 265, 266, 267, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 293, 296, 306, 320, 321, 322, 323, 324, 325, 327, 328], "thi": [1, 3, 4, 6, 11, 12, 13, 14, 21, 22, 23, 24, 78, 111, 114, 115, 122, 126, 127, 128, 130, 131, 141, 142, 146, 166, 171, 172, 173, 181, 183, 193, 209, 216, 217, 218, 229, 230, 232, 233, 236, 237, 238, 242, 244, 245, 246, 247, 249, 258, 261, 262, 263, 264, 269, 270, 279, 291, 296, 307, 320, 321, 322, 324, 325, 327], "perform": [1, 3, 5, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 127, 144, 158, 171, 183, 209, 221, 259, 263, 264, 321, 323, 324, 328], "leav": [1, 82, 201], "differenti": [1, 5], "howev": [1, 209, 220, 221, 307, 318, 321, 324, 325], "vector": [1, 2, 5, 106, 111, 114, 183, 194, 195, 219, 273, 326], "math": [1, 3, 284, 321], "often": [1, 218], "realiz": 1, "axpbi": 1, "routin": 1, "defin": [1, 2, 3, 4, 6, 114, 144, 200, 325], "same": [1, 3, 6, 12, 59, 60, 63, 66, 67, 92, 95, 96, 97, 102, 111, 140, 146, 158, 194, 196, 209, 212, 213, 216, 221, 222, 226, 249, 260, 261, 262, 263, 264, 265, 266, 267, 273, 284, 296, 306, 318, 321, 323, 328], "realli": 1, "part": [1, 322, 323], "doe": [1, 3, 6, 209, 321, 323, 324, 325], "fast": [1, 220, 270, 328], "so": [1, 3, 6, 102, 192, 216, 298, 321, 324, 328], "decid": [1, 201, 232], "want": [1, 3, 322, 328], "reli": 1, "acceler": [1, 213], "framework": [1, 5], "continu": [1, 322], "impos": 1, "our": [1, 3, 4, 254, 299, 300, 301, 302, 304, 305], "assumpt": 1, "also": [1, 3, 4, 5, 6, 10, 75, 76, 77, 79, 88, 91, 94, 97, 103, 104, 112, 113, 122, 129, 132, 134, 143, 180, 199, 209, 232, 245, 247, 249, 253, 255, 268, 288, 289, 292, 298, 321, 322, 323, 324, 325, 326, 329], "assum": [1, 3, 115, 201, 209, 211, 212, 221, 225, 226], "how": [1, 3, 4, 209, 211, 212, 214, 215, 219, 225, 226, 306, 321, 323, 328], "gradient": [1, 2, 4, 102, 178, 192, 199, 209, 233, 245, 249, 259, 279, 296, 298, 299, 300, 302, 303, 304, 305, 306, 309, 311, 321, 322, 323, 324, 325, 326], "ins": 1, "what": [1, 3, 201], "coincid": 1, "right": [1, 6, 143, 211, 212, 220, 225, 226, 269, 270, 274, 276, 284], "place": [1, 3, 158, 324, 325], "cours": [1, 322], "The": [1, 3, 4, 5, 6, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 32, 34, 43, 49, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 72, 73, 74, 76, 77, 79, 80, 81, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 152, 153, 154, 155, 156, 157, 161, 162, 167, 168, 169, 170, 171, 172, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 205, 211, 212, 213, 214, 215, 216, 217, 218, 219, 221, 222, 223, 224, 225, 226, 229, 235, 239, 240, 245, 246, 247, 249, 250, 252, 254, 256, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 291, 293, 296, 298, 299, 300, 301, 302, 303, 304, 305, 308, 310, 311, 312, 316, 321, 322, 323, 324, 325, 326, 327, 328, 329], "structur": [1, 306, 322], "from": [1, 3, 4, 5, 72, 74, 93, 94, 96, 97, 101, 114, 117, 127, 138, 143, 145, 146, 147, 148, 150, 153, 163, 176, 178, 180, 183, 184, 196, 198, 200, 201, 202, 209, 224, 233, 235, 247, 261, 262, 263, 264, 266, 267, 274, 283, 293, 320, 321, 322, 324, 325, 326, 327, 328], "frontend": 1, "api": [1, 322], "redirect": 1, "when": [1, 3, 5, 6, 114, 117, 214, 215, 263, 264, 277, 283, 296, 318, 321, 328], "appropri": [1, 321], "fallback": 1, "metal": 1, "vjp": [1, 326], "jvp": [1, 326], "In": [1, 3, 4, 127, 143, 201, 209, 217, 221, 296, 299, 301, 302, 304, 305, 306, 320, 321, 322, 324, 327, 328], "one": [1, 3, 6, 56, 62, 66, 84, 85, 114, 120, 127, 144, 146, 176, 180, 244, 273, 328], "sentenc": 1, "comput": [1, 2, 3, 4, 5, 6, 72, 102, 111, 114, 122, 130, 139, 143, 171, 178, 187, 192, 193, 194, 199, 209, 213, 221, 222, 223, 233, 245, 249, 250, 252, 259, 261, 262, 263, 264, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 298, 299, 300, 302, 303, 304, 305, 309, 321, 322, 326, 328], "graph": [1, 3, 4, 5, 322], "rule": 1, "evalu": [1, 3, 4, 5, 82, 111, 194, 209, 231, 241, 296, 298, 321, 326], "said": [1, 3], "start": [1, 2, 3, 5, 6, 14, 116, 173, 321, 323, 328], "discuss": 1, "more": [1, 4, 8, 56, 74, 127, 161, 162, 209, 213, 217, 252, 256, 259, 261, 262, 263, 264, 318, 321, 322, 323, 326, 328], "detail": [1, 8, 209, 217, 252, 256, 261, 262, 263, 264, 299, 301, 302, 304, 305, 323, 326], "thei": [1, 2, 3, 12, 67, 254, 275, 296, 305, 320, 321, 324, 326, 327, 328], "c": [1, 3, 114, 205, 211, 212, 213, 214, 215, 217, 218, 222, 225, 226, 325, 326, 328], "scalar": [1, 10, 12, 25, 36, 56, 59, 60, 62, 76, 77, 79, 100, 101, 102, 103, 104, 112, 113, 114, 116, 122, 123, 124, 125, 127, 129, 132, 134, 140, 150, 153, 154, 161, 180, 192, 196, 199, 284, 322, 324, 326], "sum": [1, 2, 10, 106, 114, 126, 171, 187, 209, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 323, 325], "element": [1, 9, 10, 15, 16, 17, 18, 19, 20, 23, 51, 61, 68, 69, 72, 76, 77, 79, 80, 81, 83, 85, 99, 100, 103, 104, 107, 108, 109, 110, 112, 113, 118, 119, 120, 121, 122, 123, 124, 125, 129, 132, 134, 135, 141, 143, 144, 155, 156, 159, 167, 168, 169, 170, 174, 175, 180, 183, 185, 186, 192, 196, 216, 217, 218, 227, 248, 252, 255, 285, 286, 289, 321, 322], "wise": [1, 9, 10, 15, 16, 17, 18, 19, 20, 61, 68, 69, 76, 77, 79, 80, 81, 83, 99, 100, 103, 104, 112, 113, 118, 119, 120, 121, 122, 123, 124, 125, 129, 132, 134, 135, 155, 159, 167, 168, 169, 170, 174, 175, 180, 185, 186, 217, 218, 227, 248, 255, 285, 286, 289, 321], "numpi": [1, 3, 4, 5, 10, 12, 14, 60, 76, 77, 79, 103, 104, 112, 113, 122, 127, 129, 132, 134, 180, 324, 326, 327], "style": [1, 10, 12, 76, 77, 79, 103, 104, 112, 113, 122, 127, 129, 132, 134, 180], "broadcast": [1, 10, 12, 60, 62, 76, 77, 79, 101, 103, 104, 112, 113, 122, 127, 129, 132, 134, 145, 146, 153, 154, 180, 184, 196, 247], "between": [1, 5, 62, 98, 259, 272, 275, 276, 279, 324, 328], "input": [1, 2, 3, 9, 10, 11, 12, 13, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 73, 74, 76, 77, 79, 80, 81, 83, 84, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 102, 103, 104, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 138, 139, 140, 141, 142, 143, 144, 152, 155, 156, 157, 158, 159, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 180, 181, 182, 183, 184, 185, 186, 187, 188, 190, 191, 192, 193, 195, 196, 198, 211, 212, 213, 214, 215, 217, 218, 219, 221, 222, 223, 224, 225, 226, 247, 249, 250, 252, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 271, 272, 274, 275, 276, 277, 279, 280, 282, 284, 291, 293, 321, 322, 323, 326, 327], "upcast": 1, "const": [1, 274], "factor": [1, 115, 273, 313, 314], "streamordevic": 1, "stream": [1, 5, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 27, 28, 29, 30, 31, 32, 33, 35, 37, 38, 39, 40, 41, 42, 44, 45, 46, 47, 48, 50, 52, 53, 54, 55, 57, 58, 59, 60, 61, 62, 64, 65, 66, 67, 68, 69, 71, 72, 73, 74, 76, 77, 79, 80, 81, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 103, 104, 105, 106, 107, 108, 109, 110, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 149, 150, 152, 153, 154, 155, 156, 157, 158, 159, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 193, 196, 197, 198, 328], "schedul": [1, 298, 312, 313, 314, 316, 328], "itself": [1, 307], "call": [1, 3, 4, 26, 100, 209, 219, 233, 244, 254, 296, 298, 307, 321, 322, 324], "other": [1, 3, 5, 114, 209, 234, 296, 305, 321, 323, 324, 326], "within": [1, 23], "simplest": [1, 209], "wai": [1, 3, 6, 209, 321, 322, 323], "about": [1, 3, 4, 324, 328], "term": [1, 274, 299, 300, 301, 302, 303, 304, 310], "exist": [1, 3, 233, 244], "auto": [1, 6], "ax": [1, 11, 13, 21, 22, 57, 84, 87, 88, 90, 91, 93, 94, 96, 97, 98, 106, 114, 126, 128, 130, 131, 140, 142, 171, 176, 181, 182, 187, 188, 193, 322], "multipli": [1, 143, 144, 216, 256], "earlier": 1, "goal": 1, "themselv": [1, 321], "contain": [1, 3, 23, 24, 49, 63, 74, 92, 93, 94, 114, 123, 124, 125, 143, 173, 196, 209, 232, 234, 235, 240, 259, 280, 293, 296, 321, 322], "act": [1, 279], "data": [1, 4, 5, 8, 14, 85, 95, 96, 101, 105, 116, 137, 153, 189, 197, 218, 260, 261, 262, 263, 264, 265, 266, 267, 321, 323, 325], "nor": [1, 102, 192], "rather": [1, 322, 328], "easi": [1, 209], "interfac": 1, "block": [1, 3, 259], "A": [1, 3, 5, 6, 7, 49, 59, 63, 102, 111, 114, 115, 117, 126, 127, 143, 145, 146, 147, 149, 150, 153, 154, 173, 177, 179, 192, 194, 195, 199, 200, 201, 202, 203, 209, 213, 217, 221, 222, 223, 227, 232, 236, 237, 245, 246, 250, 254, 256, 259, 261, 262, 264, 270, 284, 285, 296, 298, 302, 304, 306, 307, 309, 321, 322, 324, 325], "It": [1, 3, 6, 102, 166, 192, 209, 246, 249, 306, 316, 325, 327], "creat": [1, 3, 6, 85, 105, 179, 209, 296, 298, 321, 323, 325], "output": [1, 3, 6, 11, 12, 13, 14, 23, 60, 63, 85, 92, 95, 96, 97, 101, 102, 105, 114, 116, 126, 128, 130, 131, 137, 138, 141, 142, 145, 146, 147, 149, 150, 153, 154, 163, 164, 171, 176, 181, 184, 189, 192, 193, 194, 195, 196, 197, 198, 211, 212, 213, 214, 215, 222, 224, 225, 226, 247, 249, 258, 259, 261, 262, 263, 264, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 291, 293, 321, 322, 323, 324, 325, 326, 327, 328], "given": [1, 11, 13, 23, 60, 62, 64, 72, 74, 82, 84, 86, 87, 88, 89, 90, 91, 95, 96, 97, 101, 114, 126, 128, 130, 131, 136, 142, 150, 158, 166, 171, 173, 181, 189, 190, 191, 193, 203, 211, 212, 216, 225, 226, 232, 247, 272, 274, 280], "set": [1, 3, 4, 6, 75, 78, 165, 166, 179, 220, 224, 231, 233, 240, 241, 244, 245, 249, 252, 258, 272, 284, 291, 296, 300, 307, 318, 322, 324], "further": [1, 6, 322], "class": [1, 3, 4, 7, 8, 25, 203, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 273, 296, 299, 300, 301, 302, 303, 304, 305, 310, 311, 316], "under": [1, 114], "These": [1, 63, 184, 273, 328], "word": 1, "bit": [1, 72, 143, 144, 205, 228, 249], "abstract": 1, "back": [1, 3, 325], "give": [1, 3, 4, 23, 321], "ourselv": 1, "concret": [1, 224, 324, 328], "imag": [1, 215, 217, 218], "public": [1, 209], "explicit": [1, 307, 318, 325], "alpha_": 1, "beta_": 1, "must": [1, 6, 62, 101, 114, 145, 146, 150, 153, 154, 196, 325], "know": [1, 3], "popul": 1, "To": [1, 2, 3, 4, 6, 209, 293, 321, 322, 326], "avoid": [1, 321], "unnecessari": [1, 3], "alloc": [1, 296], "respons": 1, "space": [1, 116, 282], "void": 1, "eval_cpu": 1, "std": [1, 266], "overrid": [1, 78], "eval_gpu": 1, "jacobian": [1, 111, 194, 326], "product": [1, 106, 111, 127, 139, 142, 187, 194, 247, 326], "primal": [1, 111, 194], "tangent": [1, 19, 20, 111, 185, 186], "int": [1, 3, 4, 7, 11, 13, 14, 21, 22, 23, 24, 28, 29, 30, 31, 39, 40, 41, 42, 44, 47, 49, 52, 55, 56, 58, 60, 64, 65, 66, 72, 73, 74, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 101, 102, 105, 114, 116, 126, 128, 130, 131, 133, 137, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 156, 157, 158, 171, 172, 173, 176, 177, 181, 182, 183, 184, 187, 188, 189, 190, 191, 192, 193, 195, 197, 203, 209, 211, 212, 213, 214, 215, 219, 221, 222, 223, 224, 225, 226, 247, 249, 250, 252, 256, 259, 272, 273, 277, 282, 284, 296, 312, 314], "argnum": [1, 102, 192, 322], "cotan": 1, "across": [1, 221], "pair": [1, 140, 235, 252], "repres": [1, 3, 280, 284, 325], "axi": [1, 3, 4, 11, 13, 21, 22, 23, 24, 28, 29, 30, 31, 39, 40, 41, 42, 44, 52, 55, 58, 64, 74, 84, 86, 89, 92, 93, 94, 95, 96, 97, 98, 114, 126, 128, 130, 131, 133, 140, 141, 142, 146, 156, 171, 172, 173, 176, 177, 181, 182, 183, 184, 188, 193, 195, 211, 212, 225, 226, 272, 273, 277, 282, 284, 323], "correspond": [1, 11, 13, 56, 62, 72, 74, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 126, 128, 131, 142, 181, 187, 195, 201, 322], "dimens": [1, 3, 11, 13, 21, 22, 43, 49, 56, 66, 74, 84, 93, 94, 96, 97, 98, 106, 114, 115, 126, 127, 128, 130, 131, 142, 143, 146, 152, 181, 184, 187, 188, 193, 213, 214, 215, 217, 218, 221, 222, 223, 247, 250, 252, 259, 273, 321, 322], "vmap": [1, 322, 324, 326], "print": [1, 2, 3, 4, 6, 200, 201, 202, 209, 318, 321, 322, 323, 324, 325, 326], "ostream": 1, "os": [1, 6], "equival": [1, 26, 46, 57, 77, 100, 183, 220, 246, 248, 249, 257], "check": [1, 6, 59, 235, 322, 323], "bool": [1, 11, 12, 13, 21, 22, 28, 29, 30, 31, 39, 40, 41, 42, 44, 55, 56, 58, 59, 114, 117, 126, 128, 130, 131, 142, 144, 145, 150, 153, 154, 181, 193, 213, 214, 215, 221, 222, 223, 224, 228, 232, 233, 235, 241, 244, 247, 249, 252, 256, 259, 271, 274, 300, 311], "is_equival": 1, "privat": 1, "fall": 1, "eval": [1, 2, 3, 4, 209, 296, 298, 321, 322, 324, 326], "deriv": [1, 322, 324], "base": [1, 114, 119, 121, 252, 259, 296, 298, 304, 316, 318, 321, 323], "abov": [1, 3, 6, 143, 190, 209, 303, 322, 323, 324, 328], "demonstr": [1, 325], "treat": [1, 93, 94, 96, 97, 183, 321], "paramet": [1, 2, 3, 4, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 32, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 72, 73, 74, 76, 77, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 228, 229, 232, 233, 235, 240, 241, 244, 245, 246, 247, 248, 249, 250, 252, 254, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 291, 292, 293, 296, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 309, 310, 311, 312, 313, 314, 316, 321, 322, 324], "produc": [1, 63, 247, 293], "through": [1, 178, 259, 305, 321, 322, 325], "construct": [1, 4, 73, 101, 137, 197], "its": [1, 6, 127, 141, 152, 189, 199, 202, 209, 249, 302, 303, 304, 325, 328], "type": [1, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 32, 49, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 72, 73, 74, 76, 77, 79, 80, 81, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 152, 153, 154, 155, 156, 157, 158, 159, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 200, 209, 259, 260, 261, 262, 263, 264, 265, 266, 267, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 321, 323], "shape": [1, 3, 4, 46, 59, 60, 65, 66, 74, 86, 89, 92, 95, 96, 97, 101, 111, 127, 137, 138, 145, 146, 147, 149, 150, 153, 154, 157, 184, 194, 196, 197, 198, 209, 211, 212, 213, 214, 215, 217, 218, 222, 224, 225, 226, 235, 260, 261, 262, 263, 264, 265, 266, 267, 273, 284, 298, 321, 322, 323, 326, 328], "pass": [1, 3, 4, 46, 57, 139, 140, 192, 199, 200, 201, 209, 233, 244, 245, 246, 249, 254, 321, 324], "re": [1, 4, 6, 293], "now": [1, 3, 6, 249, 321, 325], "promot": 1, "dtype": [1, 3, 14, 25, 32, 56, 85, 98, 101, 105, 114, 115, 116, 137, 147, 149, 150, 153, 154, 189, 197, 205, 260, 261, 262, 263, 264, 265, 266, 267, 271, 273, 280, 312, 313, 314, 321, 322, 323, 325, 326, 327], "promoted_dtyp": 1, "promote_typ": 1, "float32": [1, 14, 85, 105, 114, 115, 116, 137, 147, 149, 153, 154, 189, 197, 205, 260, 261, 262, 263, 264, 265, 266, 267, 271, 273, 280, 312, 313, 314, 321, 322, 323, 324, 325, 326, 327], "non": [1, 6, 227, 242, 285, 296], "point": [1, 2, 3, 6, 100, 144, 205], "out_dtyp": 1, "is_floating_point": 1, "cast": [1, 32, 95, 96, 97, 117, 228, 325], "up": [1, 3, 249, 321], "determin": [1, 74, 239, 327], "x_cast": 1, "astyp": [1, 3, 228, 325], "y_cast": 1, "broadcasted_input": 1, "broadcast_arrai": 1, "out_shap": 1, "0": [1, 2, 3, 4, 6, 7, 14, 47, 52, 58, 64, 65, 66, 73, 74, 85, 98, 102, 114, 115, 140, 145, 149, 154, 156, 158, 173, 177, 189, 190, 191, 192, 193, 195, 200, 209, 211, 212, 213, 214, 215, 216, 217, 218, 220, 221, 222, 223, 225, 226, 248, 251, 252, 253, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 269, 270, 271, 273, 275, 276, 280, 283, 284, 286, 287, 288, 290, 291, 293, 296, 299, 300, 302, 303, 304, 305, 307, 310, 311, 312, 313, 314, 318, 321, 322, 323, 324, 325, 326, 327], "unique_ptr": 1, "make_uniqu": 1, "to_stream": 1, "handl": [1, 209, 321], "resolv": 1, "No": [1, 3], "happen": [1, 3, 259, 298, 321, 324], "alon": [1, 325], "effect": [1, 217, 321, 324], "onli": [1, 3, 5, 6, 59, 65, 66, 114, 143, 205, 209, 232, 233, 235, 241, 244, 245, 246, 296, 321, 322, 327, 328], "execut": [1, 6, 325, 328], "depend": [1, 2, 56, 114, 323, 327, 328], "devic": [1, 5, 6, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 27, 28, 29, 30, 31, 32, 33, 35, 37, 38, 39, 40, 41, 42, 44, 45, 46, 47, 48, 50, 52, 53, 54, 55, 57, 58, 59, 60, 61, 62, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 76, 77, 79, 80, 81, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 103, 104, 105, 106, 107, 108, 109, 110, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 149, 150, 152, 153, 154, 155, 156, 157, 158, 159, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 193, 196, 197, 198, 203, 328, 329], "specifi": [1, 14, 32, 66, 74, 93, 94, 101, 102, 114, 116, 133, 137, 146, 156, 182, 183, 184, 187, 188, 192, 195, 197, 213, 258, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 291, 322, 328], "memori": [1, 5, 259, 296, 300, 321, 324, 325], "ha": [1, 3, 4, 5, 56, 63, 74, 92, 93, 95, 96, 97, 102, 146, 213, 224, 296, 298, 321, 323, 324, 326, 328], "been": [1, 3, 324], "try": [1, 6], "naiv": [1, 322], "gener": [1, 2, 14, 85, 93, 94, 116, 145, 149, 150, 153, 154, 259, 318, 321, 323, 324, 329], "version": [1, 6, 72, 122, 126, 143, 171, 195, 318, 322, 323], "declar": 1, "member": [1, 209, 238, 242], "method": [1, 3, 7, 8, 25, 203, 209, 239, 296, 299, 300, 301, 302, 303, 304, 305, 307, 310, 311, 316], "each": [1, 49, 72, 82, 127, 140, 143, 144, 146, 156, 163, 164, 173, 188, 195, 196, 217, 218, 219, 221, 252, 259, 271, 273, 318, 321, 324], "find": [1, 2, 6], "pointwis": 1, "captur": [1, 63, 209, 321], "templat": 1, "axpby_impl": 1, "typenam": 1, "t": [1, 3, 80, 144, 192, 209, 211, 225, 299, 300, 301, 302, 303, 304, 305, 310, 311, 321, 322, 328], "readi": 1, "fill": [1, 101, 138, 189, 198, 260, 261, 262, 263, 264, 266, 267], "malloc_or_wait": 1, "synchron": [1, 321], "avail": [1, 2, 3, 4, 6, 8, 205, 328], "There": [1, 209, 321], "wait": [1, 3], "here": [1, 3, 321, 322, 324, 327, 328], "request": 1, "pressur": 1, "condit": [1, 196, 328], "set_data": 1, "nbyte": 1, "collect": [1, 201, 320], "pointer": 1, "x_ptr": 1, "y_ptr": 1, "out_ptr": 1, "relev": 1, "static_cast": 1, "size_t": 1, "out_idx": 1, "size": [1, 3, 4, 49, 66, 72, 84, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 101, 105, 114, 143, 144, 146, 157, 173, 176, 209, 211, 212, 214, 215, 219, 222, 225, 226, 249, 300, 324, 325], "map": [1, 4, 117, 201, 219, 228], "linear": [1, 3, 4, 5, 201, 209, 220, 235, 249, 251, 253, 255, 268, 269, 270, 287, 288, 289, 293, 296, 307, 321], "indic": [1, 12, 21, 22, 23, 24, 102, 107, 108, 109, 110, 173, 183, 184, 192, 241, 243, 273, 280, 323], "offset": [1, 3, 74], "x_offset": 1, "elem_to_loc": 1, "stride": [1, 65, 66, 211, 212, 214, 215, 225, 226, 252, 323], "y_offset": 1, "contigu": 1, "regularli": 1, "default": [1, 6, 11, 12, 13, 14, 21, 22, 23, 24, 59, 63, 64, 65, 66, 70, 71, 72, 73, 74, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 102, 105, 114, 115, 116, 117, 126, 128, 130, 131, 137, 141, 142, 143, 144, 145, 146, 147, 149, 150, 152, 153, 154, 156, 157, 158, 165, 166, 172, 173, 176, 177, 179, 181, 187, 188, 189, 190, 191, 192, 193, 195, 197, 205, 211, 212, 213, 214, 215, 222, 224, 225, 226, 228, 233, 235, 241, 244, 247, 248, 249, 252, 256, 257, 259, 260, 261, 262, 263, 264, 265, 266, 267, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 296, 299, 300, 301, 302, 303, 304, 305, 310, 311, 318, 320, 321, 322, 325, 327, 329], "row": [1, 85, 105, 143, 189], "major": 1, "henc": [1, 143, 321], "doesn": [1, 209], "addit": [1, 3, 10, 117, 213, 221, 223, 247, 250, 296, 322], "abl": [1, 143], "all": [1, 4, 6, 12, 23, 66, 85, 88, 91, 94, 97, 127, 140, 141, 176, 209, 228, 229, 233, 236, 237, 238, 242, 244, 247, 249, 256, 259, 293, 296, 316, 318, 321, 323, 324, 326, 329], "incom": 1, "accordingli": 1, "dispatch": 1, "float16": [1, 117, 205, 228, 324, 325], "bfloat16": [1, 325], "complex64": 1, "throw": 1, "error": [1, 6, 80, 81, 173, 220, 249, 268, 269, 270, 279, 281, 322, 325], "encount": [1, 322], "unexpect": [1, 14], "regist": [1, 4], "op": [1, 139, 233, 324], "assert": 1, "2": [1, 2, 3, 4, 66, 73, 74, 80, 87, 90, 92, 93, 94, 95, 96, 97, 98, 114, 115, 121, 127, 143, 152, 187, 189, 190, 191, 205, 209, 211, 212, 215, 220, 225, 226, 250, 256, 260, 261, 262, 263, 264, 265, 266, 267, 269, 273, 274, 276, 283, 284, 293, 296, 299, 301, 302, 303, 307, 310, 321, 322, 323, 324, 325, 326, 327, 328], "1": [1, 3, 4, 14, 23, 24, 65, 66, 73, 74, 86, 87, 89, 90, 92, 93, 94, 95, 96, 97, 98, 106, 114, 115, 127, 139, 141, 143, 146, 149, 154, 167, 172, 183, 192, 205, 209, 211, 212, 213, 214, 215, 216, 217, 218, 220, 221, 222, 223, 224, 225, 226, 248, 250, 252, 253, 256, 258, 261, 262, 263, 264, 265, 266, 267, 269, 270, 271, 272, 273, 274, 275, 276, 277, 279, 280, 282, 283, 284, 288, 291, 293, 296, 298, 299, 300, 301, 302, 303, 304, 305, 307, 310, 311, 312, 313, 314, 321, 322, 323, 325, 326, 327, 328], "correct": [1, 6, 302, 303, 304, 323, 324], "els": [1, 3, 209, 233, 324], "float16_t": 1, "bfloat16_t": 1, "complex64_t": 1, "runtime_error": 1, "support": [1, 3, 5, 6, 12, 65, 66, 98, 115, 117, 127, 143, 322, 323, 325, 327], "have": [1, 3, 6, 12, 59, 93, 94, 96, 97, 127, 146, 200, 247, 254, 305, 307, 320, 321, 323, 324, 328], "rememb": 1, "3": [1, 3, 6, 98, 114, 115, 262, 264, 300, 305, 318, 321, 323, 325, 326], "complic": 1, "keep": [1, 11, 13, 21, 22, 126, 128, 130, 131, 142, 181, 193, 209, 232, 322, 324], "mind": [1, 3], "half": [1, 14, 150, 154, 252, 324], "precis": [1, 3, 209, 220, 306, 321], "direct": [1, 3, 230, 305, 328], "fix": [1, 3, 6, 324], "possibl": [1, 3, 127, 173, 219, 321, 323, 328], "due": 1, "transpos": [1, 3, 26, 144], "aren": 1, "guarante": 1, "fit": [1, 143, 328], "requir": [1, 3, 209, 324, 325], "column": [1, 85, 105, 143], "inplac": 1, "expect": [1, 3, 214, 215, 216, 217, 218, 256, 259, 274, 321, 323], "answer": 1, "copi": [1, 3, 5, 141, 172, 325], "simpli": [1, 3, 6, 251, 287, 296, 321, 322], "catlas_saxpbi": 1, "axpby_impl_acceler": 1, "first": [1, 2, 3, 4, 6, 74, 98, 102, 123, 125, 127, 141, 152, 182, 187, 192, 200, 209, 212, 221, 226, 272, 280, 300, 302, 303, 304, 307, 321, 322, 325, 328], "mode": [1, 67, 231, 241, 243, 263, 264], "i": [1, 3, 111, 114, 209, 214, 215, 217, 218, 233, 279, 303, 321, 322], "e": [1, 4, 6, 80, 111, 167, 213, 214, 215, 217, 218, 221, 222, 223, 233, 250, 292, 298, 301, 321, 324, 329], "match": [1, 6, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 235, 273, 323, 325], "transposit": 1, "data_s": 1, "items": 1, "flag": [1, 321, 325], "copy_inplac": 1, "copytyp": 1, "n": [1, 3, 25, 65, 66, 85, 86, 88, 89, 91, 92, 95, 97, 105, 189, 193, 211, 212, 213, 214, 215, 217, 218, 225, 226, 279, 284], "incx": 1, "inci": 1, "great": 1, "But": [1, 328], "criteria": 1, "luckili": [1, 324], "alwai": [1, 200, 322], "With": 1, "final": [1, 2, 3, 4], "singl": [1, 4, 82, 111, 117, 140, 194, 212, 226, 321, 323, 327], "row_contigu": 1, "col_contigu": 1, "common": [1, 298, 321, 324], "hit": 1, "mileston": 1, "enough": [1, 324], "run": [1, 3, 4, 5, 6, 7, 139, 203, 213, 228, 299, 300, 302, 303, 304, 321, 324, 328, 329], "If": [1, 3, 6, 11, 12, 13, 14, 21, 22, 23, 24, 56, 59, 62, 64, 67, 73, 74, 82, 95, 96, 97, 100, 101, 102, 114, 117, 126, 127, 128, 130, 131, 137, 140, 141, 142, 146, 156, 171, 172, 173, 181, 183, 184, 187, 192, 193, 195, 197, 201, 213, 214, 215, 221, 223, 224, 233, 235, 244, 249, 252, 254, 256, 271, 273, 284, 300, 321, 322, 324, 327, 328, 329], "plan": [1, 321], "stop": [1, 3, 14, 116, 178, 322, 323], "enjoi": 1, "speed": 1, "appl": [1, 3, 5, 6, 328], "silicon": [1, 3, 5, 6, 328], "address": 1, "shade": 1, "languag": [1, 205], "kernel": [1, 65, 66, 211, 225, 321, 323], "written": 1, "help": [1, 3, 321, 328], "resourc": 1, "walkthrough": 1, "pipelin": 1, "specif": [1, 6, 322], "cpp": 1, "algorithm": [1, 305], "launch": [1, 323], "exactli": [1, 3, 235, 322], "mani": [1, 173, 214, 215, 219, 321, 324], "thread": 1, "pick": 1, "updat": [1, 2, 3, 4, 63, 201, 213, 228, 235, 240, 246, 298, 300, 303, 305, 306, 307, 311, 312, 313, 314, 321, 324], "assign": [1, 296], "axpby_gener": 1, "buffer": [1, 325], "constant": [1, 3, 6, 140, 209, 213, 221, 223, 250, 274, 284, 310, 312, 321, 325], "4": [1, 3, 72, 98, 114, 143, 144, 163, 205, 211, 212, 213, 222, 225, 226, 249, 259, 261, 262, 263, 271, 321, 323, 326, 328], "5": [1, 2, 3, 6, 114, 145, 211, 213, 216, 217, 218, 222, 225, 257, 260, 263, 264, 283, 290, 293, 310, 312, 313, 321, 322, 323], "x_stride": 1, "6": [1, 3, 114, 163, 259, 262, 269, 270, 274, 284, 310, 321, 323, 326], "y_stride": 1, "7": [1, 3, 114, 143, 323], "ndim": [1, 98, 114], "8": [1, 3, 6, 114, 143, 205, 212, 222, 226, 259, 272, 299, 300, 301, 302, 303, 304, 310, 321, 323, 326, 328], "uint": 1, "index": [1, 5, 7, 23, 84, 85, 102, 141, 183, 184, 192, 203], "thread_position_in_grid": 1, "convert": [1, 56, 98, 249, 324, 325, 326], "instanti": [1, 4, 324], "uniqu": [1, 318], "host": 1, "name": [1, 117, 143, 144, 161, 162, 163, 164, 209, 221, 232, 235, 237, 323, 327], "identifi": [1, 200, 320], "instantiate_axpbi": 1, "type_nam": 1, "host_nam": 1, "axpby_general_": 1, "compil": [1, 5, 6, 75, 78, 322, 324], "mlx_ext": 1, "metallib": [1, 6], "see": [1, 3, 4, 6, 8, 27, 28, 29, 30, 31, 33, 35, 37, 38, 39, 40, 41, 42, 44, 45, 46, 47, 48, 50, 52, 53, 54, 55, 57, 58, 114, 161, 162, 209, 213, 217, 220, 231, 248, 249, 252, 253, 256, 257, 261, 262, 263, 264, 268, 269, 270, 288, 321, 322, 323, 326, 328], "later": [1, 6], "co": [1, 256, 322], "locat": [1, 245, 246, 328], "share": [1, 5, 72, 143, 144], "register_librari": 1, "potenti": 1, "path": [1, 6, 163, 164, 235], "tri": 1, "load": [1, 4, 5, 235], "hasn": 1, "alreadi": [1, 3], "static": [1, 6], "object": [1, 8, 25, 36, 56, 145, 150, 153, 154, 195, 200, 201, 217, 320], "why": [1, 3], "packag": [1, 2, 4, 293], "process": [1, 3, 67, 201, 218, 219, 259, 320], "logic": [1, 123, 124, 125], "grid": 1, "shown": 1, "below": [1, 6, 114, 189, 191, 205, 324], "prepar": [1, 3], "carri": 1, "should": [1, 2, 3, 4, 6, 74, 111, 143, 184, 192, 194, 200, 209, 214, 215, 217, 218, 241, 247, 254, 273, 275, 280, 296, 320, 321, 322, 324, 325, 329], "d": [1, 3, 73, 74, 106, 114, 127, 139, 183, 189, 190, 191, 202, 218, 299, 302, 304, 328], "ostringstream": 1, "kname": 1, "axpby_": 1, "general_": 1, "type_to_nam": 1, "make": [1, 3, 4, 6, 127, 136, 166, 209, 312, 313, 314, 321, 324, 326, 328], "sure": [1, 3, 6, 209, 321], "look": [1, 3], "folder": 1, "get_colocated_mtllib_path": 1, "get_kernel": 1, "str": [1, 67, 102, 114, 117, 160, 161, 162, 163, 164, 192, 200, 202, 228, 229, 232, 233, 235, 237, 239, 244, 263, 264, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284], "encod": [1, 252, 256, 259, 273], "compute_encod": 1, "get_command_encod": 1, "setcomputepipelinest": 1, "those": [1, 3, 209], "nelem": 1, "set_array_buff": 1, "setbyt": 1, "sizeof": 1, "threadgroup": 1, "higher": [1, 106, 280, 322], "than": [1, 3, 56, 67, 74, 77, 103, 104, 112, 113, 127, 201, 252, 258, 280, 283, 291, 300, 305, 321, 322, 328], "max": [1, 114, 129, 225, 226, 248, 272, 274, 275, 280, 284, 286, 300, 304, 321, 322, 328], "allow": [1, 209, 246, 296, 316, 323, 326], "tgp_size": 1, "min": [1, 114, 132, 248, 286], "maxtotalthreadsperthreadgroup": 1, "3d": [1, 213, 218], "mtl": 1, "group_dim": 1, "grid_dim": 1, "divid": [1, 100, 143], "among": 1, "dispatchthread": 1, "few": [1, 3, 4, 5, 324, 326], "thing": [1, 3], "note": [1, 3, 6, 12, 65, 66, 93, 94, 114, 143, 146, 209, 325, 327], "befor": [1, 3, 6, 23, 141, 232, 259, 307, 323, 324], "move": [1, 133, 328], "track": [1, 209, 213], "activ": [1, 6, 217, 227, 258, 259, 285, 290, 291, 292, 321], "command": [1, 6], "instead": [1, 6, 209, 246, 256, 322, 324], "end_encod": 1, "end": [1, 74, 143, 212, 226, 253, 258, 276, 283, 288, 290, 291], "until": [1, 324, 326], "limit": [1, 62, 323], "flush": 1, "enqueu": 1, "commit": 1, "associ": [1, 163, 164, 324], "suggest": 1, "deeper": 1, "dive": 1, "studi": 1, "come": [1, 3, 322], "far": [1, 298], "built": [1, 6, 324], "includ": [1, 229, 240, 249, 274, 321, 322, 323, 326, 327, 329], "forward": [1, 192, 321, 324], "diff": 1, "push": 1, "along": [1, 21, 22, 63, 64, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 114, 156, 171, 173, 177, 183, 184, 187, 209], "similarli": [1, 6, 127, 322, 324], "scale_arr": 1, "contribut": 1, "tangent_x": 1, "tangent_i": 1, "revers": [1, 188, 256], "arg": [1, 3, 8, 46, 57, 82, 163, 164], "push_back": 1, "fulli": [1, 5, 321, 325, 328], "overal": 1, "directori": [1, 3, 6], "extens": [1, 117, 205, 239, 327], "h": [1, 65, 66, 114, 212, 213, 215, 217, 218, 226, 322, 324], "mlx_sample_extens": 1, "__init__": [1, 3, 4, 7, 8, 25, 203, 209, 296], "py": [1, 3, 6], "cmakelist": 1, "txt": 1, "setup": [1, 2, 4, 6, 321], "hold": [1, 3, 8, 114, 321], "instal": 1, "pybind11": [1, 6], "sinc": [1, 3, 4, 296, 305, 325, 328], "compon": [1, 3], "etc": [1, 143, 209], "pybind11_modul": 1, "m": [1, 6, 85, 114, 189, 211, 212, 225, 226, 299], "doc": [1, 4], "sampl": [1, 2, 3, 116, 145, 146, 147, 150, 153, 154, 261, 262, 263, 264, 266, 267, 274, 280, 284, 318, 321], "_a": 1, "pos_onli": 1, "kw_onli": 1, "none": [1, 3, 7, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 27, 28, 29, 30, 31, 32, 33, 35, 37, 38, 39, 40, 41, 42, 44, 45, 46, 47, 48, 50, 52, 53, 54, 55, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 162, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 195, 196, 197, 198, 200, 201, 203, 211, 212, 220, 225, 226, 228, 232, 233, 244, 247, 256, 259, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 300, 316, 323], "r": [1, 3, 115, 192, 217], "pbdoc": 1, "most": [1, 146, 209, 309, 321, 322, 323, 324], "complex": [1, 93, 94, 95, 96, 97, 145, 150, 153, 154, 200, 209, 246, 321, 322], "bell": 1, "whistl": 1, "liter": [1, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284], "string": [1, 325, 327], "modul": [1, 3, 4, 199, 249, 254, 259, 293, 309, 320, 321, 324], "ensur": [1, 6, 279], "caster": 1, "find_packag": 1, "config": 1, "add_librari": 1, "sourc": [1, 133, 188], "target_sourc": 1, "cmake_current_list_dir": 1, "header": 1, "target_include_directori": 1, "target_link_librari": 1, "attach": 1, "conveni": [1, 4], "mlx_build_metallib": 1, "target": [1, 192, 271, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 321], "destin": [1, 133], "automat": [1, 5, 117, 326, 327, 328], "practic": [1, 321], "mlx_build_met": [1, 6], "mlx_ext_metallib": 1, "titl": 1, "include_dir": 1, "project_source_dir": 1, "mlx_include_dir": 1, "output_directori": 1, "cmake_library_output_directori": 1, "add_depend": 1, "endif": 1, "pybind11_add_modul": 1, "build_shared_lib": 1, "target_link_opt": 1, "wl": 1, "rpath": 1, "loader_path": 1, "onc": [1, 321], "describ": [1, 324], "util": [1, 3, 5, 6, 163, 209], "__name__": [1, 3], "__main__": [1, 3], "descript": [1, 3, 205], "ext_modul": 1, "cmakeextens": 1, "cmdclass": 1, "build_ext": 1, "cmakebuild": 1, "package_dir": 1, "package_data": 1, "dylib": 1, "zip_saf": 1, "fals": [1, 3, 11, 12, 13, 21, 22, 28, 29, 30, 31, 39, 40, 41, 42, 44, 55, 58, 59, 114, 117, 126, 128, 130, 131, 142, 181, 193, 196, 200, 201, 205, 221, 222, 224, 233, 235, 244, 247, 249, 252, 256, 259, 271, 274, 300, 311, 325], "python_requir": 1, "even": [1, 3, 321, 324, 325], "though": [1, 3, 321, 324, 325], "j8": 1, "libmlx_ext": 1, "cpython": 1, "3x": 1, "darwin": 1, "pip": [1, 6], "after": [1, 3, 4, 23, 98, 100, 141, 143, 213, 221, 223, 247, 259, 283, 321, 328], "plai": [1, 3], "ones": [1, 3, 138, 163, 189, 245, 246, 249, 323], "b": [1, 3, 10, 12, 59, 76, 77, 79, 100, 103, 104, 106, 112, 113, 114, 122, 123, 125, 127, 129, 132, 134, 139, 143, 180, 187, 192, 224, 322, 323, 324, 325, 326, 327, 328], "f": [1, 2, 4, 114, 209, 303, 321, 325], "item": [1, 2, 3, 4, 201, 324, 325, 326], "true": [1, 2, 3, 12, 59, 114, 117, 144, 171, 196, 200, 201, 205, 209, 213, 214, 215, 221, 222, 223, 224, 232, 233, 235, 241, 244, 249, 252, 256, 259, 271, 279, 300], "quick": [1, 5], "benchmark": [1, 321], "compar": [1, 59, 321], "time": [1, 3, 6, 209, 211, 212, 225, 226, 321, 322, 324, 328], "set_default_devic": 1, "256": [1, 4], "512": [1, 3, 259, 328], "random": [1, 2, 3, 4, 5, 211, 212, 213, 222, 225, 226, 235, 241, 321, 322, 328, 329], "normal": [1, 2, 3, 153, 209, 211, 212, 213, 221, 222, 223, 225, 226, 250, 259, 261, 263, 325, 328], "bench": 1, "warm": [1, 321], "rang": [1, 2, 3, 4, 6, 14, 98, 116, 262, 264, 269, 270, 298, 312, 313, 314, 318, 321, 322, 324, 328], "100": [1, 2, 3, 321, 322, 324, 328], "5000": 1, "simple_tim": 1, "custom_tim": 1, "3f": [1, 4, 321], "custom": [1, 259], "114": 1, "109": 1, "modest": 1, "improv": [1, 3, 299, 300, 301, 302, 303, 304, 310, 321], "awai": [1, 3], "good": [1, 6, 321, 328], "nn": [1, 3, 4, 163, 201, 209, 293, 296, 298, 307, 309, 321, 324], "grad": [1, 2, 4, 192, 298, 306, 321, 322, 323, 324, 326], "full": [1, 4, 46, 57, 67, 171, 245, 246, 274, 321, 324], "implement": [2, 4, 114, 219, 232, 247, 252, 254, 256, 258, 259, 291, 299, 300, 301, 302, 304, 305, 306, 316, 321, 322, 325], "basic": [2, 158, 322], "model": [2, 4, 5, 163, 199, 201, 209, 228, 231, 233, 235, 239, 241, 243, 244, 245, 247, 259, 293, 296, 298, 306, 307, 309, 321, 324], "problem": [2, 4, 209], "metadata": [2, 117, 161, 162], "num_featur": [2, 213], "num_exampl": 2, "1_000": 2, "num_it": 2, "10_000": 2, "iter": [2, 4, 201, 318, 321, 324], "sgd": [2, 4, 298, 305, 307, 312, 313, 314, 321], "lr": [2, 305], "01": [2, 303], "rate": [2, 299, 300, 301, 302, 303, 304, 305, 310, 311], "ll": [2, 4, 276, 321, 322], "synthet": 2, "dataset": [2, 324], "matrix": [2, 72, 73, 85, 105, 114, 115, 127, 143, 144, 249, 265, 293], "ground": [2, 3, 273, 283], "truth": [2, 273, 283], "w_star": 2, "valu": [2, 3, 9, 12, 14, 21, 22, 36, 56, 59, 62, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 101, 114, 116, 140, 145, 146, 147, 149, 150, 153, 154, 161, 183, 184, 192, 195, 199, 200, 201, 205, 212, 216, 217, 218, 222, 224, 226, 232, 247, 248, 257, 258, 259, 260, 271, 272, 273, 274, 275, 276, 278, 279, 280, 281, 282, 283, 291, 296, 300, 303, 312, 313, 314, 322], "gaussian": [2, 220, 268, 269, 270, 274], "nois": 2, "exampl": [2, 3, 4, 14, 98, 114, 115, 179, 183, 209, 211, 212, 213, 222, 225, 226, 233, 235, 241, 244, 260, 261, 262, 263, 264, 265, 266, 267, 271, 273, 280, 293, 298, 307, 312, 313, 314, 318, 322, 323, 324, 325, 326, 327], "noisi": 2, "label": [2, 273, 280], "ep": [2, 213, 221, 222, 223, 250, 272, 274, 284, 299, 300, 301, 302, 303, 304, 310], "1e": [2, 4, 12, 213, 221, 222, 223, 250, 272, 274, 284, 299, 300, 301, 302, 303, 304, 307, 310, 312, 313, 314], "us": [2, 3, 4, 5, 6, 14, 72, 75, 77, 98, 114, 115, 127, 143, 144, 156, 157, 200, 209, 212, 217, 219, 220, 224, 226, 228, 232, 239, 245, 246, 247, 249, 252, 256, 259, 263, 264, 269, 270, 272, 293, 296, 298, 299, 300, 302, 303, 304, 305, 306, 307, 316, 318, 320, 321, 322, 323, 326, 328], "weight": [2, 65, 66, 201, 209, 235, 239, 249, 271, 273, 296, 300, 303, 305, 307, 311, 322, 324], "squar": [2, 3, 105, 159, 174, 192, 201, 209, 250, 281, 283, 299, 300, 302, 303, 304, 322, 325], "loss": [2, 4, 192, 209, 298, 321, 322, 324], "loss_fn": [2, 4, 298, 321, 322], "w": [2, 66, 72, 143, 144, 192, 212, 213, 215, 217, 218, 224, 226, 311, 322], "mean": [2, 3, 4, 149, 192, 209, 213, 221, 233, 250, 266, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 321, 322, 325], "grad_fn": [2, 321, 322], "initi": [2, 3, 209, 213, 221, 222, 223, 224, 248, 250, 260, 261, 262, 263, 264, 265, 266, 267, 296, 307, 312, 313, 314, 321, 324], "randomli": [2, 3, 216, 217, 218], "Then": [2, 6], "repeatedli": 2, "_": [2, 3, 209, 312, 313, 314, 318, 321, 324, 328], "verifi": [2, 6], "close": [2, 5, 6, 12], "error_norm": 2, "5f": 2, "someth": [2, 3, 323], "00005": 2, "00364": 2, "complet": [2, 3, 6, 245, 246, 322, 328], "logist": [2, 167, 255, 269, 270, 289], "github": [2, 4, 6, 321], "repo": [2, 4, 6, 321], "enabl": [3, 6, 78, 311], "larg": [3, 209, 247, 279, 321, 324], "ish": 3, "transform": [3, 5, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 199, 209, 213, 221, 223, 224, 232, 233, 244, 249, 252, 323], "compromis": 3, "eas": 3, "llama": 3, "famili": 3, "less": [3, 23, 113, 141, 252, 283], "200": 3, "line": [3, 324, 325], "python": [3, 36, 49, 56, 82, 200, 201, 202, 296, 306, 307, 309, 320, 322, 325], "neural": [3, 5, 219, 227, 261, 262, 285, 293, 296, 310], "network": [3, 5, 213, 217, 219, 261, 262, 293, 296, 310], "build": [3, 5, 263, 296, 321], "concis": 3, "architectur": [3, 6, 209, 246, 328], "notabl": [3, 5], "rope": [3, 209], "posit": [3, 23, 74, 98, 102, 110, 133, 141, 192, 201, 209, 214, 215, 247, 252, 256, 274, 284], "option": [3, 11, 13, 14, 21, 22, 23, 24, 25, 30, 31, 63, 64, 65, 66, 67, 72, 73, 74, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 101, 102, 105, 109, 110, 114, 115, 116, 117, 126, 128, 130, 131, 137, 140, 141, 142, 143, 144, 145, 146, 147, 149, 150, 152, 153, 154, 156, 157, 162, 171, 172, 173, 176, 177, 181, 183, 184, 187, 188, 189, 190, 191, 192, 193, 195, 197, 200, 201, 211, 212, 213, 214, 215, 224, 225, 226, 228, 232, 233, 235, 244, 247, 249, 252, 256, 259, 260, 261, 262, 263, 264, 265, 266, 267, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 299, 300, 301, 302, 303, 304, 305, 307, 310, 311, 318, 321, 327, 329], "kei": [3, 145, 146, 147, 149, 150, 152, 153, 154, 200, 201, 232, 233, 244, 247, 307, 318, 320, 322], "cach": [3, 321], "concaten": 3, "project": [3, 247], "llamaattent": 3, "self": [3, 4, 7, 25, 26, 27, 28, 29, 30, 31, 32, 33, 35, 36, 37, 38, 39, 40, 41, 42, 44, 45, 46, 47, 48, 50, 52, 53, 54, 55, 56, 57, 58, 203, 209, 227, 285, 296], "dim": [3, 219, 221, 222, 223, 247, 250, 252, 256, 259], "num_head": [3, 247, 259], "super": [3, 4, 209, 296], "tradit": [3, 217, 218, 252], "query_proj": 3, "bia": [3, 72, 143, 144, 201, 209, 214, 215, 224, 233, 235, 244, 247, 249, 302, 303, 304, 307, 322], "key_proj": 3, "value_proj": 3, "out_proj": [3, 296], "__call__": [3, 4, 209, 296], "queri": [3, 247], "mask": [3, 241, 247, 323], "extract": [3, 73, 74, 209, 232, 296], "l": [3, 4, 209, 211, 213, 214, 225, 283], "reshap": [3, 114, 323], "combin": 3, "key_cach": 3, "value_cach": 3, "sqrt": [3, 80, 213, 221, 222, 223, 224, 250, 256, 261, 262, 263, 264, 299, 301, 302, 303, 310, 321], "score": [3, 280], "softmax": [3, 273], "values_hat": 3, "rm": [3, 6, 300], "swiglu": 3, "rmsnorm": [3, 209], "llamaencoderlay": 3, "mlp_dim": [3, 259], "norm1": 3, "norm2": 3, "linear1": 3, "linear2": 3, "linear3": 3, "sigmoid": [3, 255, 269, 270, 289], "instanc": [3, 143, 202, 209, 222, 228, 229, 230, 233, 236, 237, 244, 246, 254, 296, 325], "embed": [3, 209, 252, 256, 272], "emb": [3, 219, 256], "token": [3, 219], "num_lay": [3, 4, 298], "vocab_s": 3, "norm": [3, 221, 284, 304, 305], "multiheadattent": [3, 209], "create_additive_causal_mask": 3, "list": [3, 8, 11, 13, 25, 28, 29, 39, 40, 41, 42, 44, 52, 55, 56, 58, 60, 63, 64, 82, 84, 87, 88, 90, 91, 93, 94, 96, 97, 101, 102, 111, 114, 126, 128, 130, 131, 137, 140, 142, 145, 146, 147, 149, 150, 153, 154, 157, 161, 171, 173, 176, 177, 181, 187, 188, 192, 193, 194, 197, 200, 202, 209, 233, 235, 236, 237, 238, 242, 244, 245, 246, 296, 302, 303, 304, 305, 320, 321, 322, 324], "still": [3, 6, 114, 321, 324], "consid": [3, 12, 59, 200, 201, 221, 320], "train": [3, 4, 209, 213, 216, 217, 218, 231, 233, 244, 261, 262], "ignor": [3, 62, 63, 82, 300], "whatsoev": 3, "rest": [3, 201, 252], "subsect": 3, "prompt": 3, "autoregress": 3, "yield": [3, 4, 318], "temp": 3, "causal": 3, "save": [3, 5, 117, 143, 161, 162, 163, 164, 239, 324], "append": [3, 127, 321, 324], "store": 3, "per": [3, 4, 72, 143, 144, 213, 221, 222, 223, 250, 316, 321, 324], "care": [3, 324], "last": [3, 24, 56, 88, 91, 93, 94, 96, 97, 98, 106, 115, 127, 146, 172, 187, 214, 215, 217, 218, 221, 325], "logit": [3, 146, 271, 273, 321], "next": [3, 4], "categor": 3, "lazili": [3, 209], "noth": [3, 209, 324], "yet": [3, 114, 209, 296, 307, 322, 323, 324, 326], "forc": [3, 4, 209, 326], "choos": [3, 252], "pars": 3, "feed": 3, "loop": [3, 4, 321, 322, 324], "unsqueez": 3, "sequenc": [3, 213, 214, 259, 318, 328], "length": [3, 176, 213, 214], "len": [3, 88, 91, 94, 97], "overwrit": 3, "discard": [3, 200], "old": 3, "moment": [3, 300, 302, 303, 304], "anymor": 3, "everyth": 3, "small": [3, 213, 221, 223, 250, 274, 279, 284, 321, 328], "10": [3, 4, 119, 158, 163, 201, 209, 235, 293, 314, 321, 323], "12": 3, "8192": 3, "1024": 3, "actual": [3, 14, 235, 296, 324], "materi": [3, 5], "could": [3, 209], "20_000": 3, "machin": [3, 5, 6, 310], "8gb": 3, "ram": 3, "32": [3, 4, 143, 144, 205, 212, 226, 321], "44": 3, "doubl": 3, "bracket": 3, "becaus": [3, 209, 324], "batch": [3, 127, 213, 214, 215, 217, 218, 247, 324], "zip": [3, 4], "haven": 3, "anyth": [3, 192, 324], "result": [3, 14, 56, 72, 106, 114, 117, 127, 139, 144, 156, 158, 177, 187, 196, 201, 256, 321, 322, 325], "similar": [3, 201, 245, 246, 247, 272, 325, 327], "runtim": [3, 321], "section": [3, 6, 173, 284, 321, 322], "access": [3, 36, 209, 296, 307, 324, 328], "origin": [3, 74, 213, 240, 261, 262, 263, 264, 299, 300, 301, 302, 304, 305, 325], "sentencepiec": 3, "pytorch": [3, 5, 221, 322], "compat": [3, 146, 327], "npz": [3, 117, 163, 164, 235, 239, 327], "file": [3, 6, 117, 160, 161, 162, 163, 164, 235, 239, 322, 327], "directli": 3, "argpars": 3, "itertool": [3, 201], "starmap": [3, 201], "np": [3, 4, 325, 326], "torch": [3, 325], "map_torch_to_mlx": 3, "tok_embed": 3, "elif": 3, "replac": [3, 245, 246, 259, 283], "attention_norm": 3, "ffn_norm": 3, "wq": 3, "wk": 3, "wv": 3, "wo": 3, "w1": 3, "w2": 3, "w3": 3, "ffn": 3, "separ": [3, 46, 57, 221, 280], "submodul": [3, 4, 209, 233, 234, 244, 246], "feed_forward": 3, "parser": 3, "argumentpars": 3, "add_argu": 3, "torch_weight": 3, "output_fil": 3, "parse_arg": 3, "state": [3, 4, 209, 298, 307, 318, 321], "savez": [3, 239, 327], "k": [3, 73, 85, 189, 190, 191, 211, 224, 225, 233], "v": [3, 67, 209, 233, 325], "left": [3, 114, 143, 211, 212, 220, 225, 226, 252, 269, 270, 274, 276, 284], "disk": 3, "text": [3, 211, 212, 225, 226, 227, 253, 258, 261, 262, 263, 264, 274, 275, 276, 279, 280, 283, 285, 286, 288, 290, 291, 300, 305], "format": [3, 117, 160, 161, 162, 163, 164, 325], "oper": [3, 5, 7, 32, 171, 178, 184, 203, 209, 259, 305, 321, 322, 323, 324, 325, 326, 328, 329], "dictionari": [3, 63, 117, 161, 162, 200, 209, 232, 240, 245, 246, 308, 320, 327], "represent": [3, 143, 200, 202], "tree_unflatten": 3, "helper": [3, 321], "weight_fil": 3, "incur": 3, "sever": [3, 65, 66, 163, 164, 321, 327], "futur": [3, 249, 323, 324], "pth": 3, "current": [3, 5, 6, 65, 66, 143, 209, 300, 324], "around": 3, "m1": [3, 321, 322, 328], "ultra": 3, "7b": 3, "me": 3, "ishmael": 3, "year": 3, "ago": 3, "never": [3, 324], "long": 3, "info": [3, 6], "247": 3, "press": [3, 114], "enter": 3, "littl": 3, "monei": 3, "my": [3, 6], "purs": 3, "greater": [3, 23, 104, 141, 258, 291], "consequ": 3, "walk": 3, "down": 3, "gower": 3, "street": 3, "afternoon": 3, "heavi": 3, "rain": 3, "saw": [3, 322], "off": [3, 6, 324], "man": 3, "rag": 3, "who": 3, "sat": 3, "upon": [3, 201], "hi": 3, "bundl": 3, "hard": 3, "wet": 3, "he": [3, 263, 264], "were": [3, 328], "cry": 3, "watch": [3, 321], "him": 3, "observ": 3, "numer": [3, 114, 122, 126, 171, 213, 221, 222, 223, 250, 272, 274, 284, 299, 300, 301, 302, 303, 304, 310, 321, 324], "crowd": 3, "wa": [3, 324], "hurri": 3, "437": 3, "330": 3, "second": [3, 74, 123, 125, 127, 182, 192, 212, 226, 272, 280, 300, 302, 303, 304, 322, 328], "spent": 3, "amount": [3, 211, 225], "39": 3, "ms": [3, 321], "By": [3, 322, 325], "bigger": [3, 300], "remain": [3, 192, 216, 217, 218], "almost": 3, "nobodi": 3, "took": 3, "least": [3, 62, 115, 143], "notic": [3, 322, 327], "distanc": [3, 284], "had": 3, "doubt": 3, "minut": 3, "straight": 3, "slowli": 3, "rais": [3, 114, 173, 235], "ey": 3, "speak": [3, 114], "resum": 3, "postur": 3, "stood": 3, "feel": 3, "pain": 3, "heart": 3, "smile": 3, "face": 3, "am": 3, "someon": 3, "three": 3, "quarter": 3, "hour": 3, "made": 3, "immedi": [3, 228], "repli": 3, "again": [3, 6, 209, 321], "hand": [3, 322, 324], "did": 3, "accustom": 3, "thu": [3, 209], "question": [3, 324], "reason": [3, 323], "tell": [3, 321, 325], "understand": [3, 261, 262], "579": 3, "690": 3, "num": [3, 116, 152], "500": [3, 328], "628": 3, "went": 3, "nervou": 3, "trembl": 3, "told": 3, "And": 3, "perhap": 3, "surpris": 3, "matter": [3, 209], "shall": 3, "anyhow": 3, "friend": 3, "ye": 3, "slight": [3, 324], "kind": 3, "longer": [3, 67, 322], "soon": 3, "unless": [3, 12, 114, 296], "unlik": [3, 12, 217, 218, 240], "strang": 3, "amus": 3, "That": 3, "secret": 3, "disappoint": 3, "mine": 3, "cannot": [3, 62, 323, 325], "happi": 3, "ask": 3, "Is": [3, 256, 259], "shop": 3, "bui": 3, "food": 3, "633": 3, "21": [3, 314], "475": 3, "su": 3, "j": [3, 6, 114, 217, 301, 302, 304], "lu": 3, "pan": 3, "murtadha": 3, "wen": 3, "liu": 3, "2021": 3, "roform": [3, 252], "enhanc": [3, 252, 324], "rotari": [3, 252], "arxiv": [3, 221, 222, 223, 227, 250, 285, 299, 305], "preprint": [3, 299, 305], "2104": 3, "09864": 3, "zhang": 3, "sennrich": 3, "2019": [3, 303], "root": [3, 159, 174, 250], "advanc": [3, 321], "inform": [3, 4, 6, 161, 162, 209, 213, 220, 247, 322, 328], "system": [3, 6], "shazeer": 3, "2020": 3, "glu": 3, "variant": [3, 283, 304], "2002": 3, "05202": 3, "classifi": 4, "mnist": 4, "As": [4, 183, 209, 321], "mlp": [4, 209, 259, 298], "inherit": [4, 320], "standard": [4, 36, 56, 127, 147, 149, 259, 261, 263, 266, 326], "idiom": [4, 321], "input_dim": [4, 209, 224, 249], "hidden_dim": [4, 296, 298], "output_dim": [4, 209, 224, 249], "layer_s": 4, "idim": 4, "odim": 4, "maximum": [4, 21, 62, 209, 251, 256, 269, 270, 287, 296, 324], "cross": [4, 271, 273], "entropi": [4, 271, 273], "sub": [4, 74, 152], "commonli": [4, 245, 293, 321], "cross_entropi": [4, 209], "accuraci": 4, "valid": [4, 67, 98, 195, 200, 233, 244, 320], "eval_fn": 4, "argmax": 4, "loader": 4, "num_class": [4, 298], "batch_siz": [4, 298], "num_epoch": [4, 298], "learning_r": [4, 298, 299, 300, 301, 302, 303, 304, 305, 307, 310, 311, 312, 313, 314, 321], "train_imag": [4, 298], "train_label": [4, 298], "test_imag": 4, "test_label": 4, "shuffl": 4, "minibatch": 4, "batch_iter": [4, 298], "perm": 4, "permut": 4, "id": [4, 6], "put": [4, 321], "trainabl": [4, 199, 209, 296], "loss_and_grad_fn": [4, 298, 321, 322], "value_and_grad": [4, 209, 245, 296, 298, 309, 321, 322, 325, 326], "epoch": 4, "test": [4, 6], "confus": 4, "decent": 4, "95": 4, "brought": 5, "research": 5, "except": [5, 85, 92, 93, 95, 96, 97, 221, 235, 323, 325], "featur": [5, 65, 66, 213, 221, 222, 223, 224, 249, 250, 252, 259, 321, 324], "main": [5, 74, 85, 201, 209], "differ": [5, 180, 283, 322], "lazi": [5, 296, 326], "multi": [5, 214, 215, 323, 325], "cpu": [5, 115, 321, 328], "gpu": [5, 321, 323, 328], "inspir": 5, "jax": [5, 318], "arrayfir": 5, "unifi": 5, "live": [5, 328], "guid": 5, "convers": 5, "regress": [5, 279], "layer": [5, 209, 211, 212, 217, 218, 221, 223, 224, 225, 226, 241, 246, 249, 254, 259, 292, 296], "perceptron": 5, "llm": 5, "infer": [5, 101, 117], "fft": 5, "algebra": 5, "tree": [5, 63, 82, 102, 192, 195, 200, 201, 202, 306, 307, 309, 316, 322], "develop": [5, 6], "document": [5, 46, 57, 161, 162, 321, 322, 323], "pypi": 6, "meet": 6, "seri": 6, "chip": 6, "nativ": 6, "maco": 6, "13": 6, "recommend": [6, 305], "14": 6, "sonoma": 6, "conda": 6, "forg": 6, "distribut": [6, 145, 146, 147, 149, 153, 154, 224, 261, 262, 263, 264, 266, 267, 274, 277, 282, 284, 293], "probabl": [6, 150, 216, 217, 218, 249, 271, 273, 277, 328], "platform": 6, "processor": 6, "arm": [6, 205], "i386": 6, "switch": 6, "17": 6, "g": [6, 114, 143, 292, 310, 311, 324, 329], "clang": 6, "cmake": 6, "24": 6, "xcode": 6, "15": [6, 114, 321], "environ": [6, 75, 78], "via": [6, 306, 309, 324, 325], "rosetta": 6, "unam": 6, "p": [6, 145, 209, 216, 217, 218, 284, 302, 304], "clone": 6, "git": 6, "com": 6, "ml": 6, "explor": 6, "cd": 6, "brew": 6, "global": [6, 75, 78, 151, 318, 321], "env": 6, "cmake_build_parallel_level": 6, "edit": [6, 246], "unittest": 6, "discov": 6, "stub": 6, "dev": 6, "generate_stub": 6, "mkdir": 6, "either": [6, 10, 46, 56, 57, 62, 76, 77, 79, 100, 103, 104, 112, 113, 114, 122, 127, 129, 132, 134, 180, 192, 212, 226, 254, 263, 264], "libmlx": 6, "preprocessor": 6, "metal_path": 6, "mlx_build_test": 6, "ON": 6, "mlx_build_exampl": 6, "mlx_build_benchmark": 6, "mlx_build_python_bind": 6, "multipl": [6, 127, 134, 143, 144, 247, 256, 313, 314, 321, 324, 327], "wish": 6, "variabl": [6, 63, 75, 78, 102, 111, 192, 194, 195], "export": 6, "developer_dir": 6, "app": 6, "content": [6, 232, 321], "sdk": 6, "xcrun": 6, "macosx": 6, "show": [6, 205, 321], "unabl": 6, "tool": 6, "select": [6, 196, 228, 232], "sudo": 6, "ouptut": 6, "finder": 6, "iterm": 6, "termin": 6, "click": 6, "uncheck": 6, "window": [6, 211, 212, 225, 226], "restart": 6, "grep": 6, "cmake_host_system_processor": 6, "arm64": 6, "x86_64": 6, "wipe": 6, "cahc": 6, "rf": 6, "devicetyp": 7, "attribut": [7, 8, 25, 203, 240, 296, 316], "kwarg": [8, 163, 164, 329], "union": [9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 27, 28, 29, 30, 31, 32, 33, 35, 37, 38, 39, 40, 41, 42, 44, 45, 46, 47, 48, 50, 52, 53, 54, 55, 57, 58, 59, 60, 61, 62, 64, 65, 66, 67, 68, 69, 72, 73, 74, 76, 77, 79, 80, 81, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 149, 150, 152, 153, 154, 155, 156, 157, 158, 159, 161, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 196, 197, 198, 211, 212, 215, 225, 226, 233, 235, 244, 311], "absolut": [9, 12, 269, 270, 283], "semant": [10, 60, 76, 77, 79, 103, 104, 112, 113, 122, 127, 129, 132, 134, 180, 328], "keepdim": [11, 13, 21, 22, 28, 29, 30, 31, 39, 40, 41, 42, 44, 55, 58, 114, 126, 128, 130, 131, 142, 171, 181, 193], "reduct": [11, 13, 126, 128, 131, 142, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284], "reduc": [11, 13, 21, 22, 126, 128, 130, 131, 142, 181, 193, 213, 259, 279], "unspecifi": [11, 13, 14, 21, 22, 23, 24, 64, 101, 126, 128, 130, 131, 137, 141, 142, 156, 171, 172, 181, 183, 193, 197, 329], "entir": [11, 13, 21, 22, 126, 128, 130, 131, 142, 181, 193, 217, 218], "singleton": [11, 13, 21, 22, 126, 127, 128, 130, 131, 142, 181, 193], "rtol": 12, "05": [12, 213, 221, 222, 223, 250], "atol": 12, "08": [12, 272, 301, 302, 303, 304, 310], "equal_nan": [12, 59], "approxim": [12, 220, 268, 269, 270], "comparison": [12, 79, 103, 104, 112, 113], "infinit": 12, "equal": [12, 23, 59, 85, 104, 113, 141, 150, 173, 222, 224], "sign": [12, 205, 305], "nan": [12, 59, 108], "ab": [12, 114, 192, 221, 222, 223, 227, 250, 285, 321], "array_equ": 12, "rel": [12, 300, 321], "toler": 12, "boolean": [12, 59, 107, 108, 109, 110, 123, 124, 125, 205, 243, 323], "interv": [14, 116, 150, 154], "increment": 14, "otherwis": [14, 200, 201, 233, 235, 244, 258, 259, 271, 276, 283, 290, 291, 324, 325], "int32": [14, 98, 114, 150, 205, 323, 326], "convent": [14, 67, 303], "lead": [14, 321], "fraction": 14, "integr": [14, 183, 324], "invers": [15, 16, 17, 18, 19, 20, 81, 89, 90, 91, 92, 93, 94], "cosin": [15, 16, 68, 69, 272, 312, 322], "hyperbol": [16, 18, 20, 69, 170, 186], "sine": [17, 18, 169, 170, 322], "uint32": [21, 22, 23, 24, 146, 205], "minimum": [22, 62, 256, 272], "kth": [23, 141], "partit": 23, "order": [23, 114, 141, 143, 209, 221, 245, 254, 307, 321, 322], "undefin": [23, 141, 323], "sort": [23, 24, 141], "flatten": [23, 24, 114, 139, 141, 156, 172, 183, 184, 200], "dimension": [25, 86, 87, 88, 89, 90, 91, 95, 96, 97, 211, 212, 213, 214, 215, 219, 224, 225, 226, 249, 256, 323, 325], "val": [25, 101], "tupl": [25, 46, 49, 57, 64, 66, 77, 82, 84, 111, 114, 115, 140, 143, 157, 176, 192, 194, 200, 201, 202, 211, 212, 215, 225, 226, 235, 237, 254, 300, 302, 303, 304, 305, 320, 322], "ndarrai": [25, 323, 324, 326], "properti": [26, 34, 43, 49, 51, 240, 243, 308, 322], "argument": [26, 46, 57, 63, 82, 102, 192, 201, 209, 318, 322, 327, 328, 329], "decim": [47, 158], "indices_or_sect": [52, 173], "nest": [56, 63, 209, 296, 320, 322], "ddof": [58, 193], "a_min": 62, "a_max": 62, "edg": [62, 140, 321], "At": 62, "anoth": [62, 127, 180, 196, 209, 228, 321, 322, 323, 328], "fun": [63, 102, 111, 192, 194, 195, 321, 323, 324, 328], "dict": [63, 82, 117, 161, 162, 163, 238, 242, 245, 246, 296, 306, 307, 309, 320, 322, 327], "dure": [63, 216, 217, 218, 325], "arbitrarili": [63, 209, 320, 322, 326], "leaf": [63, 200, 201, 232], "node": [63, 82, 195], "pad": [65, 66, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 211, 212, 214, 215, 225, 226], "dilat": [65, 66], "group": [65, 66, 72, 143, 144, 221, 249], "1d": [65, 67, 161, 184], "convolut": [65, 66, 67, 214, 215, 217, 218], "channel": [65, 66, 213, 214, 215, 217, 218], "c_in": [65, 66], "c_out": [65, 66], "convolv": [65, 66], "2d": [66, 74, 143, 213, 217], "spatial": [66, 211, 221, 225], "symmetr": 66, "discret": [67, 86, 87, 88, 89, 90, 91, 95, 96, 97, 219], "swap": [67, 182, 246, 249], "conv": 67, "filter": [67, 214, 215, 228, 232], "flip": 67, "signal": 67, "bias": [72, 143, 144, 233, 244, 247], "group_siz": [72, 143, 144, 249], "64": [72, 143, 144, 205, 249], "configur": 72, "formal": [72, 143], "notat": [72, 200, 237], "quantiz": [72, 117, 144, 249], "w_i": [72, 143], "hat": [72, 143], "occupi": [72, 143, 144], "diagon": [73, 85, 189, 190, 191], "th": [73, 85], "axis1": [74, 182], "axis2": [74, 182], "subarrai": [74, 173], "remov": [74, 127, 146, 176, 273], "insert": [74, 84, 328], "neg": [74, 98, 109, 225, 226, 247, 274, 282, 284, 323], "taken": [74, 183], "disabl": [75, 321], "mlx_disable_compil": [75, 78, 321], "divis": [76, 100, 143], "quotient": [76, 77, 100], "remaind": 77, "fuction": 77, "faster": [77, 268, 321, 322], "mathrm": [80, 167, 222], "frac": [80, 143, 167, 211, 212, 213, 216, 217, 218, 221, 222, 223, 224, 225, 226, 250, 261, 262, 263, 264, 272, 274, 276, 279, 299, 301, 302, 303, 304, 310], "pi": [80, 256, 322], "int_0": 80, "dt": 80, "erf": [81, 321], "exponenti": [83, 253, 288, 313], "ident": [85, 178, 209, 241], "zero": [85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 189, 190, 191, 198, 209, 211, 212, 216, 217, 218, 235, 260, 261, 262, 263, 264, 265, 266, 267, 293, 300, 323], "whose": [85, 199], "One": [86, 89, 95, 159, 321, 322], "fourier": [86, 87, 88, 89, 90, 91, 95, 96, 97], "truncat": [86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 153], "dft": [86, 87, 88, 89, 90, 91, 95, 96, 97], "rfft": 92, "real": [92, 93, 94, 95, 96, 97], "rfft2": 93, "rfftn": 94, "silent": [95, 96, 97], "start_axi": 98, "end_axi": 98, "inclus": 98, "outsid": 98, "clamp": 98, "integ": [100, 114, 140, 143, 144, 145, 150, 173, 187, 195, 205, 219, 323], "floor": 100, "argnam": [102, 192], "neither": [102, 192], "keyword": [102, 163, 164, 192, 201, 209, 318, 327, 329], "strict": [103, 112, 233, 235, 244], "ordinari": 106, "inifn": 107, "infin": [107, 109, 110, 225, 226, 304], "ord": 114, "tabl": [114, 205, 219], "frobeniu": 114, "matric": [114, 115], "strictli": 114, "mathemat": 114, "variou": 114, "purpos": 114, "calcul": [114, 274, 280, 300], "fro": 114, "inf": [114, 247], "largest": 114, "sing": 114, "smallest": 114, "singular": 114, "nuclear": 114, "_f": 114, "sum_": [114, 211, 212, 279], "a_": 114, "valueerror": [114, 235, 322], "refer": [114, 222, 227, 240, 261, 262, 263, 264, 285, 323], "golub": 114, "van": 114, "loan": 114, "baltimor": 114, "md": 114, "john": 114, "hopkin": 114, "univers": 114, "1985": 114, "pg": 114, "la": 114, "arang": [114, 323, 325], "9": [114, 273, 299, 302, 303, 304, 305, 307, 313, 314, 325], "74597": 114, "20": 114, "84804": 114, "41421": 114, "23607": [114, 115], "74166": 114, "24264": 114, "11": 114, "225": 114, "factorizatoin": 115, "q": 115, "894427": 115, "447214": 115, "57771": 115, "50": 116, "evenli": 116, "return_metadata": 117, "binari": [117, 160, 161, 162, 163, 164, 258, 271, 291, 321], "npy": [117, 160, 327], "safetensor": [117, 162, 235, 239, 324, 327], "gguf": [117, 161, 327], "matadata": 117, "unsupport": 117, "tensor": [117, 187, 211, 212, 225, 226, 284, 325], "natur": [118, 120, 324], "logarithm": [118, 119, 120, 121], "log": [120, 122, 126, 274, 277, 279, 282], "plu": 120, "exp": [122, 126, 147, 171, 253, 277, 288, 321, 328], "stabl": [122, 126, 171, 279], "prepend": 127, "negat": 135, "beforehand": 139, "pad_with": 140, "constant_valu": 140, "pad_width": 140, "before_1": 140, "after_1": 140, "before_2": 140, "after_2": 140, "before_n": 140, "after_n": 140, "before_i": 140, "after_i": 140, "extend": 140, "side": [140, 211, 212, 225, 226, 321], "smaller": [141, 305, 321], "everi": [143, 201, 314, 322], "particular": [143, 221], "consecut": [143, 252], "w_1": 143, "w_g": 143, "begin": [143, 212, 226, 253, 258, 276, 283, 288, 290, 291], "align": [143, 212, 226], "max_i": 143, "min_i": 143, "textrm": [143, 220, 268], "round": 143, "pack": [143, 144], "unsign": [143, 144, 205], "lower": [143, 150, 153, 154, 189, 267], "upper": [143, 150, 153, 154, 267], "1st": 143, "signific": 143, "2nd": 143, "dequant": 143, "w_q": 143, "whether": [144, 232, 247, 271, 274, 280], "prng": [145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 318], "num_sampl": 146, "unnorm": [146, 271, 273], "draw": 146, "cdf": [147, 220, 268], "accord": [147, 196, 247, 261, 262, 263, 264], "seed": 148, "loc": 149, "deviat": [149, 261, 263, 266], "low": [150, 154, 267, 293], "high": [150, 154, 209, 219, 267, 293], "bound": [150, 153, 154, 220, 267, 321, 323, 328], "roadcast": 150, "domain": 153, "uniformli": 154, "repetit": 156, "preserv": [157, 322], "reciproc": 159, "arr": [160, 323], "obj": 161, "uncompress": 163, "my_path": 163, "tree_flatten": [163, 201, 202, 209], "transformerencod": 163, "128": [163, 209], "flat_param": 163, "compress": 164, "being": [178, 209], "prevent": [178, 284, 325], "flow": [178, 324], "unchang": [178, 252], "prior": [183, 184], "exclud": 184, "dot": [187, 200, 237, 247], "elsewher": [189, 323], "col": 189, "triangl": 189, "mse": 192, "param": [192, 209, 293, 322], "lvalu": 192, "dlvalu": 192, "dparam": 192, "lasso": 192, "l1": [192, 276, 278, 279, 283], "varianc": [193, 213, 221, 274], "divisor": 193, "cotang": 194, "in_ax": [195, 322], "out_ax": [195, 322], "prefix": [195, 200], "fn": [199, 201, 326], "callabl": [199, 200, 201, 228, 229, 232, 254, 259, 260, 261, 262, 263, 264, 265, 266, 267, 311], "wrt": 199, "rho": 299, "06": [274, 284, 299], "paper": [213, 256, 299, 300, 301, 302, 304, 305], "zeiler": 299, "2012": [299, 310], "adapt": [299, 300, 301], "1212": 299, "5701": 299, "v_": [299, 301, 302, 303, 304, 310, 311], "v_t": [299, 301, 302, 303, 304, 310, 311], "g_t": [299, 301, 302, 303, 304, 305, 310, 311], "delta": [276, 299], "w_": [212, 226, 299, 300, 301, 302, 303, 304, 305, 310, 311], "u_t": 299, "epsilon": [213, 221, 222, 223, 250, 272, 274, 299, 301, 302, 303, 304, 310], "u_": 299, "w_t": [299, 301, 302, 303, 304, 305, 310, 311], "lambda": [201, 209, 228, 233, 253, 257, 288, 290, 299, 300, 301, 302, 303, 304, 305, 310, 311, 321, 322], "averag": [211, 212, 299, 300, 302, 303, 304], "denomin": [222, 272, 299, 301, 302, 303, 304, 310], "stabil": [213, 221, 222, 223, 250, 272, 274, 299, 300, 301, 302, 303, 304, 310], "30": 300, "001": 300, "clip_threshold": 300, "decay_r": [300, 313, 314], "beta_1": [300, 302, 303, 304, 305], "weight_decai": [300, 303, 305, 311], "scale_paramet": 300, "relative_step": 300, "warmup_init": 300, "sublinear": 300, "cost": [300, 324], "epsilon_1": 300, "epsilon_2": 300, "parameter_scal": 300, "clip": 300, "unscal": 300, "decai": [300, 303, 305, 311, 312, 313, 314], "duchi": 301, "hazan": 301, "singer": 301, "2011": 301, "subgradi": 301, "onlin": 301, "stochast": [301, 302, 304, 311, 324], "jmlr": 301, "999": [302, 303, 304], "omit": [302, 304], "estim": [302, 304], "kingma": [302, 304], "ba": [302, 304], "2015": [217, 302, 304], "iclr": [302, 303, 304], "m_": [302, 303, 304, 305], "m_t": [302, 303, 304, 305], "beta_2": [302, 303, 304, 305], "contrast": 303, "loshchilov": 303, "hutter": 303, "decoupl": 303, "regular": [217, 227, 285, 303, 321, 323], "adam": [298, 304, 305], "99": [305, 310], "tend": 305, "larger": [252, 305], "10x": 305, "adamw": [298, 305], "maintain": [217, 218, 305], "strength": [305, 311], "wd": 305, "chen": 305, "symbol": 305, "discoveri": 305, "2302": 305, "06675": 305, "c_": 305, "eta": 305, "c_t": 305, "momentum": [213, 305, 307, 311, 321], "appli": [201, 209, 211, 212, 213, 214, 215, 217, 218, 220, 221, 222, 223, 224, 225, 226, 227, 229, 241, 248, 249, 250, 251, 253, 255, 257, 258, 268, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 293, 306, 309, 316, 321], "opt": 306, "superset": [201, 306], "trainable_paramet": [209, 232, 307], "tieleman": 310, "hinton": 310, "lectur": 310, "coursera": 310, "smooth": [273, 283, 310], "dampen": 311, "nesterov": 311, "descent": [311, 321, 324], "mu": 311, "tau": 311, "l2": [276, 279, 311], "penalti": 311, "is_leaf": [200, 201], "arbitrari": [200, 296], "depth": [200, 218, 322], "hello": [200, 202], "charact": 200, "flat": [200, 202], "extra": 201, "closer": 201, "constitut": 201, "dict_kei": [201, 307], "recreat": 202, "world": 202, "42": 202, "byte": 205, "bool_": 205, "uint8": 205, "uint16": 205, "16": [205, 211, 222, 225, 228, 296], "uint64": 205, "int8": 205, "int16": 205, "int64": 205, "done": [209, 216, 321, 324, 325], "manual": 209, "explicitli": [209, 318], "solv": 209, "intuit": 209, "freez": [209, 244, 296], "finetun": 209, "in_dim": [209, 296], "out_dim": [209, 296], "enumer": 209, "caus": [209, 321, 324], "local": [209, 217], "scope": 209, "l2_loss": 209, "y_hat": 209, "loss_and_grad": 209, "workhors": 209, "Its": 209, "recurs": [209, 232, 233, 238, 242, 244, 296], "frozen": [209, 233, 242, 244, 249, 296], "individu": [209, 217, 218], "subset": [209, 232], "action": 209, "displai": 209, "tree_map": 209, "count": 209, "num_param": 209, "preclud": 209, "pure": [209, 298], "pattern": [209, 324], "achiev": 209, "other_input": 209, "necessari": 209, "wrap": 209, "apply_to_modul": [209, 233], "children": 209, "filter_and_map": 209, "leaf_modul": 209, "load_weight": [209, 324], "named_modul": 209, "save_weight": 209, "unfreez": [209, 233], "update_modul": 209, "alibi": 209, "batchnorm": 209, "conv1d": 209, "conv2d": 209, "dropout": [209, 217, 218, 241, 259, 321], "dropout2d": 209, "dropout3d": 209, "gelu": [209, 269, 270, 321], "groupnorm": 209, "instancenorm": 209, "layernorm": 209, "mish": 209, "prelu": 209, "quantizedlinear": 209, "relu": [209, 248, 259, 286, 293], "selu": 209, "sequenti": [209, 293], "silu": 209, "sinusoidalpositionalencod": 209, "softshrink": 209, "gelu_approx": [209, 220, 268], "gelu_fast_approx": [209, 220, 268], "binary_cross_entropi": [209, 321], "cosine_similarity_loss": 209, "gaussian_nll_loss": 209, "hinge_loss": 209, "huber_loss": 209, "kl_div_loss": 209, "l1_loss": 209, "log_cosh_loss": 209, "margin_ranking_loss": 209, "mse_loss": 209, "nll_loss": 209, "smooth_l1_loss": 209, "triplet_loss": 209, "init": [209, 248, 293, 298, 312, 313, 314], "uniform": [209, 224, 235, 262, 264, 293, 318, 321, 322, 328], "glorot_norm": 209, "glorot_uniform": 209, "he_norm": 209, "he_uniform": 209, "affin": [213, 221, 222, 223, 224, 249], "track_running_stat": 213, "var": [213, 221, 222, 223, 274], "gamma": [213, 221, 222, 223, 250, 261, 262, 263, 264], "nc": 213, "nlc": [213, 214], "four": 213, "nhwc": [213, 215], "height": [212, 213, 215, 217, 218, 226], "width": [212, 213, 215, 217, 218, 226, 249], "deep": [213, 261, 262, 263, 264], "intern": 213, "covari": 213, "shift": 213, "bn": 213, "in_channel": [214, 215], "out_channel": [214, 215], "kernel_s": [211, 212, 214, 215, 225, 226], "learnabl": [214, 215, 254], "portion": 216, "independ": [217, 218], "nwhc": 217, "whc": 217, "entri": [217, 218], "benefici": [217, 218, 324], "earli": 217, "adjac": 217, "pixel": 217, "correl": 217, "thompson": 217, "goroshin": 217, "jain": 217, "lecun": 217, "bregler": 217, "cvpr": 217, "ndhwc": 218, "dhwc": 218, "medic": 218, "video": 218, "num_embed": 219, "lookup": 219, "typic": [219, 298, 321, 324], "usual": [219, 320, 324], "vocabulari": 219, "approx": 220, "unit": [220, 251, 253, 255, 261, 262, 263, 264, 268, 269, 270, 287, 288, 289], "phi": [220, 268], "geluapprox": 220, "sigma": [220, 255, 261, 262, 263, 264, 269, 270, 289], "60033": [220, 269], "0433603": [220, 269], "gelufast": 220, "773": [220, 270], "regard": 220, "num_group": 221, "pytorch_compat": 221, "split": 221, "preced": 221, "http": [221, 222, 223, 227, 250, 285], "org": [221, 222, 223, 227, 250, 285], "1803": 221, "08494": 221, "inorm": 222, "1607": [222, 223], "08022": 222, "06450": 223, "mathcal": 224, "u": 224, "d_i": 224, "monoton": [227, 285], "1908": [227, 285], "08681": [227, 285], "tanh": [227, 285], "softplu": [227, 285], "map_fn": [228, 232], "filter_fn": [228, 232], "valid_parameter_filt": 228, "apply_fn": 229, "descend": 230, "is_leaf_fn": 232, "found": 232, "drop": 232, "idempot": [233, 244], "attent": [233, 247, 256, 259], "endswith": 233, "file_or_weight": 235, "miss": [235, 327], "ok": [235, 322], "save_safetensor": [239, 327], "reflect": [240, 321, 323, 325], "certain": [241, 321], "ie": 244, "noop": 244, "unfrozen": 244, "chang": [166, 245, 249, 276, 283, 321, 325], "tracer": 245, "partial": [245, 246, 321, 324], "child": 246, "programmat": 246, "query_input_dim": 247, "key_input_dim": 247, "value_input_dim": 247, "value_dim": 247, "value_output_dim": 247, "head": [247, 259], "aggreg": 247, "linearli": 247, "attend": 247, "num_paramet": 248, "25": 248, "parametr": [248, 286], "classmethod": 249, "from_linear": 249, "quantize_modul": 249, "1910": 250, "07467": 250, "rectifi": [251, 263, 264, 287], "10000": 252, "rotat": 252, "slightli": [252, 328], "angular": 252, "frequenc": [252, 256], "_cos_sin_theta_kei": [], "precomput": [], "_cos_sin_theta_valu": [], "leq": [253, 276, 288], "0507": [253, 288], "67326": [253, 288], "elu": [253, 288], "plain": 254, "known": [255, 289], "swish": [255, 289], "cdot": [255, 269, 270, 272, 275, 289], "min_freq": 256, "0001": 256, "max_freq": 256, "cos_first": 256, "full_turn": 256, "sinusoid": 256, "sin": [256, 322, 326], "lambd": [257, 290], "threshold": [258, 276, 283, 291], "geq": [258, 291], "num_encoder_lay": 259, "num_decoder_lay": 259, "custom_encod": 259, "custom_decod": 259, "norm_first": 259, "checkpoint": 259, "decod": 259, "interact": 259, "mechan": 259, "hidden": 259, "chekpoint": 259, "usag": [259, 321], "expens": 259, "init_fn": [260, 261, 262, 263, 264, 265, 266, 267, 293], "glorot": [261, 262], "fan_in": [261, 262, 263, 264], "fan_out": [261, 262, 263, 264], "difficulti": [261, 262], "feedforward": [261, 262], "191107": 261, "61278": 261, "150594": 261, "363207": 261, "gain": [261, 262, 263, 264], "89613": 261, "53947": 261, "48095": 261, "995016": 261, "223404": 262, "890597": 262, "379159": 262, "776856": 262, "90041": 262, "02264": 262, "912766": 262, "12451": 262, "fan": [263, 264], "delv": [263, 264], "surpass": [263, 264], "human": [263, 264], "level": [263, 264], "imagenet": [263, 264], "classif": [263, 264], "25211": 263, "458835": 263, "177208": 263, "0137595": 263, "6967": 263, "02765": 263, "15268": 263, "75787": 263, "kaim": 264, "0300242": 264, "0184009": 264, "793615": 264, "666329": 264, "64331": 264, "16506": 264, "08619": 264, "79854": 264, "982273": 266, "534422": 266, "380709": 266, "0645099": 266, "883935": 267, "863726": 267, "617261": 267, "417497": 267, "exact": [269, 270], "0003": 269, "015": 270, "with_logit": 271, "predict": [271, 274, 275, 276, 277, 278, 279, 281, 282, 283], "105361": 271, "223144": 271, "20397": 271, "916291": 271, "539245": 271, "prob": 271, "510826": 271, "x1": 272, "x2": 272, "x_1": [272, 280], "x_2": [272, 280], "label_smooth": 273, "hot": 273, "0485873": 273, "348587": 273, "likelihood": [274, 282], "nll": [274, 282], "hing": 275, "y_": [275, 279], "pred": [275, 279], "huber": 276, "l_": [211, 225, 276], "kullback": 277, "leibler": 277, "diverg": 277, "cosh": 279, "logcosh": 279, "sensit": 279, "outlier": 279, "dual": 279, "behavior": [279, 323, 324], "offer": 279, "balanc": 279, "robust": 279, "approach": [279, 322], "task": 279, "inputs1": 280, "inputs2": 280, "margin": [280, 284], "rank": 280, "573409": 280, "765166": 280, "0638": 280, "75596": 280, "225763": 280, "256995": 280, "773433": 280, "formula": 283, "anchor": 284, "triplet": 284, "_p": 284, "degre": 284, "pairwis": 284, "instabl": 284, "subclass": 296, "concept": 296, "mymlp": 296, "in_proj": 296, "basi": 316, "subsequ": 298, "apply_gradi": 298, "implicit": [318, 321, 322], "fine": [318, 324], "grain": 318, "control": [318, 324], "manag": [179, 318, 328], "pseudo": 318, "altern": 318, "splittabl": 318, "threefri": 318, "counter": 318, "cycl": 320, "merg": 321, "fuse": 321, "big": 321, "awar": [321, 324], "36788": 321, "compiled_fun": 321, "code": [321, 324], "slow": 321, "Not": 321, "recompil": 321, "stack": 321, "rerun": [321, 324], "too": [321, 324], "frequent": [321, 324], "destroi": 321, "anonym": 321, "don": [321, 328], "nonlinear": 321, "unari": 321, "overhead": [321, 324, 328], "bandwidth": 321, "fusibl": 321, "consider": 321, "versu": 321, "timeit": [321, 322], "tic": 321, "perf_count": 321, "toc": 321, "tpi": 321, "1e3": 321, "1000": [312, 321], "4096": [321, 322, 328], "On": [321, 322, 324], "millisecond": [321, 328], "five": 321, "latest": 321, "won": 321, "trace": 321, "placehold": 321, "insid": 321, "crash": 321, "inspect": [321, 326], "disable_compil": 321, "okai": [321, 324], "intend": 321, "deal": 321, "pretti": [321, 324], "inconveni": 321, "functool": 321, "particularli": 321, "backward": [321, 322], "squeez": 321, "checkout": 321, "compiled_grad_fn": 321, "71828": 321, "outer": [321, 324], "opportun": 321, "idea": [322, 324], "behind": 322, "dfdx": [322, 323], "d2fdx2": 322, "differentiaion": 322, "zero_grad": 322, "detach": 322, "requires_grad": 322, "dloss_dw": 322, "dloss_dx": 322, "lot": 322, "redund": 322, "suppos": [322, 328], "nice": [322, 324], "propag": [322, 323], "stop_gradi": 322, "autom": 322, "contriv": [322, 328], "sake": 322, "clariti": 322, "quit": [322, 325], "power": [322, 325], "difficult": 322, "primit": 322, "issu": [322, 325], "priorit": 322, "xs": 322, "ys": 322, "naive_add": 322, "vmap_add": 322, "total": 322, "390": 322, "wherea": 322, "025": 322, "ten": [322, 324], "Of": 322, "better": [322, 328], "handi": 322, "slice": 323, "ellipsi": 323, "syntax": 323, "idx": 323, "mix": 323, "take_along_axi": 323, "lack": 323, "extrem": [323, 324], "ineffici": [323, 324], "nonzero": 323, "record": 324, "dynam": 324, "easier": 324, "worri": 324, "fun1": 324, "expensive_fun": 324, "consum": 324, "eager": 324, "thank": 324, "weights_fp16": 324, "trade": 324, "bad": 324, "grow": 324, "computation": 324, "costli": 324, "wide": 324, "thousand": 324, "value_and_grad_fn": 324, "implicitli": 324, "anytim": 324, "memoryview": [324, 325], "perfectli": 324, "first_lay": 324, "second_layer_a": 324, "second_layer_b": 324, "protocol": 325, "receiv": 325, "pep": 325, "3118": 325, "view": 325, "a_view": 325, "owndata": 325, "extern": 325, "x_view": 325, "modifi": 325, "df": 325, "x\u00b2": 325, "2x": 325, "indirectli": 325, "modif": 325, "seen": 325, "occur": 325, "incorpor": 325, "incorrect": 325, "experiment": 325, "break": 325, "advis": 325, "intermedi": 325, "jnp": 325, "tf": 325, "page": 326, "composit": 326, "archiv": 327, "savez_compress": 327, "save_gguf": 327, "arr_0": 327, "pool": [211, 212, 225, 226, 328], "advantag": 328, "parallel": 328, "race": 328, "interest": 328, "albeit": 328, "d1": 328, "d2": 328, "matmul": 328, "dens": 328, "twice": 328, "measur": 328, "default_stream": 329, "default_devic": 329, "my_devic": 329, "streamcontext": 179, "context": 179, "avgpool1d": 209, "avgpool2d": 209, "maxpool1d": 209, "maxpool2d": [209, 212], "n_i": [211, 212, 225, 226], "c_j": [211, 212, 225, 226], "ldot": [211, 212, 225, 226], "lfloor": [211, 212, 225, 226], "rfloor": [211, 212, 225, 226], "k_h": [212, 226], "k_w": [212, 226], "h_": [212, 226], "max_": [225, 226], "rmsprop": 298, "adagrad": 298, "adafactor": 298, "adadelta": 298, "adamax": 298, "lion": 298, "step_decai": 298, "exponential_decai": 298, "cosine_decai": 298, "decay_step": 312, "beyond": 312, "lr_schedul": [312, 313, 314], "0999961": 312, "06561": 313, "step_siz": 314, "081": 314}, "objects": {"mlx.core": [[7, 0, 1, "", "Device"], [8, 0, 1, "", "Dtype"], [203, 0, 1, "", "Stream"], [9, 2, 1, "", "abs"], [10, 2, 1, "", "add"], [11, 2, 1, "", "all"], [12, 2, 1, "", "allclose"], [13, 2, 1, "", "any"], [14, 2, 1, "", "arange"], [15, 2, 1, "", "arccos"], [16, 2, 1, "", "arccosh"], [17, 2, 1, "", "arcsin"], [18, 2, 1, "", "arcsinh"], [19, 2, 1, "", "arctan"], [20, 2, 1, "", "arctanh"], [21, 2, 1, "", "argmax"], [22, 2, 1, "", "argmin"], [23, 2, 1, "", "argpartition"], [24, 2, 1, "", "argsort"], [25, 0, 1, "", "array"], [59, 2, 1, "", "array_equal"], [60, 2, 1, "", "broadcast_to"], [61, 2, 1, "", "ceil"], [62, 2, 1, "", "clip"], [63, 2, 1, "", "compile"], [64, 2, 1, "", "concatenate"], [65, 2, 1, "", "conv1d"], [66, 2, 1, "", "conv2d"], [67, 2, 1, "", "convolve"], [68, 2, 1, "", "cos"], [69, 2, 1, "", "cosh"], [70, 2, 1, "", "default_device"], [71, 2, 1, "", "default_stream"], [72, 2, 1, "", "dequantize"], [73, 2, 1, "", "diag"], [74, 2, 1, "", "diagonal"], [75, 2, 1, "", "disable_compile"], [76, 2, 1, "", "divide"], [77, 2, 1, "", "divmod"], [78, 2, 1, "", "enable_compile"], [79, 2, 1, "", "equal"], [80, 2, 1, "", "erf"], [81, 2, 1, "", "erfinv"], [82, 2, 1, "", "eval"], [83, 2, 1, "", "exp"], [84, 2, 1, "", "expand_dims"], [85, 2, 1, "", "eye"], [98, 2, 1, "", "flatten"], [99, 2, 1, "", "floor"], [100, 2, 1, "", "floor_divide"], [101, 2, 1, "", "full"], [102, 2, 1, "", "grad"], [103, 2, 1, "", "greater"], [104, 2, 1, "", "greater_equal"], [105, 2, 1, "", "identity"], [106, 2, 1, "", "inner"], [107, 2, 1, "", "isinf"], [108, 2, 1, "", "isnan"], [109, 2, 1, "", "isneginf"], [110, 2, 1, "", "isposinf"], [111, 2, 1, "", "jvp"], [112, 2, 1, "", "less"], [113, 2, 1, "", "less_equal"], [116, 2, 1, "", "linspace"], [117, 2, 1, "", "load"], [118, 2, 1, "", "log"], [119, 2, 1, "", "log10"], [120, 2, 1, "", "log1p"], [121, 2, 1, "", "log2"], [122, 2, 1, "", "logaddexp"], [123, 2, 1, "", "logical_and"], [124, 2, 1, "", "logical_not"], [125, 2, 1, "", "logical_or"], [126, 2, 1, "", "logsumexp"], [127, 2, 1, "", "matmul"], [128, 2, 1, "", "max"], [129, 2, 1, "", "maximum"], [130, 2, 1, "", "mean"], [131, 2, 1, "", "min"], [132, 2, 1, "", "minimum"], [133, 2, 1, "", "moveaxis"], [134, 2, 1, "", "multiply"], [135, 2, 1, "", "negative"], [136, 2, 1, "", "new_stream"], [137, 2, 1, "", "ones"], [138, 2, 1, "", "ones_like"], [139, 2, 1, "", "outer"], [140, 2, 1, "", "pad"], [141, 2, 1, "", "partition"], [142, 2, 1, "", "prod"], [143, 2, 1, "", "quantize"], [144, 2, 1, "", "quantized_matmul"], [155, 2, 1, "", "reciprocal"], [156, 2, 1, "", "repeat"], [157, 2, 1, "", "reshape"], [158, 2, 1, "", "round"], [159, 2, 1, "", "rsqrt"], [160, 2, 1, "", "save"], [161, 2, 1, "", "save_gguf"], [162, 2, 1, "", "save_safetensors"], [163, 2, 1, "", "savez"], [164, 2, 1, "", "savez_compressed"], [165, 2, 1, "", "set_default_device"], [166, 2, 1, "", "set_default_stream"], [167, 2, 1, "", "sigmoid"], [168, 2, 1, "", "sign"], [169, 2, 1, "", "sin"], [170, 2, 1, "", "sinh"], [171, 2, 1, "", "softmax"], [172, 2, 1, "", "sort"], [173, 2, 1, "", "split"], [174, 2, 1, "", "sqrt"], [175, 2, 1, "", "square"], [176, 2, 1, "", "squeeze"], [177, 2, 1, "", "stack"], [178, 2, 1, "", "stop_gradient"], [179, 2, 1, "", "stream"], [180, 2, 1, "", "subtract"], [181, 2, 1, "", "sum"], [182, 2, 1, "", "swapaxes"], [183, 2, 1, "", "take"], [184, 2, 1, "", "take_along_axis"], [185, 2, 1, "", "tan"], [186, 2, 1, "", "tanh"], [187, 2, 1, "", "tensordot"], [188, 2, 1, "", "transpose"], [189, 2, 1, "", "tri"], [190, 2, 1, "", "tril"], [191, 2, 1, "", "triu"], [192, 2, 1, "", "value_and_grad"], [193, 2, 1, "", "var"], [194, 2, 1, "", "vjp"], [195, 2, 1, "", "vmap"], [196, 2, 1, "", "where"], [197, 2, 1, "", "zeros"], [198, 2, 1, "", "zeros_like"]], "mlx.core.Device": [[7, 1, 1, "", "__init__"]], "mlx.core.Dtype": [[8, 1, 1, "", "__init__"]], "mlx.core.Stream": [[203, 1, 1, "", "__init__"]], "mlx.core.array": [[26, 3, 1, "", "T"], [25, 1, 1, "", "__init__"], [27, 1, 1, "", "abs"], [28, 1, 1, "", "all"], [29, 1, 1, "", "any"], [30, 1, 1, "", "argmax"], [31, 1, 1, "", "argmin"], [32, 1, 1, "", "astype"], [33, 1, 1, "", "cos"], [34, 3, 1, "", "dtype"], [35, 1, 1, "", "exp"], [36, 1, 1, "", "item"], [37, 1, 1, "", "log"], [38, 1, 1, "", "log1p"], [39, 1, 1, "", "logsumexp"], [40, 1, 1, "", "max"], [41, 1, 1, "", "mean"], [42, 1, 1, "", "min"], [43, 3, 1, "", "ndim"], [44, 1, 1, "", "prod"], [45, 1, 1, "", "reciprocal"], [46, 1, 1, "", "reshape"], [47, 1, 1, "", "round"], [48, 1, 1, "", "rsqrt"], [49, 3, 1, "", "shape"], [50, 1, 1, "", "sin"], [51, 3, 1, "", "size"], [52, 1, 1, "", "split"], [53, 1, 1, "", "sqrt"], [54, 1, 1, "", "square"], [55, 1, 1, "", "sum"], [56, 1, 1, "", "tolist"], [57, 1, 1, "", "transpose"], [58, 1, 1, "", "var"]], "mlx.core.fft": [[86, 2, 1, "", "fft"], [87, 2, 1, "", "fft2"], [88, 2, 1, "", "fftn"], [89, 2, 1, "", "ifft"], [90, 2, 1, "", "ifft2"], [91, 2, 1, "", "ifftn"], [92, 2, 1, "", "irfft"], [93, 2, 1, "", "irfft2"], [94, 2, 1, "", "irfftn"], [95, 2, 1, "", "rfft"], [96, 2, 1, "", "rfft2"], [97, 2, 1, "", "rfftn"]], "mlx.core.linalg": [[114, 2, 1, "", "norm"], [115, 2, 1, "", "qr"]], "mlx.core.random": [[145, 2, 1, "", "bernoulli"], [146, 2, 1, "", "categorical"], [147, 2, 1, "", "gumbel"], [148, 2, 1, "", "key"], [149, 2, 1, "", "normal"], [150, 2, 1, "", "randint"], [151, 2, 1, "", "seed"], [152, 2, 1, "", "split"], [153, 2, 1, "", "truncated_normal"], [154, 2, 1, "", "uniform"]], "mlx.nn": [[210, 0, 1, "", "ALiBi"], [211, 0, 1, "", "AvgPool1d"], [212, 0, 1, "", "AvgPool2d"], [213, 0, 1, "", "BatchNorm"], [214, 0, 1, "", "Conv1d"], [215, 0, 1, "", "Conv2d"], [216, 0, 1, "", "Dropout"], [217, 0, 1, "", "Dropout2d"], [218, 0, 1, "", "Dropout3d"], [219, 0, 1, "", "Embedding"], [220, 0, 1, "", "GELU"], [221, 0, 1, "", "GroupNorm"], [222, 0, 1, "", "InstanceNorm"], [223, 0, 1, "", "LayerNorm"], [224, 0, 1, "", "Linear"], [225, 0, 1, "", "MaxPool1d"], [226, 0, 1, "", "MaxPool2d"], [227, 0, 1, "", "Mish"], [296, 0, 1, "", "Module"], [247, 0, 1, "", "MultiHeadAttention"], [248, 0, 1, "", "PReLU"], [249, 0, 1, "", "QuantizedLinear"], [250, 0, 1, "", "RMSNorm"], [251, 0, 1, "", "ReLU"], [252, 0, 1, "", "RoPE"], [253, 0, 1, "", "SELU"], [254, 0, 1, "", "Sequential"], [255, 0, 1, "", "SiLU"], [256, 0, 1, "", "SinusoidalPositionalEncoding"], [257, 0, 1, "", "Softshrink"], [258, 0, 1, "", "Step"], [259, 0, 1, "", "Transformer"], [268, 2, 1, "", "gelu"], [269, 2, 1, "", "gelu_approx"], [270, 2, 1, "", "gelu_fast_approx"], [285, 2, 1, "", "mish"], [286, 2, 1, "", "prelu"], [287, 2, 1, "", "relu"], [288, 2, 1, "", "selu"], [289, 2, 1, "", "silu"], [290, 2, 1, "", "softshrink"], [291, 2, 1, "", "step"], [199, 2, 1, "", "value_and_grad"]], "mlx.nn.Module": [[228, 1, 1, "", "apply"], [229, 1, 1, "", "apply_to_modules"], [230, 1, 1, "", "children"], [231, 1, 1, "", "eval"], [232, 1, 1, "", "filter_and_map"], [233, 1, 1, "", "freeze"], [234, 1, 1, "", "leaf_modules"], [235, 1, 1, "", "load_weights"], [236, 1, 1, "", "modules"], [237, 1, 1, "", "named_modules"], [238, 1, 1, "", "parameters"], [239, 1, 1, "", "save_weights"], [240, 3, 1, "", "state"], [241, 1, 1, "", "train"], [242, 1, 1, "", "trainable_parameters"], [243, 3, 1, "", "training"], [244, 1, 1, "", "unfreeze"], [245, 1, 1, "", "update"], [246, 1, 1, "", "update_modules"]], "mlx.nn.init": [[260, 2, 1, "", "constant"], [261, 2, 1, "", "glorot_normal"], [262, 2, 1, "", "glorot_uniform"], [263, 2, 1, "", "he_normal"], [264, 2, 1, "", "he_uniform"], [265, 2, 1, "", "identity"], [266, 2, 1, "", "normal"], [267, 2, 1, "", "uniform"]], "mlx.nn.losses": [[271, 2, 1, "", "binary_cross_entropy"], [272, 2, 1, "", "cosine_similarity_loss"], [273, 2, 1, "", "cross_entropy"], [274, 2, 1, "", "gaussian_nll_loss"], [275, 2, 1, "", "hinge_loss"], [276, 2, 1, "", "huber_loss"], [277, 2, 1, "", "kl_div_loss"], [278, 2, 1, "", "l1_loss"], [279, 2, 1, "", "log_cosh_loss"], [280, 2, 1, "", "margin_ranking_loss"], [281, 2, 1, "", "mse_loss"], [282, 2, 1, "", "nll_loss"], [283, 2, 1, "", "smooth_l1_loss"], [284, 2, 1, "", "triplet_loss"]], "mlx.optimizers": [[299, 0, 1, "", "AdaDelta"], [300, 0, 1, "", "Adafactor"], [301, 0, 1, "", "Adagrad"], [302, 0, 1, "", "Adam"], [303, 0, 1, "", "AdamW"], [304, 0, 1, "", "Adamax"], [305, 0, 1, "", "Lion"], [316, 0, 1, "", "Optimizer"], [310, 0, 1, "", "RMSprop"], [311, 0, 1, "", "SGD"], [312, 2, 1, "", "cosine_decay"], [313, 2, 1, "", "exponential_decay"], [314, 2, 1, "", "step_decay"]], "mlx.optimizers.Optimizer": [[306, 1, 1, "", "apply_gradients"], [307, 1, 1, "", "init"], [308, 3, 1, "", "state"], [309, 1, 1, "", "update"]], "mlx.utils": [[200, 2, 1, "", "tree_flatten"], [201, 2, 1, "", "tree_map"], [202, 2, 1, "", "tree_unflatten"]]}, "objtypes": {"0": "py:class", "1": "py:method", "2": "py:function", "3": "py:property"}, "objnames": {"0": ["py", "class", "Python class"], "1": ["py", "method", "Python method"], "2": ["py", "function", "Python function"], "3": ["py", "property", "Python property"]}, "titleterms": {"oper": [0, 1, 297], "develop": 1, "document": 1, "introduc": 1, "exampl": [1, 5, 321, 328], "primit": 1, "us": [1, 324, 329], "implement": [1, 3], "cpu": 1, "backend": 1, "gpu": 1, "transform": [1, 259, 319, 321, 322, 324, 326], "build": [1, 6], "bind": 1, "python": [1, 5, 6], "cmake": 1, "setuptool": 1, "usag": [1, 5], "result": 1, "script": [1, 3], "download": [1, 3], "code": [1, 3], "linear": [2, 208, 224], "regress": 2, "llm": 3, "infer": 3, "model": 3, "attent": 3, "layer": [3, 4, 294], "encod": 3, "full": [3, 101], "gener": 3, "put": 3, "all": [3, 11, 28], "togeth": 3, "convert": 3, "weight": 3, "load": [3, 117, 327], "benchmark": 3, "multi": 4, "perceptron": 4, "mlx": [5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314], "instal": [5, 6], "api": [5, 6], "refer": 5, "c": [5, 6], "further": 5, "read": 5, "troubleshoot": 6, "from": [6, 323], "sourc": 6, "requir": 6, "option": 6, "metal": 6, "found": 6, "x86": 6, "shell": 6, "core": [7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 203], "devic": [7, 206], "dtype": [8, 34], "stream": [179, 203, 206, 329], "ab": [9, 27], "add": 10, "allclos": 12, "ani": [13, 29], "arang": 14, "arcco": 15, "arccosh": 16, "arcsin": 17, "arcsinh": 18, "arctan": 19, "arctanh": 20, "argmax": [21, 30], "argmin": [22, 31], "argpartit": 23, "argsort": 24, "arrai": [25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 204, 323, 327], "t": 26, "astyp": 32, "co": [33, 68], "exp": [35, 83], "item": 36, "log": [37, 118], "log1p": [38, 120], "logsumexp": [39, 126], "max": [40, 128], "mean": [41, 130], "min": [42, 131], "ndim": 43, "prod": [44, 142], "reciproc": [45, 155], "reshap": [46, 157], "round": [47, 158], "rsqrt": [48, 159], "shape": 49, "sin": [50, 169], "size": 51, "split": [52, 152, 173], "sqrt": [53, 174], "squar": [54, 175], "sum": [55, 181], "tolist": 56, "transpos": [57, 188], "var": [58, 193], "array_equ": 59, "broadcast_to": 60, "ceil": 61, "clip": 62, "compil": [63, 321], "concaten": 64, "conv1d": [65, 214], "conv2d": [66, 215], "convolv": 67, "cosh": 69, "default_devic": 70, "default_stream": 71, "dequant": 72, "diag": 73, "diagon": 74, "disable_compil": 75, "divid": 76, "divmod": 77, "enable_compil": 78, "equal": 79, "erf": 80, "erfinv": 81, "eval": [82, 231], "expand_dim": 84, "ey": 85, "fft": [86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 207], "fft2": 87, "fftn": 88, "ifft": 89, "ifft2": 90, "ifftn": 91, "irfft": 92, "irfft2": 93, "irfftn": 94, "rfft": 95, "rfft2": 96, "rfftn": 97, "flatten": 98, "floor": 99, "floor_divid": 100, "grad": [102, 209], "greater": 103, "greater_equ": 104, "ident": [105, 265], "inner": 106, "isinf": 107, "isnan": 108, "isneginf": 109, "isposinf": 110, "jvp": 111, "less": 112, "less_equ": 113, "linalg": [114, 115], "norm": 114, "qr": 115, "linspac": 116, "log10": 119, "log2": 121, "logaddexp": 122, "logical_and": 123, "logical_not": 124, "logical_or": 125, "matmul": 127, "maximum": 129, "minimum": 132, "moveaxi": 133, "multipli": 134, "neg": 135, "new_stream": 136, "ones": 137, "ones_lik": 138, "outer": 139, "pad": 140, "partit": 141, "quantiz": 143, "quantized_matmul": 144, "random": [145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 318], "bernoulli": 145, "categor": 146, "gumbel": 147, "kei": 148, "normal": [149, 266], "randint": 150, "seed": 151, "truncated_norm": 153, "uniform": [154, 267], "repeat": 156, "save": [160, 327], "save_gguf": 161, "save_safetensor": 162, "savez": 163, "savez_compress": 164, "set_default_devic": 165, "set_default_stream": 166, "sigmoid": 167, "sign": 168, "sinh": 170, "softmax": 171, "sort": 172, "squeez": 176, "stack": 177, "stop_gradi": 178, "subtract": 180, "swapax": 182, "take": 183, "take_along_axi": 184, "tan": 185, "tanh": 186, "tensordot": 187, "tri": 189, "tril": 190, "triu": 191, "value_and_grad": [192, 199], "vjp": 194, "vmap": 195, "where": 196, "zero": 197, "zeros_lik": 198, "nn": [199, 210, 211, 212, 213, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291], "optim": [298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 308, 309, 310, 311, 312, 313, 314, 315, 316], "adadelta": 299, "adafactor": 300, "adagrad": 301, "adam": 302, "adamw": 303, "adamax": 304, "lion": 305, "apply_gradi": 306, "init": [260, 261, 262, 263, 264, 265, 266, 267, 307], "state": [240, 308], "updat": [209, 245, 309, 323], "rmsprop": 310, "sgd": 311, "util": [200, 201, 202, 320], "tree_flatten": 200, "tree_map": 201, "tree_unflatten": 202, "data": 205, "type": 205, "support": 205, "algebra": 208, "neural": 209, "network": 209, "quick": [209, 326], "start": [209, 326], "The": 209, "modul": [209, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 296], "class": 209, "paramet": [209, 238], "inspect": 209, "valu": 209, "alibi": 210, "batchnorm": 213, "dropout": 216, "dropout2d": 217, "dropout3d": 218, "embed": 219, "gelu": [220, 268], "groupnorm": 221, "instancenorm": 222, "layernorm": 223, "mish": [227, 285], "appli": 228, "apply_to_modul": 229, "children": 230, "filter_and_map": 232, "freez": 233, "leaf_modul": 234, "load_weight": 235, "named_modul": 237, "save_weight": 239, "train": [241, 243, 321], "trainable_paramet": 242, "unfreez": 244, "update_modul": 246, "multiheadattent": 247, "prelu": [248, 286], "quantizedlinear": 249, "rmsnorm": 250, "relu": [251, 287], "rope": 252, "selu": [253, 288], "sequenti": 254, "silu": [255, 289], "sinusoidalpositionalencod": 256, "softshrink": [257, 290], "step": [258, 291], "constant": 260, "glorot_norm": 261, "glorot_uniform": 262, "he_norm": 263, "he_uniform": 264, "gelu_approx": 269, "gelu_fast_approx": 270, "loss": [271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 295], "binary_cross_entropi": 271, "cosine_similarity_loss": 272, "cross_entropi": 273, "gaussian_nll_loss": 274, "hinge_loss": 275, "huber_loss": 276, "kl_div_loss": 277, "l1_loss": 278, "log_cosh_loss": 279, "margin_ranking_loss": 280, "mse_loss": 281, "nll_loss": 282, "smooth_l1_loss": 283, "triplet_loss": 284, "function": [292, 295, 321, 322, 326], "initi": 293, "tree": 320, "basic": [321, 326], "speedup": 321, "debug": 321, "pure": 321, "graph": [321, 324, 326], "automat": 322, "differenti": 322, "vector": 322, "index": 323, "differ": 323, "numpi": [323, 325], "In": 323, "place": 323, "lazi": 324, "evalu": 324, "why": 324, "comput": 324, "onli": 324, "what": 324, "you": 324, "when": 324, "convers": 325, "other": 325, "framework": 325, "pytorch": 325, "jax": 325, "tensorflow": 325, "guid": 326, "serial": 327, "format": 327, "unifi": 328, "memori": 328, "A": 328, "simpl": 328, "specifi": 329, "avgpool1d": 211, "avgpool2d": 212, "maxpool1d": 225, "maxpool2d": 226, "cosine_decai": 312, "exponential_decai": 313, "step_decai": 314, "common": 315, "schedul": 317}, "envversion": {"sphinx.domains.c": 2, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 6, "sphinx.domains.index": 1, "sphinx.domains.javascript": 2, "sphinx.domains.math": 2, "sphinx.domains.python": 3, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.intersphinx": 1, "sphinx": 56}})
\ No newline at end of file
+Search.setIndex({"docnames": ["cpp/ops", "dev/extensions", "examples/linear_regression", "examples/llama-inference", "examples/mlp", "index", "install", "python/_autosummary/mlx.core.Device", "python/_autosummary/mlx.core.Dtype", "python/_autosummary/mlx.core.abs", "python/_autosummary/mlx.core.add", "python/_autosummary/mlx.core.all", "python/_autosummary/mlx.core.allclose", "python/_autosummary/mlx.core.any", "python/_autosummary/mlx.core.arange", "python/_autosummary/mlx.core.arccos", "python/_autosummary/mlx.core.arccosh", "python/_autosummary/mlx.core.arcsin", "python/_autosummary/mlx.core.arcsinh", "python/_autosummary/mlx.core.arctan", "python/_autosummary/mlx.core.arctanh", "python/_autosummary/mlx.core.argmax", "python/_autosummary/mlx.core.argmin", "python/_autosummary/mlx.core.argpartition", "python/_autosummary/mlx.core.argsort", "python/_autosummary/mlx.core.array", "python/_autosummary/mlx.core.array.T", "python/_autosummary/mlx.core.array.abs", "python/_autosummary/mlx.core.array.all", "python/_autosummary/mlx.core.array.any", "python/_autosummary/mlx.core.array.argmax", "python/_autosummary/mlx.core.array.argmin", "python/_autosummary/mlx.core.array.astype", "python/_autosummary/mlx.core.array.cos", "python/_autosummary/mlx.core.array.dtype", "python/_autosummary/mlx.core.array.exp", "python/_autosummary/mlx.core.array.item", "python/_autosummary/mlx.core.array.log", "python/_autosummary/mlx.core.array.log1p", "python/_autosummary/mlx.core.array.logsumexp", "python/_autosummary/mlx.core.array.max", "python/_autosummary/mlx.core.array.mean", "python/_autosummary/mlx.core.array.min", "python/_autosummary/mlx.core.array.ndim", "python/_autosummary/mlx.core.array.prod", "python/_autosummary/mlx.core.array.reciprocal", "python/_autosummary/mlx.core.array.reshape", "python/_autosummary/mlx.core.array.round", "python/_autosummary/mlx.core.array.rsqrt", "python/_autosummary/mlx.core.array.shape", "python/_autosummary/mlx.core.array.sin", "python/_autosummary/mlx.core.array.size", "python/_autosummary/mlx.core.array.split", "python/_autosummary/mlx.core.array.sqrt", "python/_autosummary/mlx.core.array.square", "python/_autosummary/mlx.core.array.sum", "python/_autosummary/mlx.core.array.tolist", "python/_autosummary/mlx.core.array.transpose", "python/_autosummary/mlx.core.array.var", "python/_autosummary/mlx.core.array_equal", "python/_autosummary/mlx.core.atleast_1d", "python/_autosummary/mlx.core.atleast_2d", "python/_autosummary/mlx.core.atleast_3d", "python/_autosummary/mlx.core.broadcast_to", "python/_autosummary/mlx.core.ceil", "python/_autosummary/mlx.core.clip", "python/_autosummary/mlx.core.compile", "python/_autosummary/mlx.core.concatenate", "python/_autosummary/mlx.core.conv1d", "python/_autosummary/mlx.core.conv2d", "python/_autosummary/mlx.core.conv_general", "python/_autosummary/mlx.core.convolve", "python/_autosummary/mlx.core.cos", "python/_autosummary/mlx.core.cosh", "python/_autosummary/mlx.core.default_device", "python/_autosummary/mlx.core.default_stream", "python/_autosummary/mlx.core.dequantize", "python/_autosummary/mlx.core.diag", "python/_autosummary/mlx.core.diagonal", "python/_autosummary/mlx.core.disable_compile", "python/_autosummary/mlx.core.divide", "python/_autosummary/mlx.core.divmod", "python/_autosummary/mlx.core.enable_compile", "python/_autosummary/mlx.core.equal", "python/_autosummary/mlx.core.erf", "python/_autosummary/mlx.core.erfinv", "python/_autosummary/mlx.core.eval", "python/_autosummary/mlx.core.exp", "python/_autosummary/mlx.core.expand_dims", "python/_autosummary/mlx.core.eye", "python/_autosummary/mlx.core.fft.fft", "python/_autosummary/mlx.core.fft.fft2", "python/_autosummary/mlx.core.fft.fftn", "python/_autosummary/mlx.core.fft.ifft", "python/_autosummary/mlx.core.fft.ifft2", "python/_autosummary/mlx.core.fft.ifftn", "python/_autosummary/mlx.core.fft.irfft", "python/_autosummary/mlx.core.fft.irfft2", "python/_autosummary/mlx.core.fft.irfftn", "python/_autosummary/mlx.core.fft.rfft", "python/_autosummary/mlx.core.fft.rfft2", "python/_autosummary/mlx.core.fft.rfftn", "python/_autosummary/mlx.core.flatten", "python/_autosummary/mlx.core.floor", "python/_autosummary/mlx.core.floor_divide", "python/_autosummary/mlx.core.full", "python/_autosummary/mlx.core.grad", "python/_autosummary/mlx.core.greater", "python/_autosummary/mlx.core.greater_equal", "python/_autosummary/mlx.core.identity", "python/_autosummary/mlx.core.inner", "python/_autosummary/mlx.core.isinf", "python/_autosummary/mlx.core.isnan", "python/_autosummary/mlx.core.isneginf", "python/_autosummary/mlx.core.isposinf", "python/_autosummary/mlx.core.jvp", "python/_autosummary/mlx.core.less", "python/_autosummary/mlx.core.less_equal", "python/_autosummary/mlx.core.linalg.norm", "python/_autosummary/mlx.core.linalg.qr", "python/_autosummary/mlx.core.linspace", "python/_autosummary/mlx.core.load", "python/_autosummary/mlx.core.log", "python/_autosummary/mlx.core.log10", "python/_autosummary/mlx.core.log1p", "python/_autosummary/mlx.core.log2", "python/_autosummary/mlx.core.logaddexp", "python/_autosummary/mlx.core.logical_and", "python/_autosummary/mlx.core.logical_not", "python/_autosummary/mlx.core.logical_or", "python/_autosummary/mlx.core.logsumexp", "python/_autosummary/mlx.core.matmul", "python/_autosummary/mlx.core.max", "python/_autosummary/mlx.core.maximum", "python/_autosummary/mlx.core.mean", "python/_autosummary/mlx.core.min", "python/_autosummary/mlx.core.minimum", "python/_autosummary/mlx.core.moveaxis", "python/_autosummary/mlx.core.multiply", "python/_autosummary/mlx.core.negative", "python/_autosummary/mlx.core.new_stream", "python/_autosummary/mlx.core.ones", "python/_autosummary/mlx.core.ones_like", "python/_autosummary/mlx.core.outer", "python/_autosummary/mlx.core.pad", "python/_autosummary/mlx.core.partition", "python/_autosummary/mlx.core.prod", "python/_autosummary/mlx.core.quantize", "python/_autosummary/mlx.core.quantized_matmul", "python/_autosummary/mlx.core.random.bernoulli", "python/_autosummary/mlx.core.random.categorical", "python/_autosummary/mlx.core.random.gumbel", "python/_autosummary/mlx.core.random.key", "python/_autosummary/mlx.core.random.normal", "python/_autosummary/mlx.core.random.randint", "python/_autosummary/mlx.core.random.seed", "python/_autosummary/mlx.core.random.split", "python/_autosummary/mlx.core.random.truncated_normal", "python/_autosummary/mlx.core.random.uniform", "python/_autosummary/mlx.core.reciprocal", "python/_autosummary/mlx.core.repeat", "python/_autosummary/mlx.core.reshape", "python/_autosummary/mlx.core.round", "python/_autosummary/mlx.core.rsqrt", "python/_autosummary/mlx.core.save", "python/_autosummary/mlx.core.save_gguf", "python/_autosummary/mlx.core.save_safetensors", "python/_autosummary/mlx.core.savez", "python/_autosummary/mlx.core.savez_compressed", "python/_autosummary/mlx.core.set_default_device", "python/_autosummary/mlx.core.set_default_stream", "python/_autosummary/mlx.core.sigmoid", "python/_autosummary/mlx.core.sign", "python/_autosummary/mlx.core.sin", "python/_autosummary/mlx.core.sinh", "python/_autosummary/mlx.core.softmax", "python/_autosummary/mlx.core.sort", "python/_autosummary/mlx.core.split", "python/_autosummary/mlx.core.sqrt", "python/_autosummary/mlx.core.square", "python/_autosummary/mlx.core.squeeze", "python/_autosummary/mlx.core.stack", "python/_autosummary/mlx.core.stop_gradient", "python/_autosummary/mlx.core.stream", "python/_autosummary/mlx.core.subtract", "python/_autosummary/mlx.core.sum", "python/_autosummary/mlx.core.swapaxes", "python/_autosummary/mlx.core.take", "python/_autosummary/mlx.core.take_along_axis", "python/_autosummary/mlx.core.tan", "python/_autosummary/mlx.core.tanh", "python/_autosummary/mlx.core.tensordot", "python/_autosummary/mlx.core.transpose", "python/_autosummary/mlx.core.tri", "python/_autosummary/mlx.core.tril", "python/_autosummary/mlx.core.triu", "python/_autosummary/mlx.core.value_and_grad", "python/_autosummary/mlx.core.var", "python/_autosummary/mlx.core.vjp", "python/_autosummary/mlx.core.vmap", "python/_autosummary/mlx.core.where", "python/_autosummary/mlx.core.zeros", "python/_autosummary/mlx.core.zeros_like", "python/_autosummary/mlx.nn.value_and_grad", "python/_autosummary/mlx.utils.tree_flatten", "python/_autosummary/mlx.utils.tree_map", "python/_autosummary/mlx.utils.tree_unflatten", "python/_autosummary/stream_class", "python/array", "python/data_types", "python/devices_and_streams", "python/fft", "python/linalg", "python/nn", "python/nn/_autosummary/mlx.nn.ALiBi", "python/nn/_autosummary/mlx.nn.AvgPool1d", "python/nn/_autosummary/mlx.nn.AvgPool2d", "python/nn/_autosummary/mlx.nn.BatchNorm", "python/nn/_autosummary/mlx.nn.Conv1d", "python/nn/_autosummary/mlx.nn.Conv2d", "python/nn/_autosummary/mlx.nn.Dropout", "python/nn/_autosummary/mlx.nn.Dropout2d", "python/nn/_autosummary/mlx.nn.Dropout3d", "python/nn/_autosummary/mlx.nn.Embedding", "python/nn/_autosummary/mlx.nn.GELU", "python/nn/_autosummary/mlx.nn.GroupNorm", "python/nn/_autosummary/mlx.nn.InstanceNorm", "python/nn/_autosummary/mlx.nn.LayerNorm", "python/nn/_autosummary/mlx.nn.Linear", "python/nn/_autosummary/mlx.nn.MaxPool1d", "python/nn/_autosummary/mlx.nn.MaxPool2d", "python/nn/_autosummary/mlx.nn.Mish", "python/nn/_autosummary/mlx.nn.Module.apply", "python/nn/_autosummary/mlx.nn.Module.apply_to_modules", "python/nn/_autosummary/mlx.nn.Module.children", "python/nn/_autosummary/mlx.nn.Module.eval", "python/nn/_autosummary/mlx.nn.Module.filter_and_map", "python/nn/_autosummary/mlx.nn.Module.freeze", "python/nn/_autosummary/mlx.nn.Module.leaf_modules", "python/nn/_autosummary/mlx.nn.Module.load_weights", "python/nn/_autosummary/mlx.nn.Module.modules", "python/nn/_autosummary/mlx.nn.Module.named_modules", "python/nn/_autosummary/mlx.nn.Module.parameters", "python/nn/_autosummary/mlx.nn.Module.save_weights", "python/nn/_autosummary/mlx.nn.Module.state", "python/nn/_autosummary/mlx.nn.Module.train", "python/nn/_autosummary/mlx.nn.Module.trainable_parameters", "python/nn/_autosummary/mlx.nn.Module.training", "python/nn/_autosummary/mlx.nn.Module.unfreeze", "python/nn/_autosummary/mlx.nn.Module.update", "python/nn/_autosummary/mlx.nn.Module.update_modules", "python/nn/_autosummary/mlx.nn.MultiHeadAttention", "python/nn/_autosummary/mlx.nn.PReLU", "python/nn/_autosummary/mlx.nn.QuantizedLinear", "python/nn/_autosummary/mlx.nn.RMSNorm", "python/nn/_autosummary/mlx.nn.ReLU", "python/nn/_autosummary/mlx.nn.RoPE", "python/nn/_autosummary/mlx.nn.SELU", "python/nn/_autosummary/mlx.nn.Sequential", "python/nn/_autosummary/mlx.nn.SiLU", "python/nn/_autosummary/mlx.nn.SinusoidalPositionalEncoding", "python/nn/_autosummary/mlx.nn.Softshrink", "python/nn/_autosummary/mlx.nn.Step", "python/nn/_autosummary/mlx.nn.Transformer", "python/nn/_autosummary/mlx.nn.Upsample", "python/nn/_autosummary/mlx.nn.init.constant", "python/nn/_autosummary/mlx.nn.init.glorot_normal", "python/nn/_autosummary/mlx.nn.init.glorot_uniform", "python/nn/_autosummary/mlx.nn.init.he_normal", "python/nn/_autosummary/mlx.nn.init.he_uniform", "python/nn/_autosummary/mlx.nn.init.identity", "python/nn/_autosummary/mlx.nn.init.normal", "python/nn/_autosummary/mlx.nn.init.uniform", "python/nn/_autosummary_functions/mlx.nn.elu", "python/nn/_autosummary_functions/mlx.nn.gelu", "python/nn/_autosummary_functions/mlx.nn.gelu_approx", "python/nn/_autosummary_functions/mlx.nn.gelu_fast_approx", "python/nn/_autosummary_functions/mlx.nn.glu", "python/nn/_autosummary_functions/mlx.nn.hardswish", "python/nn/_autosummary_functions/mlx.nn.leaky_relu", "python/nn/_autosummary_functions/mlx.nn.log_sigmoid", "python/nn/_autosummary_functions/mlx.nn.log_softmax", "python/nn/_autosummary_functions/mlx.nn.losses.binary_cross_entropy", "python/nn/_autosummary_functions/mlx.nn.losses.cosine_similarity_loss", "python/nn/_autosummary_functions/mlx.nn.losses.cross_entropy", "python/nn/_autosummary_functions/mlx.nn.losses.gaussian_nll_loss", "python/nn/_autosummary_functions/mlx.nn.losses.hinge_loss", "python/nn/_autosummary_functions/mlx.nn.losses.huber_loss", "python/nn/_autosummary_functions/mlx.nn.losses.kl_div_loss", "python/nn/_autosummary_functions/mlx.nn.losses.l1_loss", "python/nn/_autosummary_functions/mlx.nn.losses.log_cosh_loss", "python/nn/_autosummary_functions/mlx.nn.losses.margin_ranking_loss", "python/nn/_autosummary_functions/mlx.nn.losses.mse_loss", "python/nn/_autosummary_functions/mlx.nn.losses.nll_loss", "python/nn/_autosummary_functions/mlx.nn.losses.smooth_l1_loss", "python/nn/_autosummary_functions/mlx.nn.losses.triplet_loss", "python/nn/_autosummary_functions/mlx.nn.mish", "python/nn/_autosummary_functions/mlx.nn.prelu", "python/nn/_autosummary_functions/mlx.nn.relu", "python/nn/_autosummary_functions/mlx.nn.relu6", "python/nn/_autosummary_functions/mlx.nn.selu", "python/nn/_autosummary_functions/mlx.nn.sigmoid", "python/nn/_autosummary_functions/mlx.nn.silu", "python/nn/_autosummary_functions/mlx.nn.softmax", "python/nn/_autosummary_functions/mlx.nn.softplus", "python/nn/_autosummary_functions/mlx.nn.softshrink", "python/nn/_autosummary_functions/mlx.nn.step", "python/nn/_autosummary_functions/mlx.nn.tanh", "python/nn/functions", "python/nn/init", "python/nn/layers", "python/nn/losses", "python/nn/module", "python/ops", "python/optimizers", "python/optimizers/_autosummary/mlx.optimizers.AdaDelta", "python/optimizers/_autosummary/mlx.optimizers.Adafactor", "python/optimizers/_autosummary/mlx.optimizers.Adagrad", "python/optimizers/_autosummary/mlx.optimizers.Adam", "python/optimizers/_autosummary/mlx.optimizers.AdamW", "python/optimizers/_autosummary/mlx.optimizers.Adamax", "python/optimizers/_autosummary/mlx.optimizers.Lion", "python/optimizers/_autosummary/mlx.optimizers.Optimizer.apply_gradients", "python/optimizers/_autosummary/mlx.optimizers.Optimizer.init", "python/optimizers/_autosummary/mlx.optimizers.Optimizer.state", "python/optimizers/_autosummary/mlx.optimizers.Optimizer.update", "python/optimizers/_autosummary/mlx.optimizers.RMSprop", "python/optimizers/_autosummary/mlx.optimizers.SGD", "python/optimizers/_autosummary/mlx.optimizers.cosine_decay", "python/optimizers/_autosummary/mlx.optimizers.exponential_decay", "python/optimizers/_autosummary/mlx.optimizers.join_schedules", "python/optimizers/_autosummary/mlx.optimizers.linear_schedule", "python/optimizers/_autosummary/mlx.optimizers.step_decay", "python/optimizers/common_optimizers", "python/optimizers/optimizer", "python/optimizers/schedulers", "python/random", "python/transforms", "python/tree_utils", "usage/compile", "usage/function_transforms", "usage/indexing", "usage/lazy_evaluation", "usage/numpy", "usage/quick_start", "usage/saving_and_loading", "usage/unified_memory", "usage/using_streams"], "filenames": ["cpp/ops.rst", "dev/extensions.rst", "examples/linear_regression.rst", "examples/llama-inference.rst", "examples/mlp.rst", "index.rst", "install.rst", "python/_autosummary/mlx.core.Device.rst", "python/_autosummary/mlx.core.Dtype.rst", "python/_autosummary/mlx.core.abs.rst", "python/_autosummary/mlx.core.add.rst", "python/_autosummary/mlx.core.all.rst", "python/_autosummary/mlx.core.allclose.rst", "python/_autosummary/mlx.core.any.rst", "python/_autosummary/mlx.core.arange.rst", "python/_autosummary/mlx.core.arccos.rst", "python/_autosummary/mlx.core.arccosh.rst", "python/_autosummary/mlx.core.arcsin.rst", "python/_autosummary/mlx.core.arcsinh.rst", "python/_autosummary/mlx.core.arctan.rst", "python/_autosummary/mlx.core.arctanh.rst", "python/_autosummary/mlx.core.argmax.rst", "python/_autosummary/mlx.core.argmin.rst", "python/_autosummary/mlx.core.argpartition.rst", "python/_autosummary/mlx.core.argsort.rst", "python/_autosummary/mlx.core.array.rst", "python/_autosummary/mlx.core.array.T.rst", "python/_autosummary/mlx.core.array.abs.rst", "python/_autosummary/mlx.core.array.all.rst", "python/_autosummary/mlx.core.array.any.rst", "python/_autosummary/mlx.core.array.argmax.rst", "python/_autosummary/mlx.core.array.argmin.rst", "python/_autosummary/mlx.core.array.astype.rst", "python/_autosummary/mlx.core.array.cos.rst", "python/_autosummary/mlx.core.array.dtype.rst", "python/_autosummary/mlx.core.array.exp.rst", "python/_autosummary/mlx.core.array.item.rst", "python/_autosummary/mlx.core.array.log.rst", "python/_autosummary/mlx.core.array.log1p.rst", "python/_autosummary/mlx.core.array.logsumexp.rst", "python/_autosummary/mlx.core.array.max.rst", "python/_autosummary/mlx.core.array.mean.rst", "python/_autosummary/mlx.core.array.min.rst", "python/_autosummary/mlx.core.array.ndim.rst", "python/_autosummary/mlx.core.array.prod.rst", "python/_autosummary/mlx.core.array.reciprocal.rst", "python/_autosummary/mlx.core.array.reshape.rst", "python/_autosummary/mlx.core.array.round.rst", "python/_autosummary/mlx.core.array.rsqrt.rst", "python/_autosummary/mlx.core.array.shape.rst", "python/_autosummary/mlx.core.array.sin.rst", "python/_autosummary/mlx.core.array.size.rst", "python/_autosummary/mlx.core.array.split.rst", "python/_autosummary/mlx.core.array.sqrt.rst", "python/_autosummary/mlx.core.array.square.rst", "python/_autosummary/mlx.core.array.sum.rst", "python/_autosummary/mlx.core.array.tolist.rst", "python/_autosummary/mlx.core.array.transpose.rst", "python/_autosummary/mlx.core.array.var.rst", "python/_autosummary/mlx.core.array_equal.rst", "python/_autosummary/mlx.core.atleast_1d.rst", "python/_autosummary/mlx.core.atleast_2d.rst", "python/_autosummary/mlx.core.atleast_3d.rst", "python/_autosummary/mlx.core.broadcast_to.rst", "python/_autosummary/mlx.core.ceil.rst", "python/_autosummary/mlx.core.clip.rst", "python/_autosummary/mlx.core.compile.rst", "python/_autosummary/mlx.core.concatenate.rst", "python/_autosummary/mlx.core.conv1d.rst", "python/_autosummary/mlx.core.conv2d.rst", "python/_autosummary/mlx.core.conv_general.rst", "python/_autosummary/mlx.core.convolve.rst", "python/_autosummary/mlx.core.cos.rst", "python/_autosummary/mlx.core.cosh.rst", "python/_autosummary/mlx.core.default_device.rst", "python/_autosummary/mlx.core.default_stream.rst", "python/_autosummary/mlx.core.dequantize.rst", "python/_autosummary/mlx.core.diag.rst", "python/_autosummary/mlx.core.diagonal.rst", "python/_autosummary/mlx.core.disable_compile.rst", "python/_autosummary/mlx.core.divide.rst", "python/_autosummary/mlx.core.divmod.rst", "python/_autosummary/mlx.core.enable_compile.rst", "python/_autosummary/mlx.core.equal.rst", "python/_autosummary/mlx.core.erf.rst", "python/_autosummary/mlx.core.erfinv.rst", "python/_autosummary/mlx.core.eval.rst", "python/_autosummary/mlx.core.exp.rst", "python/_autosummary/mlx.core.expand_dims.rst", "python/_autosummary/mlx.core.eye.rst", "python/_autosummary/mlx.core.fft.fft.rst", "python/_autosummary/mlx.core.fft.fft2.rst", "python/_autosummary/mlx.core.fft.fftn.rst", "python/_autosummary/mlx.core.fft.ifft.rst", "python/_autosummary/mlx.core.fft.ifft2.rst", "python/_autosummary/mlx.core.fft.ifftn.rst", "python/_autosummary/mlx.core.fft.irfft.rst", "python/_autosummary/mlx.core.fft.irfft2.rst", "python/_autosummary/mlx.core.fft.irfftn.rst", "python/_autosummary/mlx.core.fft.rfft.rst", "python/_autosummary/mlx.core.fft.rfft2.rst", "python/_autosummary/mlx.core.fft.rfftn.rst", "python/_autosummary/mlx.core.flatten.rst", "python/_autosummary/mlx.core.floor.rst", "python/_autosummary/mlx.core.floor_divide.rst", "python/_autosummary/mlx.core.full.rst", "python/_autosummary/mlx.core.grad.rst", "python/_autosummary/mlx.core.greater.rst", "python/_autosummary/mlx.core.greater_equal.rst", "python/_autosummary/mlx.core.identity.rst", "python/_autosummary/mlx.core.inner.rst", "python/_autosummary/mlx.core.isinf.rst", "python/_autosummary/mlx.core.isnan.rst", "python/_autosummary/mlx.core.isneginf.rst", "python/_autosummary/mlx.core.isposinf.rst", "python/_autosummary/mlx.core.jvp.rst", "python/_autosummary/mlx.core.less.rst", "python/_autosummary/mlx.core.less_equal.rst", "python/_autosummary/mlx.core.linalg.norm.rst", "python/_autosummary/mlx.core.linalg.qr.rst", "python/_autosummary/mlx.core.linspace.rst", "python/_autosummary/mlx.core.load.rst", "python/_autosummary/mlx.core.log.rst", "python/_autosummary/mlx.core.log10.rst", "python/_autosummary/mlx.core.log1p.rst", "python/_autosummary/mlx.core.log2.rst", "python/_autosummary/mlx.core.logaddexp.rst", "python/_autosummary/mlx.core.logical_and.rst", "python/_autosummary/mlx.core.logical_not.rst", "python/_autosummary/mlx.core.logical_or.rst", "python/_autosummary/mlx.core.logsumexp.rst", "python/_autosummary/mlx.core.matmul.rst", "python/_autosummary/mlx.core.max.rst", "python/_autosummary/mlx.core.maximum.rst", "python/_autosummary/mlx.core.mean.rst", "python/_autosummary/mlx.core.min.rst", "python/_autosummary/mlx.core.minimum.rst", "python/_autosummary/mlx.core.moveaxis.rst", "python/_autosummary/mlx.core.multiply.rst", "python/_autosummary/mlx.core.negative.rst", "python/_autosummary/mlx.core.new_stream.rst", "python/_autosummary/mlx.core.ones.rst", "python/_autosummary/mlx.core.ones_like.rst", "python/_autosummary/mlx.core.outer.rst", "python/_autosummary/mlx.core.pad.rst", "python/_autosummary/mlx.core.partition.rst", "python/_autosummary/mlx.core.prod.rst", "python/_autosummary/mlx.core.quantize.rst", "python/_autosummary/mlx.core.quantized_matmul.rst", "python/_autosummary/mlx.core.random.bernoulli.rst", "python/_autosummary/mlx.core.random.categorical.rst", "python/_autosummary/mlx.core.random.gumbel.rst", "python/_autosummary/mlx.core.random.key.rst", "python/_autosummary/mlx.core.random.normal.rst", "python/_autosummary/mlx.core.random.randint.rst", "python/_autosummary/mlx.core.random.seed.rst", "python/_autosummary/mlx.core.random.split.rst", "python/_autosummary/mlx.core.random.truncated_normal.rst", "python/_autosummary/mlx.core.random.uniform.rst", "python/_autosummary/mlx.core.reciprocal.rst", "python/_autosummary/mlx.core.repeat.rst", "python/_autosummary/mlx.core.reshape.rst", "python/_autosummary/mlx.core.round.rst", "python/_autosummary/mlx.core.rsqrt.rst", "python/_autosummary/mlx.core.save.rst", "python/_autosummary/mlx.core.save_gguf.rst", "python/_autosummary/mlx.core.save_safetensors.rst", "python/_autosummary/mlx.core.savez.rst", "python/_autosummary/mlx.core.savez_compressed.rst", "python/_autosummary/mlx.core.set_default_device.rst", "python/_autosummary/mlx.core.set_default_stream.rst", "python/_autosummary/mlx.core.sigmoid.rst", "python/_autosummary/mlx.core.sign.rst", "python/_autosummary/mlx.core.sin.rst", "python/_autosummary/mlx.core.sinh.rst", "python/_autosummary/mlx.core.softmax.rst", "python/_autosummary/mlx.core.sort.rst", "python/_autosummary/mlx.core.split.rst", "python/_autosummary/mlx.core.sqrt.rst", "python/_autosummary/mlx.core.square.rst", "python/_autosummary/mlx.core.squeeze.rst", "python/_autosummary/mlx.core.stack.rst", "python/_autosummary/mlx.core.stop_gradient.rst", "python/_autosummary/mlx.core.stream.rst", "python/_autosummary/mlx.core.subtract.rst", "python/_autosummary/mlx.core.sum.rst", "python/_autosummary/mlx.core.swapaxes.rst", "python/_autosummary/mlx.core.take.rst", "python/_autosummary/mlx.core.take_along_axis.rst", "python/_autosummary/mlx.core.tan.rst", "python/_autosummary/mlx.core.tanh.rst", "python/_autosummary/mlx.core.tensordot.rst", "python/_autosummary/mlx.core.transpose.rst", "python/_autosummary/mlx.core.tri.rst", "python/_autosummary/mlx.core.tril.rst", "python/_autosummary/mlx.core.triu.rst", "python/_autosummary/mlx.core.value_and_grad.rst", "python/_autosummary/mlx.core.var.rst", "python/_autosummary/mlx.core.vjp.rst", "python/_autosummary/mlx.core.vmap.rst", "python/_autosummary/mlx.core.where.rst", "python/_autosummary/mlx.core.zeros.rst", "python/_autosummary/mlx.core.zeros_like.rst", "python/_autosummary/mlx.nn.value_and_grad.rst", "python/_autosummary/mlx.utils.tree_flatten.rst", "python/_autosummary/mlx.utils.tree_map.rst", "python/_autosummary/mlx.utils.tree_unflatten.rst", "python/_autosummary/stream_class.rst", "python/array.rst", "python/data_types.rst", "python/devices_and_streams.rst", "python/fft.rst", "python/linalg.rst", "python/nn.rst", "python/nn/_autosummary/mlx.nn.ALiBi.rst", "python/nn/_autosummary/mlx.nn.AvgPool1d.rst", "python/nn/_autosummary/mlx.nn.AvgPool2d.rst", "python/nn/_autosummary/mlx.nn.BatchNorm.rst", "python/nn/_autosummary/mlx.nn.Conv1d.rst", "python/nn/_autosummary/mlx.nn.Conv2d.rst", "python/nn/_autosummary/mlx.nn.Dropout.rst", "python/nn/_autosummary/mlx.nn.Dropout2d.rst", "python/nn/_autosummary/mlx.nn.Dropout3d.rst", "python/nn/_autosummary/mlx.nn.Embedding.rst", "python/nn/_autosummary/mlx.nn.GELU.rst", "python/nn/_autosummary/mlx.nn.GroupNorm.rst", "python/nn/_autosummary/mlx.nn.InstanceNorm.rst", "python/nn/_autosummary/mlx.nn.LayerNorm.rst", "python/nn/_autosummary/mlx.nn.Linear.rst", "python/nn/_autosummary/mlx.nn.MaxPool1d.rst", "python/nn/_autosummary/mlx.nn.MaxPool2d.rst", "python/nn/_autosummary/mlx.nn.Mish.rst", "python/nn/_autosummary/mlx.nn.Module.apply.rst", "python/nn/_autosummary/mlx.nn.Module.apply_to_modules.rst", "python/nn/_autosummary/mlx.nn.Module.children.rst", "python/nn/_autosummary/mlx.nn.Module.eval.rst", "python/nn/_autosummary/mlx.nn.Module.filter_and_map.rst", "python/nn/_autosummary/mlx.nn.Module.freeze.rst", "python/nn/_autosummary/mlx.nn.Module.leaf_modules.rst", "python/nn/_autosummary/mlx.nn.Module.load_weights.rst", "python/nn/_autosummary/mlx.nn.Module.modules.rst", "python/nn/_autosummary/mlx.nn.Module.named_modules.rst", "python/nn/_autosummary/mlx.nn.Module.parameters.rst", "python/nn/_autosummary/mlx.nn.Module.save_weights.rst", "python/nn/_autosummary/mlx.nn.Module.state.rst", "python/nn/_autosummary/mlx.nn.Module.train.rst", "python/nn/_autosummary/mlx.nn.Module.trainable_parameters.rst", "python/nn/_autosummary/mlx.nn.Module.training.rst", "python/nn/_autosummary/mlx.nn.Module.unfreeze.rst", "python/nn/_autosummary/mlx.nn.Module.update.rst", "python/nn/_autosummary/mlx.nn.Module.update_modules.rst", "python/nn/_autosummary/mlx.nn.MultiHeadAttention.rst", "python/nn/_autosummary/mlx.nn.PReLU.rst", "python/nn/_autosummary/mlx.nn.QuantizedLinear.rst", "python/nn/_autosummary/mlx.nn.RMSNorm.rst", "python/nn/_autosummary/mlx.nn.ReLU.rst", "python/nn/_autosummary/mlx.nn.RoPE.rst", "python/nn/_autosummary/mlx.nn.SELU.rst", "python/nn/_autosummary/mlx.nn.Sequential.rst", "python/nn/_autosummary/mlx.nn.SiLU.rst", "python/nn/_autosummary/mlx.nn.SinusoidalPositionalEncoding.rst", "python/nn/_autosummary/mlx.nn.Softshrink.rst", "python/nn/_autosummary/mlx.nn.Step.rst", "python/nn/_autosummary/mlx.nn.Transformer.rst", "python/nn/_autosummary/mlx.nn.Upsample.rst", "python/nn/_autosummary/mlx.nn.init.constant.rst", "python/nn/_autosummary/mlx.nn.init.glorot_normal.rst", "python/nn/_autosummary/mlx.nn.init.glorot_uniform.rst", "python/nn/_autosummary/mlx.nn.init.he_normal.rst", "python/nn/_autosummary/mlx.nn.init.he_uniform.rst", "python/nn/_autosummary/mlx.nn.init.identity.rst", "python/nn/_autosummary/mlx.nn.init.normal.rst", "python/nn/_autosummary/mlx.nn.init.uniform.rst", "python/nn/_autosummary_functions/mlx.nn.elu.rst", "python/nn/_autosummary_functions/mlx.nn.gelu.rst", "python/nn/_autosummary_functions/mlx.nn.gelu_approx.rst", "python/nn/_autosummary_functions/mlx.nn.gelu_fast_approx.rst", "python/nn/_autosummary_functions/mlx.nn.glu.rst", "python/nn/_autosummary_functions/mlx.nn.hardswish.rst", "python/nn/_autosummary_functions/mlx.nn.leaky_relu.rst", "python/nn/_autosummary_functions/mlx.nn.log_sigmoid.rst", "python/nn/_autosummary_functions/mlx.nn.log_softmax.rst", "python/nn/_autosummary_functions/mlx.nn.losses.binary_cross_entropy.rst", "python/nn/_autosummary_functions/mlx.nn.losses.cosine_similarity_loss.rst", "python/nn/_autosummary_functions/mlx.nn.losses.cross_entropy.rst", "python/nn/_autosummary_functions/mlx.nn.losses.gaussian_nll_loss.rst", "python/nn/_autosummary_functions/mlx.nn.losses.hinge_loss.rst", "python/nn/_autosummary_functions/mlx.nn.losses.huber_loss.rst", "python/nn/_autosummary_functions/mlx.nn.losses.kl_div_loss.rst", "python/nn/_autosummary_functions/mlx.nn.losses.l1_loss.rst", "python/nn/_autosummary_functions/mlx.nn.losses.log_cosh_loss.rst", "python/nn/_autosummary_functions/mlx.nn.losses.margin_ranking_loss.rst", "python/nn/_autosummary_functions/mlx.nn.losses.mse_loss.rst", "python/nn/_autosummary_functions/mlx.nn.losses.nll_loss.rst", "python/nn/_autosummary_functions/mlx.nn.losses.smooth_l1_loss.rst", "python/nn/_autosummary_functions/mlx.nn.losses.triplet_loss.rst", "python/nn/_autosummary_functions/mlx.nn.mish.rst", "python/nn/_autosummary_functions/mlx.nn.prelu.rst", "python/nn/_autosummary_functions/mlx.nn.relu.rst", "python/nn/_autosummary_functions/mlx.nn.relu6.rst", "python/nn/_autosummary_functions/mlx.nn.selu.rst", "python/nn/_autosummary_functions/mlx.nn.sigmoid.rst", "python/nn/_autosummary_functions/mlx.nn.silu.rst", "python/nn/_autosummary_functions/mlx.nn.softmax.rst", "python/nn/_autosummary_functions/mlx.nn.softplus.rst", "python/nn/_autosummary_functions/mlx.nn.softshrink.rst", "python/nn/_autosummary_functions/mlx.nn.step.rst", "python/nn/_autosummary_functions/mlx.nn.tanh.rst", "python/nn/functions.rst", "python/nn/init.rst", "python/nn/layers.rst", "python/nn/losses.rst", "python/nn/module.rst", "python/ops.rst", "python/optimizers.rst", "python/optimizers/_autosummary/mlx.optimizers.AdaDelta.rst", "python/optimizers/_autosummary/mlx.optimizers.Adafactor.rst", "python/optimizers/_autosummary/mlx.optimizers.Adagrad.rst", "python/optimizers/_autosummary/mlx.optimizers.Adam.rst", "python/optimizers/_autosummary/mlx.optimizers.AdamW.rst", "python/optimizers/_autosummary/mlx.optimizers.Adamax.rst", "python/optimizers/_autosummary/mlx.optimizers.Lion.rst", "python/optimizers/_autosummary/mlx.optimizers.Optimizer.apply_gradients.rst", "python/optimizers/_autosummary/mlx.optimizers.Optimizer.init.rst", "python/optimizers/_autosummary/mlx.optimizers.Optimizer.state.rst", "python/optimizers/_autosummary/mlx.optimizers.Optimizer.update.rst", "python/optimizers/_autosummary/mlx.optimizers.RMSprop.rst", "python/optimizers/_autosummary/mlx.optimizers.SGD.rst", "python/optimizers/_autosummary/mlx.optimizers.cosine_decay.rst", "python/optimizers/_autosummary/mlx.optimizers.exponential_decay.rst", "python/optimizers/_autosummary/mlx.optimizers.join_schedules.rst", "python/optimizers/_autosummary/mlx.optimizers.linear_schedule.rst", "python/optimizers/_autosummary/mlx.optimizers.step_decay.rst", "python/optimizers/common_optimizers.rst", "python/optimizers/optimizer.rst", "python/optimizers/schedulers.rst", "python/random.rst", "python/transforms.rst", "python/tree_utils.rst", "usage/compile.rst", "usage/function_transforms.rst", "usage/indexing.rst", "usage/lazy_evaluation.rst", "usage/numpy.rst", "usage/quick_start.rst", "usage/saving_and_loading.rst", "usage/unified_memory.rst", "usage/using_streams.rst"], "titles": ["Operations", "Developer Documentation", "Linear Regression", "LLM inference", "Multi-Layer Perceptron", "MLX", "Build and Install", "mlx.core.Device", "mlx.core.Dtype", "mlx.core.abs", "mlx.core.add", "mlx.core.all", "mlx.core.allclose", "mlx.core.any", "mlx.core.arange", "mlx.core.arccos", "mlx.core.arccosh", "mlx.core.arcsin", "mlx.core.arcsinh", "mlx.core.arctan", "mlx.core.arctanh", "mlx.core.argmax", "mlx.core.argmin", "mlx.core.argpartition", "mlx.core.argsort", "mlx.core.array", "mlx.core.array.T", "mlx.core.array.abs", "mlx.core.array.all", "mlx.core.array.any", "mlx.core.array.argmax", "mlx.core.array.argmin", "mlx.core.array.astype", "mlx.core.array.cos", "mlx.core.array.dtype", "mlx.core.array.exp", "mlx.core.array.item", "mlx.core.array.log", "mlx.core.array.log1p", "mlx.core.array.logsumexp", "mlx.core.array.max", "mlx.core.array.mean", "mlx.core.array.min", "mlx.core.array.ndim", "mlx.core.array.prod", "mlx.core.array.reciprocal", "mlx.core.array.reshape", "mlx.core.array.round", "mlx.core.array.rsqrt", "mlx.core.array.shape", "mlx.core.array.sin", "mlx.core.array.size", "mlx.core.array.split", "mlx.core.array.sqrt", "mlx.core.array.square", "mlx.core.array.sum", "mlx.core.array.tolist", "mlx.core.array.transpose", "mlx.core.array.var", "mlx.core.array_equal", "mlx.core.atleast_1d", "mlx.core.atleast_2d", "mlx.core.atleast_3d", "mlx.core.broadcast_to", "mlx.core.ceil", "mlx.core.clip", "mlx.core.compile", "mlx.core.concatenate", "mlx.core.conv1d", "mlx.core.conv2d", "mlx.core.conv_general", "mlx.core.convolve", "mlx.core.cos", "mlx.core.cosh", "mlx.core.default_device", "mlx.core.default_stream", "mlx.core.dequantize", "mlx.core.diag", "mlx.core.diagonal", "mlx.core.disable_compile", "mlx.core.divide", "mlx.core.divmod", "mlx.core.enable_compile", "mlx.core.equal", "mlx.core.erf", "mlx.core.erfinv", "mlx.core.eval", "mlx.core.exp", "mlx.core.expand_dims", "mlx.core.eye", "mlx.core.fft.fft", "mlx.core.fft.fft2", "mlx.core.fft.fftn", "mlx.core.fft.ifft", "mlx.core.fft.ifft2", "mlx.core.fft.ifftn", "mlx.core.fft.irfft", "mlx.core.fft.irfft2", "mlx.core.fft.irfftn", "mlx.core.fft.rfft", "mlx.core.fft.rfft2", "mlx.core.fft.rfftn", "mlx.core.flatten", "mlx.core.floor", "mlx.core.floor_divide", "mlx.core.full", "mlx.core.grad", "mlx.core.greater", "mlx.core.greater_equal", "mlx.core.identity", "mlx.core.inner", "mlx.core.isinf", "mlx.core.isnan", "mlx.core.isneginf", "mlx.core.isposinf", "mlx.core.jvp", "mlx.core.less", "mlx.core.less_equal", "mlx.core.linalg.norm", "mlx.core.linalg.qr", "mlx.core.linspace", "mlx.core.load", "mlx.core.log", "mlx.core.log10", "mlx.core.log1p", "mlx.core.log2", "mlx.core.logaddexp", "mlx.core.logical_and", "mlx.core.logical_not", "mlx.core.logical_or", "mlx.core.logsumexp", "mlx.core.matmul", "mlx.core.max", "mlx.core.maximum", "mlx.core.mean", "mlx.core.min", "mlx.core.minimum", "mlx.core.moveaxis", "mlx.core.multiply", "mlx.core.negative", "mlx.core.new_stream", "mlx.core.ones", "mlx.core.ones_like", "mlx.core.outer", "mlx.core.pad", "mlx.core.partition", "mlx.core.prod", "mlx.core.quantize", "mlx.core.quantized_matmul", "mlx.core.random.bernoulli", "mlx.core.random.categorical", "mlx.core.random.gumbel", "mlx.core.random.key", "mlx.core.random.normal", "mlx.core.random.randint", "mlx.core.random.seed", "mlx.core.random.split", "mlx.core.random.truncated_normal", "mlx.core.random.uniform", "mlx.core.reciprocal", "mlx.core.repeat", "mlx.core.reshape", "mlx.core.round", "mlx.core.rsqrt", "mlx.core.save", "mlx.core.save_gguf", "mlx.core.save_safetensors", "mlx.core.savez", "mlx.core.savez_compressed", "mlx.core.set_default_device", "mlx.core.set_default_stream", "mlx.core.sigmoid", "mlx.core.sign", "mlx.core.sin", "mlx.core.sinh", "mlx.core.softmax", "mlx.core.sort", "mlx.core.split", "mlx.core.sqrt", "mlx.core.square", "mlx.core.squeeze", "mlx.core.stack", "mlx.core.stop_gradient", "mlx.core.stream", "mlx.core.subtract", "mlx.core.sum", "mlx.core.swapaxes", "mlx.core.take", "mlx.core.take_along_axis", "mlx.core.tan", "mlx.core.tanh", "mlx.core.tensordot", "mlx.core.transpose", "mlx.core.tri", "mlx.core.tril", "mlx.core.triu", "mlx.core.value_and_grad", "mlx.core.var", "mlx.core.vjp", "mlx.core.vmap", "mlx.core.where", "mlx.core.zeros", "mlx.core.zeros_like", "mlx.nn.value_and_grad", "mlx.utils.tree_flatten", "mlx.utils.tree_map", "mlx.utils.tree_unflatten", "mlx.core.Stream", "Array", "Data Types", "Devices and Streams", "FFT", "Linear Algebra", "Neural Networks", "mlx.nn.ALiBi", "mlx.nn.AvgPool1d", "mlx.nn.AvgPool2d", "mlx.nn.BatchNorm", "mlx.nn.Conv1d", "mlx.nn.Conv2d", "mlx.nn.Dropout", "mlx.nn.Dropout2d", "mlx.nn.Dropout3d", "mlx.nn.Embedding", "mlx.nn.GELU", "mlx.nn.GroupNorm", "mlx.nn.InstanceNorm", "mlx.nn.LayerNorm", "mlx.nn.Linear", "mlx.nn.MaxPool1d", "mlx.nn.MaxPool2d", "mlx.nn.Mish", "mlx.nn.Module.apply", "mlx.nn.Module.apply_to_modules", "mlx.nn.Module.children", "mlx.nn.Module.eval", "mlx.nn.Module.filter_and_map", "mlx.nn.Module.freeze", "mlx.nn.Module.leaf_modules", "mlx.nn.Module.load_weights", "mlx.nn.Module.modules", "mlx.nn.Module.named_modules", "mlx.nn.Module.parameters", "mlx.nn.Module.save_weights", "mlx.nn.Module.state", "mlx.nn.Module.train", "mlx.nn.Module.trainable_parameters", "mlx.nn.Module.training", "mlx.nn.Module.unfreeze", "mlx.nn.Module.update", "mlx.nn.Module.update_modules", "mlx.nn.MultiHeadAttention", "mlx.nn.PReLU", "mlx.nn.QuantizedLinear", "mlx.nn.RMSNorm", "mlx.nn.ReLU", "mlx.nn.RoPE", "mlx.nn.SELU", "mlx.nn.Sequential", "mlx.nn.SiLU", "mlx.nn.SinusoidalPositionalEncoding", "mlx.nn.Softshrink", "mlx.nn.Step", "mlx.nn.Transformer", "mlx.nn.Upsample", "mlx.nn.init.constant", "mlx.nn.init.glorot_normal", "mlx.nn.init.glorot_uniform", "mlx.nn.init.he_normal", "mlx.nn.init.he_uniform", "mlx.nn.init.identity", "mlx.nn.init.normal", "mlx.nn.init.uniform", "mlx.nn.elu", "mlx.nn.gelu", "mlx.nn.gelu_approx", "mlx.nn.gelu_fast_approx", "mlx.nn.glu", "mlx.nn.hardswish", "mlx.nn.leaky_relu", "mlx.nn.log_sigmoid", "mlx.nn.log_softmax", "mlx.nn.losses.binary_cross_entropy", "mlx.nn.losses.cosine_similarity_loss", "mlx.nn.losses.cross_entropy", "mlx.nn.losses.gaussian_nll_loss", "mlx.nn.losses.hinge_loss", "mlx.nn.losses.huber_loss", "mlx.nn.losses.kl_div_loss", "mlx.nn.losses.l1_loss", "mlx.nn.losses.log_cosh_loss", "mlx.nn.losses.margin_ranking_loss", "mlx.nn.losses.mse_loss", "mlx.nn.losses.nll_loss", "mlx.nn.losses.smooth_l1_loss", "mlx.nn.losses.triplet_loss", "mlx.nn.mish", "mlx.nn.prelu", "mlx.nn.relu", "mlx.nn.relu6", "mlx.nn.selu", "mlx.nn.sigmoid", "mlx.nn.silu", "mlx.nn.softmax", "mlx.nn.softplus", "mlx.nn.softshrink", "mlx.nn.step", "mlx.nn.tanh", "Functions", "Initializers", "Layers", "Loss Functions", "Module", "Operations", "Optimizers", "mlx.optimizers.AdaDelta", "mlx.optimizers.Adafactor", "mlx.optimizers.Adagrad", "mlx.optimizers.Adam", "mlx.optimizers.AdamW", "mlx.optimizers.Adamax", "mlx.optimizers.Lion", "mlx.optimizers.Optimizer.apply_gradients", "mlx.optimizers.Optimizer.init", "mlx.optimizers.Optimizer.state", "mlx.optimizers.Optimizer.update", "mlx.optimizers.RMSprop", "mlx.optimizers.SGD", "mlx.optimizers.cosine_decay", "mlx.optimizers.exponential_decay", "mlx.optimizers.join_schedules", "mlx.optimizers.linear_schedule", "mlx.optimizers.step_decay", "Common Optimizers", "Optimizer", "Schedulers", "Random", "Transforms", "Tree Utils", "Compilation", "Function Transforms", "Indexing Arrays", "Lazy Evaluation", "Conversion to NumPy and Other Frameworks", "Quick Start Guide", "Saving and Loading Arrays", "Unified Memory", "Using Streams"], "terms": {"mlx": [1, 2, 3, 4, 6, 213, 309, 312, 314, 334, 336, 338, 339, 340, 341, 342, 343, 344, 345, 346], "provid": [1, 3, 76, 106, 191, 196, 205, 213, 232, 237, 239, 248, 249, 250, 253, 263, 264, 308, 312, 345, 347], "open": [1, 6, 14, 154, 158], "flexibl": [1, 5, 250], "which": [1, 3, 4, 5, 6, 14, 32, 66, 70, 78, 86, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 106, 111, 112, 113, 114, 115, 118, 119, 121, 147, 150, 151, 160, 161, 164, 165, 166, 167, 168, 180, 181, 187, 196, 198, 199, 216, 221, 222, 224, 230, 232, 236, 256, 284, 287, 291, 294, 309, 322, 323, 336, 339, 340, 341, 342, 346, 347], "user": [1, 3, 213], "mai": [1, 118, 221, 340, 341], "add": [1, 3, 88, 126, 144, 147, 218, 219, 340, 346], "special": 1, "without": [1, 3, 5, 182, 251, 308, 338, 339, 342, 343, 346], "much": [1, 3, 215, 216, 229, 230, 339, 342], "hassl": 1, "while": [1, 3, 6, 161, 256, 342, 343], "librari": [1, 6, 213], "suppli": 1, "effici": [1, 3, 5, 221, 256, 342, 344], "can": [1, 3, 5, 6, 10, 14, 46, 57, 66, 78, 79, 80, 81, 83, 86, 107, 108, 116, 117, 118, 126, 133, 136, 138, 149, 150, 154, 157, 158, 165, 184, 196, 213, 216, 223, 230, 236, 248, 258, 264, 284, 309, 312, 314, 322, 323, 336, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347], "compos": [1, 5, 213, 339, 340, 344], "ani": [1, 3, 5, 14, 66, 204, 205, 206, 213, 224, 232, 233, 236, 244, 253, 263, 264, 309, 331, 338, 339, 340, 342, 344, 345, 346], "number": [1, 14, 51, 66, 69, 70, 76, 89, 106, 109, 115, 120, 144, 147, 148, 150, 153, 156, 158, 160, 162, 191, 193, 196, 198, 199, 213, 217, 218, 219, 221, 222, 225, 226, 251, 252, 263, 264, 266, 267, 268, 269, 328, 330, 331, 336, 339, 340, 347], "applic": [1, 6], "aris": [1, 343], "case": [1, 3, 92, 95, 96, 98, 99, 100, 101, 102, 119, 131, 161, 180, 216, 221, 230, 262, 294, 300, 305, 306, 322, 323, 339, 340, 344, 345, 346, 347], "where": [1, 4, 89, 147, 196, 199, 215, 216, 217, 218, 219, 220, 221, 222, 224, 225, 226, 227, 228, 229, 230, 236, 252, 254, 262, 268, 269, 273, 274, 275, 276, 285, 291, 297, 300, 302, 306, 323, 340, 341], "new": [1, 4, 63, 78, 137, 140, 161, 181, 192, 205, 251, 312, 314, 325, 330, 339, 341, 342, 343], "function": [1, 2, 3, 4, 5, 12, 66, 81, 84, 85, 106, 115, 118, 119, 131, 171, 196, 198, 199, 203, 205, 213, 224, 231, 233, 237, 248, 252, 255, 257, 258, 259, 261, 262, 263, 274, 275, 276, 277, 278, 280, 281, 296, 301, 303, 304, 305, 306, 307, 309, 314, 323, 336, 338, 341, 342, 343, 345], "highli": [1, 6], "optim": [1, 2, 4, 5, 249, 339, 340, 342], "ar": [1, 2, 3, 4, 5, 6, 12, 14, 59, 63, 65, 66, 70, 71, 78, 86, 89, 91, 92, 94, 95, 97, 98, 100, 101, 102, 106, 111, 112, 113, 114, 115, 118, 119, 121, 131, 143, 144, 145, 147, 148, 149, 150, 151, 154, 157, 158, 167, 168, 180, 181, 187, 196, 198, 199, 204, 205, 217, 218, 219, 220, 221, 222, 225, 226, 227, 228, 239, 251, 253, 264, 282, 284, 285, 308, 312, 321, 323, 338, 339, 340, 341, 342, 343, 344, 345, 346], "need": [1, 3, 4, 5, 59, 147, 213, 249, 250, 260, 263, 336, 340, 342, 343, 344, 346], "For": [1, 3, 6, 118, 147, 206, 213, 217, 221, 232, 237, 245, 248, 253, 256, 260, 264, 266, 267, 268, 269, 309, 336, 339, 340, 341, 342, 343, 344, 345, 346], "you": [1, 3, 4, 5, 6, 213, 260, 263, 309, 336, 339, 340, 341, 343, 345, 346], "design": [1, 2, 5, 336, 346], "your": [1, 3, 6, 312, 340, 342], "own": [1, 6, 343], "link": [1, 6], "top": [1, 228, 264], "core": [1, 2, 3, 4, 213, 215, 216, 217, 226, 229, 230, 239, 242, 246, 264, 265, 266, 267, 268, 269, 270, 271, 272, 282, 284, 291, 309, 312, 314, 339, 343, 344], "we": [1, 2, 3, 4, 76, 147, 148, 213, 223, 258, 319, 321, 336, 338, 339, 340, 342, 346], "inner": [1, 339], "work": [1, 3, 6, 339, 340, 341, 342], "go": [1, 3, 340], "over": [1, 3, 4, 11, 13, 21, 22, 23, 24, 68, 69, 70, 92, 95, 98, 101, 110, 118, 120, 130, 132, 134, 135, 145, 146, 163, 175, 176, 185, 191, 197, 217, 218, 219, 225, 227, 254, 284, 328, 331, 340], "simpl": [1, 3, 4, 213, 223, 308, 339, 340, 342], "learn": [1, 2, 4, 5, 217, 225, 226, 227, 252, 254, 315, 316, 317, 318, 319, 320, 321, 326, 327], "step": [1, 3, 4, 14, 213, 316, 323, 328, 330, 331, 332, 339], "involv": [1, 314, 339], "ad": [1, 2, 6, 226, 312, 315, 316, 317, 318, 319, 320, 326, 342, 345], "let": [1, 2, 3, 339, 340, 342, 343], "s": [1, 2, 3, 4, 34, 43, 66, 75, 76, 91, 92, 94, 95, 97, 98, 100, 101, 106, 118, 121, 134, 143, 147, 150, 162, 165, 166, 183, 196, 197, 199, 203, 213, 216, 230, 236, 237, 239, 243, 244, 248, 314, 323, 324, 336, 339, 340, 342, 343, 344, 345, 346], "sai": [1, 3, 309, 342], "would": [1, 3, 264, 341, 342, 343, 346], "like": [1, 3, 5, 142, 202, 222, 290, 323, 325, 339, 340, 342, 343, 344, 346], "an": [1, 3, 4, 6, 8, 11, 13, 25, 60, 61, 62, 63, 68, 69, 70, 86, 89, 102, 105, 109, 118, 121, 132, 135, 137, 141, 142, 144, 146, 147, 148, 160, 161, 162, 177, 180, 186, 187, 188, 191, 193, 199, 201, 202, 204, 205, 213, 215, 216, 220, 225, 227, 228, 229, 230, 232, 251, 252, 253, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 275, 297, 309, 315, 325, 329, 334, 336, 338, 339, 340, 341, 342, 343, 344, 345, 346, 347], "take": [1, 3, 4, 66, 106, 115, 133, 136, 142, 148, 188, 196, 198, 199, 202, 251, 336, 340, 341, 345, 346, 347], "two": [1, 10, 12, 59, 61, 78, 80, 83, 91, 94, 100, 107, 108, 116, 117, 119, 126, 131, 133, 136, 138, 143, 186, 216, 230, 253, 264, 277, 283, 339, 340, 341, 346], "arrai": [1, 3, 4, 5, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 76, 77, 78, 80, 81, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 213, 217, 232, 239, 242, 246, 252, 264, 265, 266, 267, 268, 269, 270, 271, 272, 274, 277, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 306, 309, 312, 327, 328, 329, 330, 331, 332, 339, 340, 342, 343, 344, 346], "x": [1, 2, 3, 4, 84, 109, 118, 148, 151, 162, 167, 171, 194, 195, 200, 205, 213, 215, 216, 217, 224, 225, 226, 227, 228, 229, 230, 231, 232, 252, 254, 255, 260, 262, 264, 273, 274, 275, 276, 277, 278, 279, 280, 281, 294, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 312, 314, 321, 339, 340, 341, 342, 343, 344, 346], "y": [1, 2, 3, 4, 200, 213, 217, 221, 225, 226, 227, 228, 254, 286, 291, 294, 314, 317, 339, 340, 342, 343], "scale": [1, 3, 76, 147, 148, 153, 221, 222, 251, 256, 257, 260, 264, 300, 316], "them": [1, 3, 213, 237, 248, 346], "both": [1, 10, 80, 81, 83, 107, 108, 116, 117, 118, 126, 133, 136, 138, 150, 184, 215, 216, 226, 229, 230, 264, 314, 339, 340, 344, 346], "some": [1, 2, 3, 4, 237, 248, 323, 339, 340, 342], "coeffici": [1, 315, 316, 318, 319, 320, 321], "alpha": [1, 147, 273, 295, 297, 300, 319, 326], "beta": [1, 76, 147, 217, 225, 226, 227, 294, 318, 319, 320, 321], "respect": [1, 2, 4, 106, 147, 196, 205, 213, 217, 224, 225, 226, 227, 312, 340, 344], "togeth": [1, 4, 147, 205], "get": [1, 2, 4, 6, 69, 70, 74, 75, 152, 213, 339, 340, 342, 346], "z": [1, 339, 342], "well": [1, 3, 213, 237, 248, 251, 342], "veri": [1, 3, 251, 342, 346], "easili": 1, "do": [1, 3, 6, 213, 238, 248, 309, 312, 319, 339, 340, 342], "just": [1, 4, 339, 341], "write": [1, 3, 213, 343], "out": [1, 6, 215, 216, 221, 222, 229, 230, 245, 339, 340, 341], "follow": [1, 3, 4, 5, 6, 14, 71, 76, 118, 147, 213, 275, 276, 288, 315, 316, 317, 318, 319, 320, 321, 327, 336, 339, 340, 346], "import": [1, 2, 3, 4, 6, 118, 167, 196, 204, 205, 206, 213, 215, 216, 217, 226, 229, 230, 239, 264, 282, 284, 291, 309, 312, 339, 340, 341, 342, 343, 344], "mx": [1, 2, 3, 4, 102, 118, 119, 121, 167, 196, 213, 215, 216, 217, 226, 229, 230, 232, 239, 243, 255, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 279, 282, 283, 284, 288, 291, 298, 307, 309, 312, 314, 336, 339, 340, 341, 342, 343, 344, 345, 346, 347], "def": [1, 2, 3, 4, 196, 213, 312, 339, 340, 341, 342, 343, 346], "simple_axpbi": 1, "float": [1, 12, 14, 56, 104, 105, 118, 148, 149, 153, 154, 157, 158, 209, 217, 220, 221, 222, 225, 226, 227, 232, 254, 256, 260, 262, 263, 264, 265, 266, 267, 268, 269, 271, 272, 283, 284, 285, 287, 291, 294, 295, 305, 306, 315, 316, 317, 318, 319, 320, 321, 326, 327, 328, 329, 331, 332], "return": [1, 2, 3, 4, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 32, 36, 49, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 76, 77, 78, 80, 81, 83, 84, 85, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 156, 157, 158, 159, 160, 161, 162, 163, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 213, 234, 236, 238, 240, 241, 242, 246, 253, 265, 266, 267, 268, 269, 270, 271, 272, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 309, 312, 322, 338, 339, 340, 341, 342, 343, 345, 346], "thi": [1, 3, 4, 6, 11, 12, 13, 14, 21, 22, 23, 24, 82, 115, 118, 119, 126, 130, 131, 132, 134, 135, 145, 146, 150, 170, 175, 176, 177, 185, 187, 197, 213, 220, 221, 222, 233, 234, 236, 237, 240, 241, 242, 246, 248, 249, 250, 251, 253, 262, 266, 267, 268, 269, 275, 276, 277, 290, 306, 312, 323, 338, 339, 340, 342, 343, 345], "perform": [1, 3, 5, 70, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 131, 148, 162, 175, 187, 213, 225, 263, 268, 269, 339, 341, 342, 346], "leav": [1, 86, 205], "differenti": [1, 5], "howev": [1, 213, 224, 225, 323, 336, 339, 342, 343], "vector": [1, 2, 5, 110, 115, 118, 187, 198, 199, 223, 284, 344], "math": [1, 3, 295, 339], "often": [1, 222], "realiz": 1, "axpbi": 1, "routin": 1, "defin": [1, 2, 3, 4, 6, 118, 148, 204, 343], "same": [1, 3, 6, 12, 59, 63, 66, 69, 70, 71, 96, 99, 100, 101, 106, 115, 144, 150, 162, 198, 200, 213, 216, 217, 220, 225, 226, 230, 253, 265, 266, 267, 268, 269, 270, 271, 272, 284, 295, 312, 322, 336, 339, 341, 346], "realli": 1, "part": [1, 340, 341], "doe": [1, 3, 6, 213, 339, 341, 342, 343], "fast": [1, 224, 276, 346], "so": [1, 3, 6, 106, 196, 220, 264, 314, 339, 342, 346], "decid": [1, 205, 236], "want": [1, 3, 340, 346], "reli": 1, "acceler": [1, 217], "framework": [1, 5], "continu": [1, 340], "impos": 1, "our": [1, 3, 4, 258, 315, 316, 317, 318, 320, 321], "assumpt": 1, "also": [1, 3, 4, 5, 6, 10, 79, 80, 81, 83, 92, 95, 98, 101, 107, 108, 116, 117, 126, 133, 136, 138, 147, 184, 203, 213, 236, 249, 251, 253, 259, 274, 300, 302, 308, 314, 339, 340, 341, 342, 343, 344, 347], "assum": [1, 3, 119, 205, 213, 215, 216, 225, 229, 230], "how": [1, 3, 4, 213, 215, 216, 218, 219, 223, 229, 230, 264, 322, 339, 341, 346], "gradient": [1, 2, 4, 106, 182, 196, 203, 213, 237, 249, 253, 263, 290, 312, 314, 315, 316, 318, 319, 320, 321, 322, 325, 327, 339, 340, 341, 342, 343, 344], "ins": 1, "what": [1, 3, 205], "coincid": 1, "right": [1, 6, 147, 215, 216, 224, 229, 230, 264, 275, 276, 285, 287, 295], "place": [1, 3, 162, 342, 343], "cours": [1, 340], "The": [1, 3, 4, 5, 6, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 32, 34, 43, 49, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 76, 77, 78, 80, 81, 83, 84, 85, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 156, 157, 158, 159, 160, 161, 165, 166, 171, 172, 173, 174, 175, 176, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 209, 215, 216, 217, 218, 219, 220, 221, 222, 223, 225, 226, 227, 228, 229, 230, 233, 239, 243, 244, 249, 250, 251, 253, 254, 256, 258, 260, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 277, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 306, 309, 312, 314, 315, 316, 317, 318, 319, 320, 321, 324, 326, 327, 328, 331, 334, 339, 340, 341, 342, 343, 344, 345, 346, 347], "structur": [1, 322, 340], "from": [1, 3, 4, 5, 76, 78, 97, 98, 100, 101, 105, 118, 121, 131, 142, 147, 149, 150, 151, 152, 154, 157, 167, 180, 182, 184, 187, 188, 200, 202, 204, 205, 206, 213, 228, 237, 239, 251, 266, 267, 268, 269, 271, 272, 285, 294, 309, 338, 339, 340, 342, 343, 344, 345, 346], "frontend": 1, "api": [1, 340], "redirect": 1, "when": [1, 3, 5, 6, 66, 70, 118, 121, 218, 219, 264, 268, 269, 288, 294, 312, 330, 336, 339, 346], "appropri": [1, 339], "fallback": 1, "metal": 1, "vjp": [1, 344], "jvp": [1, 344], "In": [1, 3, 4, 131, 147, 205, 213, 221, 225, 312, 315, 317, 318, 320, 321, 322, 338, 339, 340, 342, 345, 346], "one": [1, 3, 6, 56, 60, 65, 69, 70, 88, 89, 118, 124, 131, 148, 150, 180, 184, 248, 264, 284, 346], "sentenc": 1, "comput": [1, 2, 3, 4, 5, 6, 76, 106, 115, 118, 126, 134, 143, 147, 175, 182, 191, 196, 197, 198, 203, 213, 217, 225, 226, 227, 237, 249, 253, 254, 256, 263, 266, 267, 268, 269, 275, 276, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 314, 315, 316, 318, 319, 320, 321, 325, 339, 340, 344, 346], "graph": [1, 3, 4, 5, 340], "rule": 1, "evalu": [1, 3, 4, 5, 86, 115, 198, 213, 235, 245, 312, 314, 339, 344], "said": [1, 3], "start": [1, 2, 3, 5, 6, 14, 120, 177, 339, 341, 346], "discuss": 1, "more": [1, 4, 8, 56, 78, 131, 165, 166, 213, 217, 221, 256, 260, 263, 264, 266, 267, 268, 269, 336, 339, 340, 341, 344, 346], "detail": [1, 8, 213, 221, 256, 260, 264, 266, 267, 268, 269, 315, 317, 318, 320, 321, 341, 344], "thei": [1, 2, 3, 12, 71, 258, 286, 312, 321, 338, 339, 342, 344, 345, 346], "c": [1, 3, 118, 209, 215, 216, 217, 218, 219, 221, 222, 226, 229, 230, 343, 344, 346], "scalar": [1, 10, 12, 25, 36, 56, 59, 63, 65, 80, 81, 83, 104, 105, 106, 107, 108, 116, 117, 118, 120, 126, 127, 128, 129, 131, 133, 136, 138, 144, 154, 157, 158, 165, 184, 196, 200, 203, 295, 340, 342, 344], "sum": [1, 2, 10, 110, 118, 130, 175, 191, 213, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 341, 343], "element": [1, 9, 10, 15, 16, 17, 18, 19, 20, 23, 51, 64, 72, 73, 76, 80, 81, 83, 84, 85, 87, 89, 103, 104, 107, 108, 111, 112, 113, 114, 116, 117, 122, 123, 124, 125, 126, 127, 128, 129, 133, 136, 138, 139, 145, 147, 148, 159, 160, 163, 171, 172, 173, 174, 178, 179, 184, 187, 189, 190, 196, 200, 220, 221, 222, 231, 252, 256, 278, 280, 281, 296, 297, 299, 302, 303, 304, 339, 340], "wise": [1, 9, 10, 15, 16, 17, 18, 19, 20, 64, 72, 73, 80, 81, 83, 84, 85, 87, 103, 104, 107, 108, 116, 117, 122, 123, 124, 125, 126, 127, 128, 129, 133, 136, 138, 139, 159, 163, 171, 172, 173, 174, 178, 179, 184, 189, 190, 221, 222, 231, 252, 278, 280, 281, 296, 297, 299, 302, 303, 304, 339], "numpi": [1, 3, 4, 5, 10, 12, 14, 63, 80, 81, 83, 107, 108, 116, 117, 126, 131, 133, 136, 138, 184, 342, 344, 345], "style": [1, 10, 12, 80, 81, 83, 107, 108, 116, 117, 126, 131, 133, 136, 138, 184], "broadcast": [1, 10, 12, 63, 65, 80, 81, 83, 105, 107, 108, 116, 117, 126, 131, 133, 136, 138, 149, 150, 157, 158, 184, 188, 200, 251], "between": [1, 5, 65, 102, 263, 283, 286, 287, 290, 330, 342, 346], "input": [1, 2, 3, 9, 10, 11, 12, 13, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 77, 78, 80, 81, 83, 84, 85, 87, 88, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 106, 107, 108, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 142, 143, 144, 145, 146, 147, 148, 156, 159, 160, 161, 162, 163, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 184, 185, 186, 187, 188, 189, 190, 191, 192, 194, 195, 196, 197, 199, 200, 202, 215, 216, 217, 218, 219, 221, 222, 223, 225, 226, 227, 228, 229, 230, 251, 253, 254, 256, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 277, 282, 283, 285, 286, 287, 288, 290, 291, 293, 295, 306, 309, 339, 340, 341, 344, 345], "upcast": 1, "const": [1, 285], "factor": [1, 119, 264, 284, 329, 332], "streamordevic": 1, "stream": [1, 5, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 27, 28, 29, 30, 31, 32, 33, 35, 37, 38, 39, 40, 41, 42, 44, 45, 46, 47, 48, 50, 52, 53, 54, 55, 57, 58, 59, 60, 61, 62, 63, 64, 65, 67, 68, 69, 70, 71, 72, 73, 75, 76, 77, 78, 80, 81, 83, 84, 85, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 107, 108, 109, 110, 111, 112, 113, 114, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 153, 154, 156, 157, 158, 159, 160, 161, 162, 163, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 197, 200, 201, 202, 346], "schedul": [1, 314, 328, 329, 330, 331, 332, 334, 346], "itself": [1, 323], "call": [1, 3, 4, 26, 104, 213, 223, 237, 248, 258, 312, 314, 323, 339, 340, 342], "other": [1, 3, 5, 118, 213, 238, 312, 321, 339, 341, 342, 344], "within": [1, 23], "simplest": [1, 213], "wai": [1, 3, 6, 213, 264, 339, 340, 341], "about": [1, 3, 4, 342, 346], "term": [1, 285, 315, 316, 317, 318, 319, 320, 326], "exist": [1, 3, 237, 248], "auto": [1, 6], "ax": [1, 11, 13, 21, 22, 57, 88, 91, 92, 94, 95, 97, 98, 100, 101, 102, 110, 118, 130, 132, 134, 135, 144, 146, 175, 180, 185, 186, 191, 192, 197, 340], "multipli": [1, 147, 148, 220, 260, 264], "earlier": 1, "goal": 1, "themselv": [1, 339], "contain": [1, 3, 23, 24, 49, 66, 78, 96, 97, 98, 118, 127, 128, 129, 147, 177, 200, 213, 236, 238, 239, 244, 263, 291, 309, 312, 339, 340], "act": [1, 290], "data": [1, 4, 5, 8, 14, 89, 99, 100, 105, 109, 120, 141, 157, 193, 201, 222, 265, 266, 267, 268, 269, 270, 271, 272, 339, 341, 343], "nor": [1, 106, 196], "rather": [1, 340, 346], "easi": [1, 213], "interfac": 1, "block": [1, 3, 263], "A": [1, 3, 5, 6, 7, 49, 59, 66, 106, 115, 118, 119, 121, 130, 131, 147, 149, 150, 151, 153, 154, 157, 158, 177, 181, 183, 196, 198, 199, 203, 204, 205, 206, 207, 213, 217, 221, 225, 226, 227, 236, 240, 241, 249, 250, 254, 258, 260, 263, 266, 267, 269, 276, 295, 296, 312, 314, 318, 320, 322, 323, 325, 330, 339, 340, 342, 343], "It": [1, 3, 6, 106, 170, 196, 213, 250, 253, 322, 334, 343, 345], "creat": [1, 3, 6, 89, 109, 183, 213, 312, 314, 330, 339, 341, 343], "output": [1, 3, 6, 11, 12, 13, 14, 23, 63, 66, 89, 96, 99, 100, 101, 105, 106, 109, 118, 120, 130, 132, 134, 135, 141, 142, 145, 146, 149, 150, 151, 153, 154, 157, 158, 167, 168, 175, 180, 185, 188, 193, 196, 197, 198, 199, 200, 201, 202, 215, 216, 217, 218, 219, 226, 228, 229, 230, 251, 253, 262, 263, 264, 266, 267, 268, 269, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 306, 309, 339, 340, 341, 342, 343, 344, 345, 346], "given": [1, 11, 13, 23, 63, 65, 67, 76, 78, 86, 88, 90, 91, 92, 93, 94, 95, 99, 100, 101, 105, 118, 130, 132, 134, 135, 140, 146, 154, 162, 170, 175, 177, 185, 193, 194, 195, 197, 207, 215, 216, 220, 229, 230, 236, 251, 283, 285, 291], "set": [1, 3, 4, 6, 66, 79, 82, 169, 170, 183, 224, 228, 235, 237, 244, 245, 248, 249, 253, 256, 262, 283, 295, 306, 312, 316, 323, 336, 340, 342], "further": [1, 6, 340], "class": [1, 3, 4, 7, 8, 25, 207, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 284, 312, 315, 316, 317, 318, 319, 320, 321, 326, 327, 334], "under": [1, 118], "These": [1, 66, 188, 284, 346], "word": 1, "bit": [1, 76, 147, 148, 209, 232, 253], "abstract": 1, "back": [1, 3, 343], "give": [1, 3, 4, 23, 339], "ourselv": 1, "concret": [1, 228, 342, 346], "imag": [1, 219, 221, 222, 264], "public": [1, 213], "explicit": [1, 323, 336, 343], "alpha_": 1, "beta_": 1, "must": [1, 6, 65, 105, 118, 149, 150, 154, 157, 158, 200, 264, 343], "know": [1, 3], "popul": 1, "To": [1, 2, 3, 4, 6, 213, 309, 339, 340, 344], "avoid": [1, 339], "unnecessari": [1, 3], "alloc": [1, 312], "respons": 1, "space": [1, 120, 293], "void": 1, "eval_cpu": 1, "std": [1, 271], "overrid": [1, 82], "eval_gpu": 1, "jacobian": [1, 115, 198, 344], "product": [1, 110, 115, 131, 143, 146, 191, 198, 251, 344], "primal": [1, 115, 198], "tangent": [1, 19, 20, 115, 189, 190, 307], "int": [1, 3, 4, 7, 11, 13, 14, 21, 22, 23, 24, 28, 29, 30, 31, 39, 40, 41, 42, 44, 47, 49, 52, 55, 56, 58, 63, 67, 68, 69, 70, 76, 77, 78, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 105, 106, 109, 118, 120, 130, 132, 134, 135, 137, 141, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 160, 161, 162, 175, 176, 177, 180, 181, 185, 186, 187, 188, 191, 192, 193, 194, 195, 196, 197, 199, 201, 207, 213, 215, 216, 217, 218, 219, 223, 225, 226, 227, 228, 229, 230, 251, 253, 254, 256, 260, 263, 277, 283, 284, 288, 293, 295, 312, 328, 330, 331, 332], "argnum": [1, 106, 196, 340], "cotan": 1, "across": [1, 225], "pair": [1, 144, 239, 256], "repres": [1, 3, 291, 295, 343], "axi": [1, 3, 4, 11, 13, 21, 22, 23, 24, 28, 29, 30, 31, 39, 40, 41, 42, 44, 52, 55, 58, 67, 78, 88, 90, 93, 96, 97, 98, 99, 100, 101, 102, 118, 130, 132, 134, 135, 137, 144, 145, 146, 150, 160, 175, 176, 177, 180, 181, 185, 186, 187, 188, 192, 197, 199, 215, 216, 229, 230, 277, 281, 283, 284, 288, 293, 295, 303, 341], "correspond": [1, 11, 13, 56, 65, 76, 78, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 130, 132, 135, 146, 185, 191, 199, 205, 340], "dimens": [1, 3, 11, 13, 21, 22, 43, 49, 56, 60, 61, 62, 66, 69, 70, 78, 88, 97, 98, 100, 101, 102, 110, 118, 119, 130, 131, 132, 134, 135, 146, 147, 150, 156, 185, 188, 191, 192, 197, 217, 218, 219, 221, 222, 225, 226, 227, 251, 254, 256, 263, 264, 277, 284, 339, 340], "vmap": [1, 340, 342, 344], "print": [1, 2, 3, 4, 6, 204, 205, 206, 213, 336, 339, 340, 341, 342, 343, 344], "ostream": 1, "os": [1, 6], "equival": [1, 26, 46, 57, 81, 104, 187, 224, 250, 252, 253, 255, 257, 259, 261], "check": [1, 6, 59, 239, 340, 341], "bool": [1, 11, 12, 13, 21, 22, 28, 29, 30, 31, 39, 40, 41, 42, 44, 55, 56, 58, 59, 66, 70, 118, 121, 130, 132, 134, 135, 146, 148, 149, 154, 157, 158, 185, 197, 217, 218, 219, 225, 226, 227, 228, 232, 236, 237, 239, 245, 248, 251, 253, 256, 260, 263, 264, 282, 285, 316, 327], "is_equival": 1, "privat": 1, "fall": 1, "eval": [1, 2, 3, 4, 213, 312, 314, 339, 340, 342, 344], "deriv": [1, 340, 342], "base": [1, 118, 123, 125, 256, 263, 312, 314, 320, 334, 336, 339, 341], "abov": [1, 3, 6, 147, 194, 213, 264, 319, 340, 341, 342, 346], "demonstr": [1, 343], "treat": [1, 97, 98, 100, 101, 187, 264, 339], "paramet": [1, 2, 3, 4, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 32, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 76, 77, 78, 80, 81, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 232, 233, 236, 237, 239, 244, 245, 248, 249, 250, 251, 252, 253, 254, 256, 258, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 277, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 306, 308, 309, 312, 314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 325, 326, 327, 328, 329, 330, 331, 332, 334, 339, 340, 342], "produc": [1, 66, 251, 309], "through": [1, 182, 263, 321, 339, 340, 343], "construct": [1, 4, 77, 105, 141, 201], "its": [1, 6, 131, 145, 156, 193, 203, 206, 213, 253, 318, 319, 320, 343, 346], "type": [1, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 32, 49, 56, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 76, 77, 78, 80, 81, 83, 84, 85, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 156, 157, 158, 159, 160, 161, 162, 163, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 204, 213, 263, 265, 266, 267, 268, 269, 270, 271, 272, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 339, 341], "shape": [1, 3, 4, 46, 59, 63, 66, 68, 69, 70, 78, 90, 93, 96, 99, 100, 101, 105, 115, 131, 141, 142, 149, 150, 151, 153, 154, 157, 158, 161, 188, 198, 200, 201, 202, 213, 215, 216, 217, 218, 219, 221, 222, 226, 228, 229, 230, 239, 265, 266, 267, 268, 269, 270, 271, 272, 284, 295, 314, 339, 340, 341, 344, 346], "pass": [1, 3, 4, 46, 57, 143, 144, 196, 203, 204, 205, 213, 237, 248, 249, 250, 253, 258, 339, 342], "re": [1, 4, 6, 309], "now": [1, 3, 6, 253, 339, 343], "promot": 1, "dtype": [1, 3, 14, 25, 32, 56, 89, 102, 105, 109, 118, 119, 120, 141, 151, 153, 154, 157, 158, 193, 201, 209, 264, 265, 266, 267, 268, 269, 270, 271, 272, 282, 284, 291, 328, 329, 330, 331, 332, 339, 340, 341, 343, 344, 345], "promoted_dtyp": 1, "promote_typ": 1, "float32": [1, 14, 89, 109, 118, 119, 120, 141, 151, 153, 157, 158, 193, 201, 209, 264, 265, 266, 267, 268, 269, 270, 271, 272, 282, 284, 291, 328, 329, 330, 331, 332, 339, 340, 341, 342, 343, 344, 345], "non": [1, 6, 246, 296, 312], "point": [1, 2, 3, 6, 104, 148, 209], "out_dtyp": 1, "is_floating_point": 1, "cast": [1, 32, 99, 100, 101, 121, 232, 343], "up": [1, 3, 253, 339], "determin": [1, 78, 243, 345], "x_cast": 1, "astyp": [1, 3, 232, 343], "y_cast": 1, "broadcasted_input": 1, "broadcast_arrai": 1, "out_shap": 1, "0": [1, 2, 3, 4, 6, 7, 14, 47, 52, 58, 67, 68, 69, 70, 77, 78, 89, 102, 106, 118, 119, 144, 149, 153, 158, 160, 162, 177, 181, 193, 194, 195, 196, 197, 199, 204, 213, 215, 216, 217, 218, 219, 220, 221, 222, 224, 225, 226, 227, 229, 230, 252, 255, 256, 260, 261, 262, 263, 265, 266, 267, 268, 269, 270, 271, 272, 273, 275, 276, 278, 279, 282, 284, 286, 287, 291, 294, 295, 297, 298, 299, 300, 305, 306, 309, 312, 315, 316, 318, 319, 320, 321, 323, 326, 327, 328, 329, 330, 331, 332, 336, 339, 340, 341, 342, 343, 344, 345], "unique_ptr": 1, "make_uniqu": 1, "to_stream": 1, "handl": [1, 213, 339], "resolv": 1, "No": [1, 3], "happen": [1, 3, 263, 314, 339, 342], "alon": [1, 343], "effect": [1, 221, 339, 342], "onli": [1, 3, 5, 6, 59, 68, 69, 70, 118, 147, 209, 213, 236, 237, 239, 245, 248, 249, 250, 312, 339, 340, 345, 346], "execut": [1, 6, 60, 61, 62, 343, 346], "depend": [1, 2, 56, 118, 341, 345, 346], "devic": [1, 5, 6, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 27, 28, 29, 30, 31, 32, 33, 35, 37, 38, 39, 40, 41, 42, 44, 45, 46, 47, 48, 50, 52, 53, 54, 55, 57, 58, 59, 60, 61, 62, 63, 64, 65, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 80, 81, 83, 84, 85, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 107, 108, 109, 110, 111, 112, 113, 114, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 153, 154, 156, 157, 158, 159, 160, 161, 162, 163, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 197, 200, 201, 202, 207, 346, 347], "specifi": [1, 14, 32, 69, 70, 78, 97, 98, 105, 106, 118, 120, 137, 141, 150, 160, 186, 187, 188, 191, 192, 196, 199, 201, 217, 262, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 306, 340, 346], "memori": [1, 5, 263, 312, 316, 339, 342, 343], "ha": [1, 3, 4, 5, 56, 66, 78, 96, 97, 99, 100, 101, 106, 150, 217, 228, 312, 314, 339, 341, 342, 344, 346], "been": [1, 3, 342], "try": [1, 6], "naiv": [1, 340], "gener": [1, 2, 14, 70, 89, 97, 98, 120, 149, 153, 154, 157, 158, 263, 336, 339, 341, 342, 347], "version": [1, 6, 76, 126, 130, 147, 175, 199, 336, 340, 341], "declar": 1, "member": [1, 213, 242, 246], "method": [1, 3, 7, 8, 25, 207, 213, 243, 263, 312, 315, 316, 317, 318, 319, 320, 321, 323, 326, 327, 334], "each": [1, 49, 76, 86, 131, 144, 147, 148, 150, 160, 167, 168, 177, 192, 199, 200, 221, 222, 223, 225, 256, 263, 282, 284, 336, 339, 342], "find": [1, 2, 6], "pointwis": 1, "captur": [1, 66, 213, 339], "templat": 1, "axpby_impl": 1, "typenam": 1, "t": [1, 3, 84, 148, 196, 213, 215, 229, 315, 316, 317, 318, 319, 320, 321, 326, 327, 339, 340, 346], "readi": 1, "fill": [1, 105, 142, 193, 202, 265, 266, 267, 268, 269, 271, 272], "malloc_or_wait": 1, "synchron": [1, 339], "avail": [1, 2, 3, 4, 6, 8, 209, 346], "There": [1, 213, 264, 339], "wait": [1, 3], "here": [1, 3, 339, 340, 342, 345, 346], "request": 1, "pressur": 1, "condit": [1, 200, 346], "set_data": 1, "nbyte": 1, "collect": [1, 205, 338], "pointer": 1, "x_ptr": 1, "y_ptr": 1, "out_ptr": 1, "relev": 1, "static_cast": 1, "size_t": 1, "out_idx": 1, "size": [1, 3, 4, 49, 69, 76, 88, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 105, 109, 118, 147, 148, 150, 161, 177, 180, 213, 215, 216, 218, 219, 223, 226, 229, 230, 253, 264, 316, 342, 343], "map": [1, 4, 121, 205, 223, 232], "linear": [1, 3, 4, 5, 205, 213, 224, 239, 253, 255, 257, 259, 264, 273, 274, 275, 276, 277, 279, 298, 299, 300, 302, 309, 312, 323, 331, 339], "indic": [1, 12, 21, 22, 23, 24, 106, 111, 112, 113, 114, 177, 187, 188, 196, 245, 247, 284, 291, 330, 341], "offset": [1, 3, 78], "x_offset": 1, "elem_to_loc": 1, "stride": [1, 68, 69, 70, 215, 216, 218, 219, 229, 230, 256, 341], "y_offset": 1, "contigu": 1, "regularli": 1, "default": [1, 6, 11, 12, 13, 14, 21, 22, 23, 24, 59, 66, 67, 68, 69, 70, 74, 75, 76, 77, 78, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 106, 109, 118, 119, 120, 121, 130, 132, 134, 135, 141, 145, 146, 147, 148, 149, 150, 151, 153, 154, 156, 157, 158, 160, 161, 162, 169, 170, 176, 177, 180, 181, 183, 185, 191, 192, 193, 194, 195, 196, 197, 199, 201, 209, 215, 216, 217, 218, 219, 226, 228, 229, 230, 232, 237, 239, 245, 248, 251, 252, 253, 256, 260, 261, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 277, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 312, 315, 316, 317, 318, 319, 320, 321, 326, 327, 336, 338, 339, 340, 343, 345, 347], "row": [1, 89, 109, 147, 193], "major": 1, "henc": [1, 147, 339], "doesn": [1, 213], "addit": [1, 3, 10, 121, 217, 225, 227, 251, 254, 312, 340], "abl": [1, 147], "all": [1, 4, 6, 12, 23, 60, 61, 62, 66, 69, 70, 89, 92, 95, 98, 101, 131, 144, 145, 180, 213, 232, 233, 237, 240, 241, 242, 246, 248, 251, 253, 260, 263, 264, 309, 312, 334, 336, 339, 341, 342, 344, 347], "incom": 1, "accordingli": 1, "dispatch": 1, "float16": [1, 121, 209, 232, 342, 343], "bfloat16": [1, 343], "complex64": 1, "throw": [1, 66], "error": [1, 6, 84, 85, 177, 224, 253, 274, 275, 276, 290, 292, 340, 343], "encount": [1, 340], "unexpect": [1, 14], "regist": [1, 4], "op": [1, 143, 237, 342], "assert": 1, "2": [1, 2, 3, 4, 69, 77, 78, 84, 91, 94, 96, 97, 98, 99, 100, 101, 102, 118, 119, 125, 131, 147, 156, 191, 193, 194, 195, 209, 213, 215, 216, 219, 224, 229, 230, 254, 260, 264, 265, 266, 267, 268, 269, 270, 271, 272, 275, 284, 285, 287, 294, 295, 309, 312, 315, 317, 318, 319, 323, 326, 339, 340, 341, 342, 343, 344, 345, 346], "1": [1, 3, 4, 14, 23, 24, 68, 69, 70, 77, 78, 90, 91, 93, 94, 96, 97, 98, 99, 100, 101, 102, 110, 118, 119, 131, 143, 145, 147, 150, 153, 158, 171, 176, 187, 196, 209, 213, 215, 216, 217, 218, 219, 220, 221, 222, 224, 225, 226, 227, 228, 229, 230, 252, 254, 256, 260, 262, 264, 266, 267, 268, 269, 270, 271, 272, 273, 275, 276, 277, 280, 281, 282, 283, 284, 285, 286, 287, 288, 290, 291, 293, 294, 295, 300, 301, 303, 304, 306, 309, 312, 314, 315, 316, 317, 318, 319, 320, 321, 323, 326, 327, 328, 329, 330, 331, 332, 339, 340, 341, 343, 344, 345, 346], "correct": [1, 6, 318, 319, 320, 341, 342], "els": [1, 3, 213, 237, 342], "float16_t": 1, "bfloat16_t": 1, "complex64_t": 1, "runtime_error": 1, "support": [1, 3, 5, 6, 12, 68, 69, 70, 102, 119, 121, 131, 147, 340, 341, 343, 345], "have": [1, 3, 6, 12, 59, 60, 61, 62, 97, 98, 100, 101, 131, 150, 204, 251, 258, 321, 323, 338, 339, 341, 342, 346], "rememb": 1, "3": [1, 3, 6, 102, 118, 119, 264, 267, 269, 278, 316, 321, 336, 339, 341, 343, 344], "complic": 1, "keep": [1, 11, 13, 21, 22, 130, 132, 134, 135, 146, 185, 197, 213, 236, 340, 342], "mind": [1, 3], "half": [1, 14, 154, 158, 256, 342], "precis": [1, 3, 213, 224, 322, 339], "direct": [1, 3, 234, 321, 346], "fix": [1, 3, 6, 342], "possibl": [1, 3, 131, 177, 223, 339, 341, 346], "due": 1, "transpos": [1, 3, 26, 148], "aren": 1, "guarante": 1, "fit": [1, 147, 346], "requir": [1, 3, 213, 342, 343], "column": [1, 89, 109, 147], "inplac": 1, "expect": [1, 3, 218, 219, 220, 221, 222, 260, 263, 285, 339, 341], "answer": 1, "copi": [1, 3, 5, 145, 176, 343], "simpli": [1, 3, 6, 255, 273, 279, 298, 307, 312, 339, 340], "catlas_saxpbi": 1, "axpby_impl_acceler": 1, "first": [1, 2, 3, 4, 6, 78, 102, 106, 127, 129, 131, 145, 156, 186, 191, 196, 204, 213, 216, 225, 230, 264, 283, 291, 316, 318, 319, 320, 323, 339, 340, 343, 346], "mode": [1, 71, 235, 245, 247, 264, 268, 269], "i": [1, 3, 115, 118, 213, 218, 219, 221, 222, 237, 290, 319, 330, 339, 340], "e": [1, 4, 6, 84, 115, 171, 217, 218, 219, 221, 222, 225, 226, 227, 237, 254, 280, 281, 303, 308, 314, 317, 339, 342, 347], "match": [1, 6, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 239, 264, 284, 341, 343], "transposit": 1, "data_s": 1, "items": 1, "flag": [1, 339, 343], "copy_inplac": 1, "copytyp": 1, "n": [1, 3, 25, 68, 69, 70, 89, 90, 92, 93, 95, 96, 99, 101, 109, 193, 197, 215, 216, 217, 218, 219, 221, 222, 229, 230, 264, 290, 295], "incx": 1, "inci": 1, "great": 1, "But": [1, 346], "criteria": 1, "luckili": [1, 342], "alwai": [1, 204, 340], "With": 1, "final": [1, 2, 3, 4, 331], "singl": [1, 4, 86, 115, 121, 144, 198, 216, 230, 339, 341, 345], "row_contigu": 1, "col_contigu": 1, "common": [1, 314, 339, 342], "hit": 1, "mileston": 1, "enough": [1, 342], "run": [1, 3, 4, 5, 6, 7, 143, 207, 217, 232, 315, 316, 318, 319, 320, 339, 342, 346, 347], "If": [1, 3, 6, 11, 12, 13, 14, 21, 22, 23, 24, 56, 59, 65, 67, 71, 77, 78, 86, 99, 100, 101, 104, 105, 106, 118, 121, 130, 131, 132, 134, 135, 141, 144, 145, 146, 150, 160, 175, 176, 177, 185, 187, 188, 191, 196, 197, 199, 201, 205, 217, 218, 219, 225, 227, 228, 237, 239, 248, 253, 256, 258, 260, 264, 282, 284, 295, 316, 339, 340, 342, 345, 346, 347], "plan": [1, 339], "stop": [1, 3, 14, 120, 182, 340, 341], "enjoi": 1, "speed": 1, "appl": [1, 3, 5, 6, 346], "silicon": [1, 3, 5, 6, 346], "address": 1, "shade": 1, "languag": [1, 209], "kernel": [1, 68, 69, 70, 215, 229, 339, 341], "written": 1, "help": [1, 3, 339, 346], "resourc": 1, "walkthrough": 1, "pipelin": 1, "specif": [1, 6, 340], "cpp": 1, "algorithm": [1, 264, 321], "launch": [1, 341], "exactli": [1, 3, 239, 340], "mani": [1, 177, 218, 219, 223, 339, 342], "thread": 1, "pick": 1, "updat": [1, 2, 3, 4, 66, 205, 217, 232, 239, 244, 250, 314, 316, 319, 321, 322, 323, 327, 328, 329, 330, 331, 332, 339, 342], "assign": [1, 312], "axpby_gener": 1, "buffer": [1, 343], "constant": [1, 3, 6, 144, 213, 217, 225, 227, 254, 285, 295, 326, 328, 339, 343], "4": [1, 3, 76, 102, 118, 147, 148, 167, 209, 215, 216, 217, 226, 229, 230, 253, 263, 264, 266, 267, 268, 282, 339, 341, 344, 346], "5": [1, 2, 3, 6, 118, 149, 215, 217, 220, 221, 222, 226, 229, 261, 264, 265, 268, 269, 294, 305, 309, 326, 328, 329, 339, 340, 341], "x_stride": 1, "6": [1, 3, 118, 167, 263, 267, 275, 276, 278, 285, 295, 299, 326, 339, 341, 344], "y_stride": 1, "7": [1, 3, 118, 147, 341], "ndim": [1, 102, 118, 264], "8": [1, 3, 6, 118, 147, 209, 216, 226, 230, 263, 283, 315, 316, 317, 318, 319, 320, 326, 339, 341, 344, 346], "uint": 1, "index": [1, 5, 7, 23, 88, 89, 106, 145, 187, 188, 196, 207], "thread_position_in_grid": 1, "convert": [1, 56, 60, 61, 62, 102, 253, 342, 343, 344], "instanti": [1, 4, 342], "uniqu": [1, 336], "host": 1, "name": [1, 121, 147, 148, 165, 166, 167, 168, 213, 225, 236, 239, 241, 341, 345], "identifi": [1, 204, 338], "instantiate_axpbi": 1, "type_nam": 1, "host_nam": 1, "axpby_general_": 1, "compil": [1, 5, 6, 79, 82, 340, 342], "mlx_ext": 1, "metallib": [1, 6], "see": [1, 3, 4, 6, 8, 27, 28, 29, 30, 31, 33, 35, 37, 38, 39, 40, 41, 42, 44, 45, 46, 47, 48, 50, 52, 53, 54, 55, 57, 58, 118, 165, 166, 213, 217, 221, 224, 235, 252, 253, 255, 256, 257, 259, 260, 261, 264, 266, 267, 268, 269, 274, 275, 276, 300, 339, 340, 341, 344, 346], "later": [1, 6], "co": [1, 260, 340], "locat": [1, 249, 250, 346], "share": [1, 5, 76, 147, 148], "register_librari": 1, "potenti": 1, "path": [1, 6, 167, 168, 239], "tri": 1, "load": [1, 4, 5, 239], "hasn": 1, "alreadi": [1, 3], "static": [1, 6], "object": [1, 8, 25, 36, 56, 149, 154, 157, 158, 199, 204, 205, 221, 263, 338], "why": [1, 3], "packag": [1, 2, 4, 309], "process": [1, 3, 70, 71, 205, 222, 223, 263, 338], "logic": [1, 127, 128, 129], "grid": 1, "shown": 1, "below": [1, 6, 118, 193, 195, 209, 264, 342], "prepar": [1, 3], "carri": 1, "should": [1, 2, 3, 4, 6, 78, 115, 147, 188, 196, 198, 204, 213, 218, 219, 221, 222, 245, 251, 258, 284, 286, 291, 312, 338, 339, 340, 342, 343, 347], "d": [1, 3, 77, 78, 110, 118, 131, 143, 187, 193, 194, 195, 206, 222, 315, 318, 320, 346], "ostringstream": 1, "kname": 1, "axpby_": 1, "general_": 1, "type_to_nam": 1, "make": [1, 3, 4, 6, 131, 140, 170, 213, 328, 329, 331, 332, 339, 342, 344, 346], "sure": [1, 3, 6, 213, 339], "look": [1, 3], "folder": 1, "get_colocated_mtllib_path": 1, "get_kernel": 1, "str": [1, 71, 106, 118, 121, 164, 165, 166, 167, 168, 196, 204, 206, 232, 233, 236, 237, 239, 241, 243, 248, 264, 268, 269, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295], "encod": [1, 256, 260, 263, 284], "compute_encod": 1, "get_command_encod": 1, "setcomputepipelinest": 1, "those": [1, 3, 213], "nelem": 1, "set_array_buff": 1, "setbyt": 1, "sizeof": 1, "threadgroup": 1, "higher": [1, 110, 291, 340], "than": [1, 3, 56, 71, 78, 81, 107, 108, 116, 117, 131, 205, 256, 262, 264, 291, 294, 306, 316, 321, 339, 340, 346], "max": [1, 118, 133, 229, 230, 252, 278, 283, 285, 286, 291, 295, 297, 299, 316, 320, 339, 340, 346], "allow": [1, 213, 250, 312, 334, 341, 344], "tgp_size": 1, "min": [1, 118, 136, 252, 278, 297, 299], "maxtotalthreadsperthreadgroup": 1, "3d": [1, 217, 222, 264], "mtl": 1, "group_dim": 1, "grid_dim": 1, "divid": [1, 104, 147], "among": 1, "dispatchthread": 1, "few": [1, 3, 4, 5, 342, 344], "thing": [1, 3], "note": [1, 3, 6, 12, 66, 68, 69, 97, 98, 118, 147, 150, 213, 264, 343, 345], "befor": [1, 3, 6, 23, 145, 236, 263, 323, 341, 342], "move": [1, 137, 346], "track": [1, 213, 217], "activ": [1, 6, 221, 262, 263, 296, 305, 306, 308, 339], "command": [1, 6], "instead": [1, 6, 213, 250, 260, 340, 342], "end_encod": 1, "end": [1, 78, 147, 216, 230, 262, 287, 294, 300, 305, 306, 331], "until": [1, 342, 344], "limit": [1, 65, 341], "flush": 1, "enqueu": 1, "commit": 1, "associ": [1, 167, 168, 342], "suggest": 1, "deeper": 1, "dive": 1, "studi": 1, "come": [1, 3, 340], "far": [1, 314], "built": [1, 6, 263, 342], "includ": [1, 233, 244, 253, 285, 339, 340, 341, 344, 345, 347], "forward": [1, 196, 339, 342], "diff": 1, "push": 1, "along": [1, 21, 22, 66, 67, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 118, 160, 175, 177, 181, 187, 188, 191, 213, 277], "similarli": [1, 6, 131, 340, 342], "scale_arr": 1, "contribut": 1, "tangent_x": 1, "tangent_i": 1, "revers": [1, 192, 260], "arg": [1, 3, 8, 46, 57, 86, 167, 168], "push_back": 1, "fulli": [1, 5, 339, 343, 346], "overal": 1, "directori": [1, 3, 6], "extens": [1, 121, 209, 243, 345], "h": [1, 68, 69, 118, 216, 217, 219, 221, 222, 230, 340, 342], "mlx_sample_extens": 1, "__init__": [1, 3, 4, 7, 8, 25, 207, 213, 312], "py": [1, 3, 6], "cmakelist": 1, "txt": 1, "setup": [1, 2, 4, 6, 339], "hold": [1, 3, 8, 118, 339], "instal": 1, "pybind11": [1, 6], "sinc": [1, 3, 4, 312, 321, 330, 343, 346], "compon": [1, 3], "etc": [1, 147, 213, 264], "pybind11_modul": 1, "m": [1, 6, 89, 118, 193, 215, 216, 229, 230, 315], "doc": [1, 4], "sampl": [1, 2, 3, 120, 149, 150, 151, 154, 157, 158, 266, 267, 268, 269, 271, 272, 285, 291, 295, 336, 339], "_a": 1, "pos_onli": 1, "kw_onli": 1, "none": [1, 3, 7, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 27, 28, 29, 30, 31, 32, 33, 35, 37, 38, 39, 40, 41, 42, 44, 45, 46, 47, 48, 50, 52, 53, 54, 55, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 166, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 199, 200, 201, 202, 204, 205, 207, 215, 216, 224, 229, 230, 232, 236, 237, 248, 251, 260, 263, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 316, 334, 341], "r": [1, 3, 119, 196, 221], "pbdoc": 1, "most": [1, 150, 213, 325, 339, 340, 341, 342], "complex": [1, 97, 98, 99, 100, 101, 149, 154, 157, 158, 204, 213, 250, 339, 340], "bell": 1, "whistl": 1, "liter": [1, 264, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295], "string": [1, 343, 345], "modul": [1, 3, 4, 203, 253, 258, 263, 309, 325, 338, 339, 342], "ensur": [1, 6, 290], "caster": 1, "find_packag": 1, "config": 1, "add_librari": 1, "sourc": [1, 137, 192], "target_sourc": 1, "cmake_current_list_dir": 1, "header": 1, "target_include_directori": 1, "target_link_librari": 1, "attach": 1, "conveni": [1, 4], "mlx_build_metallib": 1, "target": [1, 196, 282, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 339], "destin": [1, 137], "automat": [1, 5, 121, 344, 345, 346], "practic": [1, 339], "mlx_build_met": [1, 6], "mlx_ext_metallib": 1, "titl": 1, "include_dir": 1, "project_source_dir": 1, "mlx_include_dir": 1, "output_directori": 1, "cmake_library_output_directori": 1, "add_depend": 1, "endif": 1, "pybind11_add_modul": 1, "build_shared_lib": 1, "target_link_opt": 1, "wl": 1, "rpath": 1, "loader_path": 1, "onc": [1, 339], "describ": [1, 342], "util": [1, 3, 5, 6, 167, 213], "__name__": [1, 3], "__main__": [1, 3], "descript": [1, 3, 209], "ext_modul": 1, "cmakeextens": 1, "cmdclass": 1, "build_ext": 1, "cmakebuild": 1, "package_dir": 1, "package_data": 1, "dylib": 1, "zip_saf": 1, "fals": [1, 3, 11, 12, 13, 21, 22, 28, 29, 30, 31, 39, 40, 41, 42, 44, 55, 58, 59, 66, 70, 118, 121, 130, 132, 134, 135, 146, 185, 197, 200, 204, 205, 209, 225, 226, 228, 237, 239, 248, 251, 253, 256, 260, 263, 264, 282, 285, 316, 327, 343], "python_requir": 1, "even": [1, 3, 66, 339, 342, 343], "though": [1, 3, 339, 342, 343], "j8": 1, "libmlx_ext": 1, "cpython": 1, "3x": 1, "darwin": 1, "pip": [1, 6], "after": [1, 3, 4, 23, 102, 104, 145, 147, 217, 225, 227, 251, 263, 294, 339, 346], "plai": [1, 3], "ones": [1, 3, 142, 167, 193, 249, 250, 253, 341], "b": [1, 3, 10, 12, 59, 80, 81, 83, 104, 107, 108, 110, 116, 117, 118, 126, 127, 129, 131, 133, 136, 138, 143, 147, 184, 191, 196, 228, 264, 277, 340, 341, 342, 343, 344, 345, 346], "f": [1, 2, 4, 118, 213, 319, 339, 343], "item": [1, 2, 3, 4, 205, 342, 343, 344], "true": [1, 2, 3, 12, 59, 66, 118, 121, 148, 175, 200, 204, 205, 209, 213, 217, 218, 219, 225, 226, 227, 228, 236, 237, 239, 245, 248, 253, 256, 260, 263, 264, 282, 290, 316], "quick": [1, 5], "benchmark": [1, 339], "compar": [1, 59, 339], "time": [1, 3, 6, 213, 215, 216, 229, 230, 339, 340, 342, 346], "set_default_devic": 1, "256": [1, 4], "512": [1, 3, 263, 346], "random": [1, 2, 3, 4, 5, 215, 216, 217, 226, 229, 230, 239, 245, 339, 340, 346, 347], "normal": [1, 2, 3, 157, 213, 215, 216, 217, 225, 226, 227, 229, 230, 254, 263, 266, 268, 343, 346], "bench": 1, "warm": [1, 339], "rang": [1, 2, 3, 4, 6, 14, 102, 120, 267, 269, 275, 276, 314, 328, 329, 330, 331, 332, 336, 339, 340, 342, 346], "100": [1, 2, 3, 331, 339, 340, 342, 346], "5000": 1, "simple_tim": 1, "custom_tim": 1, "3f": [1, 4, 339], "custom": [1, 263], "114": 1, "109": 1, "modest": 1, "improv": [1, 3, 315, 316, 317, 318, 319, 320, 326, 339], "awai": [1, 3], "good": [1, 6, 339, 346], "nn": [1, 3, 4, 167, 205, 213, 309, 312, 314, 323, 325, 339, 342], "grad": [1, 2, 4, 196, 314, 322, 339, 340, 341, 342, 344], "full": [1, 4, 46, 57, 71, 175, 249, 250, 285, 339, 342], "implement": [2, 4, 118, 223, 236, 251, 256, 258, 260, 262, 263, 264, 306, 315, 316, 317, 318, 320, 321, 322, 334, 339, 340, 343], "basic": [2, 162, 340], "model": [2, 4, 5, 167, 203, 205, 213, 232, 235, 237, 239, 243, 245, 247, 248, 249, 251, 263, 309, 312, 314, 322, 323, 325, 339, 342], "problem": [2, 4, 213], "metadata": [2, 121, 165, 166], "num_featur": [2, 217], "num_exampl": 2, "1_000": 2, "num_it": 2, "10_000": 2, "iter": [2, 4, 205, 336, 339, 342], "sgd": [2, 4, 314, 321, 323, 328, 329, 332, 339], "lr": [2, 321], "01": [2, 279, 319], "rate": [2, 315, 316, 317, 318, 319, 320, 321, 326, 327], "ll": [2, 4, 287, 339, 340], "synthet": 2, "dataset": [2, 342], "matrix": [2, 76, 77, 89, 109, 118, 119, 131, 147, 148, 253, 270, 309], "ground": [2, 3, 284, 294], "truth": [2, 284, 294], "w_star": 2, "valu": [2, 3, 9, 12, 14, 21, 22, 36, 56, 59, 65, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 105, 118, 120, 144, 149, 150, 151, 153, 154, 157, 158, 165, 187, 188, 196, 199, 203, 204, 205, 209, 216, 220, 221, 222, 226, 228, 230, 236, 251, 252, 261, 262, 263, 265, 282, 283, 284, 285, 286, 287, 289, 290, 291, 292, 293, 294, 306, 312, 316, 319, 328, 329, 331, 332, 340], "gaussian": [2, 224, 274, 275, 276, 285], "nois": 2, "exampl": [2, 3, 4, 14, 102, 118, 119, 183, 187, 213, 215, 216, 217, 226, 229, 230, 237, 239, 245, 248, 264, 265, 266, 267, 268, 269, 270, 271, 272, 282, 284, 291, 309, 314, 323, 328, 329, 330, 331, 332, 336, 340, 341, 342, 343, 344, 345], "noisi": 2, "label": [2, 284, 291], "ep": [2, 217, 225, 226, 227, 254, 283, 285, 295, 315, 316, 317, 318, 319, 320, 326], "1e": [2, 4, 12, 217, 225, 226, 227, 254, 283, 285, 295, 315, 316, 317, 318, 319, 320, 323, 326, 328, 329, 330, 331, 332], "us": [2, 3, 4, 5, 6, 14, 76, 79, 81, 102, 118, 119, 131, 147, 148, 160, 161, 204, 213, 216, 221, 223, 224, 228, 230, 232, 236, 243, 249, 250, 251, 253, 256, 260, 263, 264, 268, 269, 275, 276, 283, 309, 312, 314, 315, 316, 318, 319, 320, 321, 322, 323, 334, 336, 338, 339, 340, 341, 344, 346], "weight": [2, 68, 69, 70, 205, 213, 239, 243, 253, 282, 284, 312, 316, 319, 321, 323, 327, 340, 342], "squar": [2, 3, 109, 163, 178, 196, 205, 213, 254, 292, 294, 315, 316, 318, 319, 320, 340, 343], "loss": [2, 4, 196, 213, 314, 339, 340, 342], "loss_fn": [2, 4, 314, 339, 340], "w": [2, 69, 76, 147, 148, 196, 216, 217, 219, 221, 222, 228, 230, 327, 340], "mean": [2, 3, 4, 153, 196, 213, 217, 225, 237, 254, 271, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 339, 340, 343], "grad_fn": [2, 339, 340], "initi": [2, 3, 213, 217, 225, 226, 227, 228, 252, 254, 265, 266, 267, 268, 269, 270, 271, 272, 312, 323, 328, 329, 331, 332, 339, 342], "randomli": [2, 3, 220, 221, 222], "Then": [2, 6], "repeatedli": 2, "_": [2, 3, 213, 328, 329, 330, 331, 332, 336, 339, 342, 346], "verifi": [2, 6], "close": [2, 5, 6, 12], "error_norm": 2, "5f": 2, "someth": [2, 3, 341], "00005": 2, "00364": 2, "complet": [2, 3, 6, 249, 250, 340, 346], "logist": [2, 171, 275, 276, 302], "github": [2, 4, 6, 339], "repo": [2, 4, 6, 339], "enabl": [3, 6, 66, 82, 327], "larg": [3, 213, 251, 290, 339, 342], "ish": 3, "transform": [3, 5, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 203, 213, 217, 225, 227, 228, 236, 237, 248, 253, 256, 341], "compromis": 3, "eas": 3, "llama": 3, "famili": 3, "less": [3, 23, 117, 145, 256, 294], "200": [3, 330], "line": [3, 342, 343], "python": [3, 36, 49, 56, 86, 204, 205, 206, 312, 322, 323, 325, 338, 340, 343], "neural": [3, 5, 223, 266, 267, 296, 309, 312, 326], "network": [3, 5, 217, 221, 223, 266, 267, 309, 312, 326], "build": [3, 5, 268, 312, 339], "concis": 3, "architectur": [3, 6, 213, 250, 346], "notabl": [3, 5], "rope": [3, 213], "posit": [3, 23, 78, 102, 106, 114, 137, 145, 196, 205, 213, 218, 219, 251, 256, 260, 285, 295], "option": [3, 11, 13, 14, 21, 22, 23, 24, 25, 30, 31, 60, 61, 62, 66, 67, 68, 69, 70, 71, 76, 77, 78, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 105, 106, 109, 113, 114, 118, 119, 120, 121, 130, 132, 134, 135, 141, 144, 145, 146, 147, 148, 149, 150, 151, 153, 154, 156, 157, 158, 160, 161, 166, 175, 176, 177, 180, 181, 185, 187, 188, 191, 192, 193, 194, 195, 196, 197, 199, 201, 204, 205, 215, 216, 217, 218, 219, 228, 229, 230, 232, 236, 237, 239, 248, 251, 253, 256, 260, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 315, 316, 317, 318, 319, 320, 321, 323, 326, 327, 336, 339, 345, 347], "kei": [3, 149, 150, 151, 153, 154, 156, 157, 158, 204, 205, 236, 237, 248, 251, 323, 336, 338, 340], "cach": [3, 339], "concaten": 3, "project": [3, 251], "llamaattent": 3, "self": [3, 4, 7, 25, 26, 27, 28, 29, 30, 31, 32, 33, 35, 36, 37, 38, 39, 40, 41, 42, 44, 45, 46, 47, 48, 50, 52, 53, 54, 55, 56, 57, 58, 207, 213, 296, 312], "dim": [3, 223, 225, 226, 227, 251, 254, 256, 260, 263], "num_head": [3, 251, 263], "super": [3, 4, 213, 312], "tradit": [3, 221, 222, 256], "query_proj": 3, "bia": [3, 76, 147, 148, 205, 213, 218, 219, 228, 237, 239, 248, 251, 253, 318, 319, 320, 323, 340], "key_proj": 3, "value_proj": 3, "out_proj": [3, 312], "__call__": [3, 4, 213, 312], "queri": [3, 251], "mask": [3, 245, 251, 341], "extract": [3, 77, 78, 213, 236, 312], "l": [3, 4, 213, 215, 217, 218, 229, 294], "reshap": [3, 118, 264, 341], "combin": 3, "key_cach": 3, "value_cach": 3, "sqrt": [3, 84, 217, 225, 226, 227, 228, 254, 260, 266, 267, 268, 269, 315, 317, 318, 319, 326, 339], "score": [3, 291], "softmax": [3, 213, 281, 284], "values_hat": 3, "rm": [3, 6, 316], "swiglu": 3, "rmsnorm": [3, 213], "llamaencoderlay": 3, "mlp_dim": [3, 263], "norm1": 3, "norm2": 3, "linear1": 3, "linear2": 3, "linear3": 3, "sigmoid": [3, 213, 259, 275, 276, 280, 302], "instanc": [3, 147, 206, 213, 226, 232, 233, 234, 237, 240, 241, 248, 250, 258, 312, 343], "embed": [3, 213, 256, 260, 283], "emb": [3, 223, 260], "token": [3, 223], "num_lay": [3, 4, 314], "vocab_s": 3, "norm": [3, 225, 295, 320, 321], "multiheadattent": [3, 213], "create_additive_causal_mask": 3, "list": [3, 8, 11, 13, 25, 28, 29, 39, 40, 41, 42, 44, 52, 55, 56, 58, 60, 61, 62, 63, 66, 67, 70, 86, 88, 91, 92, 94, 95, 97, 98, 100, 101, 105, 106, 115, 118, 130, 132, 134, 135, 141, 144, 146, 149, 150, 151, 153, 154, 157, 158, 161, 165, 175, 177, 180, 181, 185, 191, 192, 196, 197, 198, 201, 204, 206, 213, 237, 239, 240, 241, 242, 246, 248, 249, 250, 312, 318, 319, 320, 321, 330, 338, 339, 340, 342], "still": [3, 6, 118, 339, 342], "consid": [3, 12, 59, 204, 205, 225, 338], "train": [3, 4, 213, 217, 220, 221, 222, 235, 237, 248, 266, 267], "ignor": [3, 65, 66, 86, 316], "whatsoev": 3, "rest": [3, 205, 256], "subsect": 3, "prompt": 3, "autoregress": 3, "yield": [3, 4, 336], "temp": 3, "causal": 3, "save": [3, 5, 121, 147, 165, 166, 167, 168, 243, 342], "append": [3, 131, 339, 342], "store": 3, "per": [3, 4, 76, 147, 148, 217, 225, 226, 227, 254, 334, 339, 342], "care": [3, 342], "last": [3, 24, 56, 92, 95, 97, 98, 100, 101, 102, 110, 119, 131, 150, 176, 191, 218, 219, 221, 222, 225, 264, 343], "logit": [3, 150, 282, 284, 339], "next": [3, 4], "categor": 3, "lazili": [3, 213], "noth": [3, 213, 342], "yet": [3, 118, 213, 312, 323, 340, 341, 342, 344], "forc": [3, 4, 213, 344], "choos": [3, 256], "pars": 3, "feed": 3, "loop": [3, 4, 339, 340, 342], "unsqueez": 3, "sequenc": [3, 217, 218, 263, 336, 346], "length": [3, 180, 217, 218, 330], "len": [3, 92, 95, 98, 101, 330], "overwrit": 3, "discard": [3, 204], "old": 3, "moment": [3, 70, 316, 318, 319, 320], "anymor": 3, "everyth": 3, "small": [3, 217, 225, 227, 254, 285, 290, 295, 339, 346], "10": [3, 4, 123, 162, 167, 205, 213, 239, 309, 330, 332, 339, 341], "12": [3, 330], "8192": 3, "1024": 3, "actual": [3, 14, 239, 312, 342], "materi": [3, 5], "could": [3, 213], "20_000": 3, "machin": [3, 5, 6, 326], "8gb": 3, "ram": 3, "32": [3, 4, 147, 148, 209, 216, 230, 339], "44": 3, "doubl": 3, "bracket": 3, "becaus": [3, 213, 342], "batch": [3, 131, 217, 218, 219, 221, 222, 251, 264, 342], "zip": [3, 4], "haven": 3, "anyth": [3, 196, 342], "result": [3, 14, 56, 66, 76, 110, 118, 121, 131, 143, 148, 160, 162, 181, 191, 200, 205, 260, 339, 340, 343], "similar": [3, 205, 249, 250, 251, 283, 343, 345], "runtim": [3, 339], "section": [3, 6, 177, 295, 339, 340], "access": [3, 36, 213, 312, 323, 342, 346], "origin": [3, 78, 217, 244, 266, 267, 268, 269, 315, 316, 317, 318, 320, 321, 343], "sentencepiec": 3, "pytorch": [3, 5, 225, 340], "compat": [3, 150, 345], "npz": [3, 121, 167, 168, 239, 243, 345], "file": [3, 6, 121, 164, 165, 166, 167, 168, 239, 243, 340, 345], "directli": 3, "argpars": 3, "itertool": [3, 205], "starmap": [3, 205], "np": [3, 4, 343, 344], "torch": [3, 343], "map_torch_to_mlx": 3, "tok_embed": 3, "elif": 3, "replac": [3, 249, 250, 263, 294], "attention_norm": 3, "ffn_norm": 3, "wq": 3, "wk": 3, "wv": 3, "wo": 3, "w1": 3, "w2": 3, "w3": 3, "ffn": 3, "separ": [3, 46, 57, 225, 291], "submodul": [3, 4, 213, 237, 238, 248, 250], "feed_forward": 3, "parser": 3, "argumentpars": 3, "add_argu": 3, "torch_weight": 3, "output_fil": 3, "parse_arg": 3, "state": [3, 4, 213, 314, 323, 336, 339], "savez": [3, 243, 345], "k": [3, 77, 89, 193, 194, 195, 215, 228, 229, 237], "v": [3, 71, 213, 237, 343], "left": [3, 118, 147, 215, 216, 224, 229, 230, 256, 264, 275, 276, 285, 287, 295], "disk": 3, "text": [3, 215, 216, 229, 230, 231, 262, 266, 267, 268, 269, 278, 285, 286, 287, 290, 291, 294, 296, 297, 300, 301, 305, 306, 316, 321], "format": [3, 121, 164, 165, 166, 167, 168, 343], "oper": [3, 5, 7, 32, 60, 61, 62, 70, 175, 182, 188, 207, 213, 263, 321, 339, 340, 341, 342, 343, 344, 346, 347], "dictionari": [3, 66, 121, 165, 166, 204, 213, 236, 244, 249, 250, 324, 338, 345], "represent": [3, 147, 204, 206], "tree_unflatten": 3, "helper": [3, 339], "weight_fil": 3, "incur": 3, "sever": [3, 68, 69, 70, 167, 168, 339, 345], "futur": [3, 253, 341, 342], "pth": 3, "current": [3, 5, 6, 68, 69, 70, 147, 213, 316, 342], "around": 3, "m1": [3, 339, 340, 346], "ultra": 3, "7b": 3, "me": 3, "ishmael": 3, "year": 3, "ago": 3, "never": [3, 342], "long": 3, "info": [3, 6], "247": 3, "press": [3, 118], "enter": 3, "littl": 3, "monei": 3, "my": [3, 6], "purs": 3, "greater": [3, 23, 108, 145, 262, 306], "consequ": 3, "walk": 3, "down": 3, "gower": 3, "street": 3, "afternoon": 3, "heavi": 3, "rain": 3, "saw": [3, 340], "off": [3, 6, 342], "man": 3, "rag": 3, "who": 3, "sat": 3, "upon": [3, 205], "hi": 3, "bundl": 3, "hard": 3, "wet": 3, "he": [3, 268, 269], "were": [3, 346], "cry": 3, "watch": [3, 339], "him": 3, "observ": 3, "numer": [3, 118, 126, 130, 175, 217, 225, 226, 227, 254, 283, 285, 295, 315, 316, 317, 318, 319, 320, 326, 339, 342], "crowd": 3, "wa": [3, 342], "hurri": 3, "437": 3, "330": 3, "second": [3, 78, 127, 129, 131, 186, 196, 216, 230, 283, 291, 316, 318, 319, 320, 340, 346], "spent": 3, "amount": [3, 215, 229], "39": 3, "ms": [3, 339], "By": [3, 340, 343], "bigger": [3, 316], "remain": [3, 196, 220, 221, 222], "almost": 3, "nobodi": 3, "took": 3, "least": [3, 60, 61, 62, 65, 119, 147], "notic": [3, 340, 345], "distanc": [3, 295], "had": 3, "doubt": 3, "minut": 3, "straight": 3, "slowli": 3, "rais": [3, 118, 177, 239], "ey": 3, "speak": [3, 118], "resum": 3, "postur": 3, "stood": 3, "feel": 3, "pain": 3, "heart": 3, "smile": 3, "face": 3, "am": 3, "someon": 3, "three": [3, 62], "quarter": 3, "hour": 3, "made": 3, "immedi": [3, 232], "repli": 3, "again": [3, 6, 213, 339], "hand": [3, 340, 342], "did": 3, "accustom": 3, "thu": [3, 213], "question": [3, 342], "reason": [3, 341], "tell": [3, 339, 343], "understand": [3, 266, 267], "579": 3, "690": 3, "num": [3, 120, 156], "500": [3, 346], "628": 3, "went": 3, "nervou": 3, "trembl": 3, "told": 3, "And": 3, "perhap": 3, "surpris": 3, "matter": [3, 213], "shall": 3, "anyhow": 3, "friend": 3, "ye": 3, "slight": [3, 342], "kind": 3, "longer": [3, 71, 340], "soon": 3, "unless": [3, 12, 118, 312], "unlik": [3, 12, 221, 222, 244], "strang": 3, "amus": 3, "That": 3, "secret": 3, "disappoint": 3, "mine": 3, "cannot": [3, 65, 341, 343], "happi": 3, "ask": 3, "Is": [3, 260, 263], "shop": 3, "bui": 3, "food": 3, "633": 3, "21": [3, 332], "475": 3, "su": 3, "j": [3, 6, 118, 221, 317, 318, 320], "lu": 3, "pan": 3, "murtadha": 3, "wen": 3, "liu": 3, "2021": 3, "roform": [3, 256], "enhanc": [3, 256, 342], "rotari": [3, 256], "arxiv": [3, 225, 226, 227, 231, 254, 276, 296, 315, 321], "preprint": [3, 315, 321], "2104": 3, "09864": 3, "zhang": 3, "sennrich": 3, "2019": [3, 319], "root": [3, 163, 178, 254], "advanc": [3, 339], "inform": [3, 4, 6, 165, 166, 213, 217, 224, 251, 340, 346], "system": [3, 6], "shazeer": 3, "2020": 3, "glu": [3, 213], "variant": [3, 294, 320], "2002": 3, "05202": 3, "classifi": 4, "mnist": 4, "As": [4, 187, 213, 339], "mlp": [4, 213, 263, 314], "inherit": [4, 338], "standard": [4, 36, 56, 131, 151, 153, 263, 266, 268, 271, 344], "idiom": [4, 339], "input_dim": [4, 213, 228, 253], "hidden_dim": [4, 312, 314], "output_dim": [4, 213, 228, 253], "layer_s": 4, "idim": 4, "odim": 4, "maximum": [4, 21, 65, 213, 255, 260, 275, 276, 279, 298, 312, 342], "cross": [4, 70, 282, 284], "entropi": [4, 282, 284], "sub": [4, 78, 156], "commonli": [4, 249, 309, 339], "cross_entropi": [4, 213], "accuraci": 4, "valid": [4, 71, 102, 199, 204, 237, 248, 338], "eval_fn": 4, "argmax": 4, "loader": 4, "num_class": [4, 314], "batch_siz": [4, 314], "num_epoch": [4, 314], "learning_r": [4, 314, 315, 316, 317, 318, 319, 320, 321, 323, 326, 327, 328, 329, 330, 331, 332, 339], "train_imag": [4, 314], "train_label": [4, 314], "test_imag": 4, "test_label": 4, "shuffl": 4, "minibatch": 4, "batch_iter": [4, 314], "perm": 4, "permut": 4, "id": [4, 6], "put": [4, 339], "trainabl": [4, 203, 213, 312], "loss_and_grad_fn": [4, 314, 339, 340], "value_and_grad": [4, 213, 249, 312, 314, 325, 339, 340, 343, 344], "epoch": 4, "test": [4, 6], "confus": 4, "decent": 4, "95": 4, "brought": 5, "research": 5, "except": [5, 89, 96, 97, 99, 100, 101, 225, 239, 341, 343], "featur": [5, 68, 69, 70, 217, 225, 226, 227, 228, 253, 254, 256, 263, 264, 339, 342], "main": [5, 78, 89, 205, 213], "differ": [5, 184, 294, 340], "lazi": [5, 312, 344], "multi": [5, 218, 219, 341, 343], "cpu": [5, 119, 339, 346], "gpu": [5, 339, 341, 346], "inspir": 5, "jax": [5, 336], "arrayfir": 5, "unifi": 5, "live": [5, 346], "guid": 5, "convers": 5, "regress": [5, 290], "layer": [5, 213, 215, 216, 221, 222, 225, 227, 228, 229, 230, 245, 250, 253, 258, 263, 308, 312], "perceptron": 5, "llm": 5, "infer": [5, 105, 121], "fft": 5, "algebra": 5, "tree": [5, 66, 86, 106, 196, 199, 204, 205, 206, 322, 323, 325, 334, 340], "develop": [5, 6], "document": [5, 46, 57, 165, 166, 339, 340, 341], "pypi": 6, "meet": 6, "seri": 6, "chip": 6, "nativ": 6, "maco": 6, "13": 6, "recommend": [6, 321], "14": 6, "sonoma": 6, "conda": 6, "forg": 6, "distribut": [6, 149, 150, 151, 153, 157, 158, 228, 266, 267, 268, 269, 271, 272, 285, 288, 293, 295, 309], "probabl": [6, 154, 220, 221, 222, 253, 282, 284, 288, 346], "platform": 6, "processor": 6, "arm": [6, 209], "i386": 6, "switch": 6, "17": 6, "g": [6, 118, 147, 308, 326, 327, 342, 347], "clang": 6, "cmake": 6, "24": 6, "xcode": 6, "15": [6, 118, 339], "environ": [6, 79, 82], "via": [6, 322, 325, 342, 343], "rosetta": 6, "unam": 6, "p": [6, 149, 213, 220, 221, 222, 295, 318, 320], "clone": 6, "git": 6, "com": 6, "ml": 6, "explor": 6, "cd": 6, "brew": 6, "global": [6, 79, 82, 155, 336, 339], "env": 6, "cmake_build_parallel_level": 6, "edit": [6, 250], "unittest": 6, "discov": 6, "stub": 6, "dev": 6, "generate_stub": 6, "mkdir": 6, "either": [6, 10, 46, 56, 57, 65, 80, 81, 83, 104, 107, 108, 116, 117, 118, 126, 131, 133, 136, 138, 184, 196, 216, 230, 258, 264, 268, 269], "libmlx": 6, "preprocessor": 6, "metal_path": 6, "mlx_build_test": 6, "ON": 6, "mlx_build_exampl": 6, "mlx_build_benchmark": 6, "mlx_build_python_bind": 6, "multipl": [6, 131, 138, 147, 148, 251, 260, 329, 330, 332, 339, 342, 345], "wish": 6, "variabl": [6, 66, 79, 82, 106, 115, 196, 198, 199], "export": 6, "developer_dir": 6, "app": 6, "content": [6, 236, 339], "sdk": 6, "xcrun": 6, "macosx": 6, "show": [6, 209, 339], "unabl": 6, "tool": 6, "select": [6, 200, 232, 236], "sudo": 6, "ouptut": 6, "finder": 6, "iterm": 6, "termin": 6, "click": 6, "uncheck": 6, "window": [6, 215, 216, 229, 230], "restart": 6, "grep": 6, "cmake_host_system_processor": 6, "arm64": 6, "x86_64": 6, "wipe": 6, "cahc": 6, "rf": 6, "devicetyp": 7, "attribut": [7, 8, 25, 207, 244, 312, 334], "kwarg": [8, 167, 168, 347], "union": [9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 27, 28, 29, 30, 31, 32, 33, 35, 37, 38, 39, 40, 41, 42, 44, 45, 46, 47, 48, 50, 52, 53, 54, 55, 57, 58, 59, 60, 61, 62, 63, 64, 65, 67, 68, 69, 70, 71, 72, 73, 76, 77, 78, 80, 81, 83, 84, 85, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 153, 154, 156, 157, 158, 159, 160, 161, 162, 163, 165, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 200, 201, 202, 215, 216, 219, 229, 230, 237, 239, 248, 264, 327], "absolut": [9, 12, 275, 276, 294], "semant": [10, 63, 80, 81, 83, 107, 108, 116, 117, 126, 131, 133, 136, 138, 184, 346], "keepdim": [11, 13, 21, 22, 28, 29, 30, 31, 39, 40, 41, 42, 44, 55, 58, 118, 130, 132, 134, 135, 146, 175, 185, 197], "reduct": [11, 13, 130, 132, 135, 146, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295], "reduc": [11, 13, 21, 22, 130, 132, 134, 135, 146, 185, 197, 217, 263, 290], "unspecifi": [11, 13, 14, 21, 22, 23, 24, 67, 105, 130, 132, 134, 135, 141, 145, 146, 160, 175, 176, 185, 187, 197, 201, 347], "entir": [11, 13, 21, 22, 130, 132, 134, 135, 146, 185, 197, 221, 222], "singleton": [11, 13, 21, 22, 130, 131, 132, 134, 135, 146, 185, 197], "rtol": 12, "05": [12, 217, 225, 226, 227, 254], "atol": 12, "08": [12, 283, 317, 318, 319, 320, 326], "equal_nan": [12, 59], "approxim": [12, 224, 274, 275, 276], "comparison": [12, 83, 107, 108, 116, 117], "infinit": 12, "equal": [12, 23, 59, 89, 108, 117, 145, 154, 177, 226, 228], "sign": [12, 209, 321], "nan": [12, 59, 112], "ab": [12, 118, 196, 225, 226, 227, 231, 254, 276, 296, 339], "array_equ": 12, "rel": [12, 316, 339], "toler": 12, "boolean": [12, 59, 111, 112, 113, 114, 127, 128, 129, 209, 247, 341], "interv": [14, 120, 154, 158], "increment": 14, "otherwis": [14, 70, 204, 205, 237, 239, 248, 262, 263, 264, 282, 287, 294, 305, 306, 342, 343], "int32": [14, 102, 118, 154, 209, 264, 341, 344], "convent": [14, 71, 264, 319], "lead": [14, 339], "fraction": 14, "integr": [14, 187, 342], "invers": [15, 16, 17, 18, 19, 20, 85, 93, 94, 95, 96, 97, 98], "cosin": [15, 16, 72, 73, 283, 328, 330, 340], "hyperbol": [16, 18, 20, 73, 174, 190, 307], "sine": [17, 18, 173, 174, 340], "uint32": [21, 22, 23, 24, 150, 209], "minimum": [22, 65, 260, 283], "kth": [23, 145], "partit": 23, "order": [23, 70, 118, 145, 147, 213, 225, 249, 258, 323, 339, 340], "undefin": [23, 145, 341], "sort": [23, 24, 145], "flatten": [23, 24, 118, 143, 145, 160, 176, 187, 188, 204], "dimension": [25, 90, 91, 92, 93, 94, 95, 99, 100, 101, 215, 216, 217, 218, 219, 223, 228, 229, 230, 253, 260, 341, 343], "val": [25, 105], "tupl": [25, 46, 49, 57, 67, 69, 70, 81, 86, 88, 115, 118, 119, 144, 147, 161, 180, 196, 198, 204, 205, 206, 215, 216, 219, 229, 230, 239, 241, 258, 264, 316, 318, 319, 320, 321, 338, 340], "ndarrai": [25, 341, 342, 344], "properti": [26, 34, 43, 49, 51, 244, 247, 324, 340], "argument": [26, 46, 57, 66, 86, 106, 196, 205, 213, 264, 336, 340, 345, 346, 347], "decim": [47, 162], "indices_or_sect": [52, 177], "nest": [56, 66, 213, 312, 338, 340], "ddof": [58, 197], "a_min": 65, "a_max": 65, "edg": [65, 144, 264, 339], "At": 65, "anoth": [65, 131, 184, 200, 213, 232, 339, 340, 341, 346], "fun": [66, 106, 115, 196, 198, 199, 339, 341, 342, 346], "dict": [66, 86, 121, 165, 166, 167, 242, 246, 249, 250, 312, 322, 323, 325, 338, 340, 345], "dure": [66, 220, 221, 222, 264, 343], "arbitrarili": [66, 213, 338, 340, 344], "leaf": [66, 204, 205, 236], "node": [66, 86, 199], "pad": [68, 69, 70, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 215, 216, 218, 219, 229, 230], "dilat": [68, 69, 70], "group": [68, 69, 70, 76, 147, 148, 225, 253], "1d": [68, 70, 71, 165, 188], "convolut": [68, 69, 70, 71, 218, 219, 221, 222], "channel": [68, 69, 70, 217, 218, 219, 221, 222], "c_in": [68, 69, 70], "c_out": [68, 69, 70], "convolv": [68, 69, 70], "2d": [69, 70, 78, 147, 217, 221], "spatial": [69, 70, 215, 225, 229, 264], "symmetr": 69, "discret": [71, 90, 91, 92, 93, 94, 95, 99, 100, 101, 223], "swap": [71, 186, 250, 253], "conv": 71, "filter": [71, 218, 219, 232, 236], "flip": [70, 71], "signal": [71, 264], "bias": [76, 147, 148, 237, 248, 251], "group_siz": [76, 147, 148, 253], "64": [76, 147, 148, 209, 253], "configur": 76, "formal": [76, 147], "notat": [76, 204, 241], "quantiz": [76, 121, 148, 253], "w_i": [76, 147], "hat": [76, 147], "occupi": [76, 147, 148], "diagon": [77, 89, 193, 194, 195], "th": [77, 89, 330], "axis1": [78, 186], "axis2": [78, 186], "subarrai": [78, 177], "remov": [78, 131, 150, 180, 284], "insert": [78, 88, 346], "neg": [78, 102, 113, 229, 230, 251, 285, 293, 295, 341], "taken": [78, 187], "disabl": [79, 339], "mlx_disable_compil": [79, 82, 339], "divis": [80, 104, 147], "quotient": [80, 81, 104], "remaind": 81, "fuction": 81, "faster": [81, 274, 339, 340], "mathrm": [84, 171, 226], "frac": [84, 147, 171, 215, 216, 217, 220, 221, 222, 225, 226, 227, 228, 229, 230, 254, 266, 267, 268, 269, 283, 285, 287, 290, 301, 303, 315, 317, 318, 319, 320, 326], "pi": [84, 260, 340], "int_0": 84, "dt": 84, "erf": [85, 339], "exponenti": [87, 257, 273, 300, 329], "ident": [89, 182, 213, 245], "zero": [89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 193, 194, 195, 202, 213, 215, 216, 220, 221, 222, 239, 265, 266, 267, 268, 269, 270, 271, 272, 309, 316, 341], "whose": [89, 203], "One": [90, 93, 99, 163, 339, 340], "fourier": [90, 91, 92, 93, 94, 95, 99, 100, 101], "truncat": [90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 157], "dft": [90, 91, 92, 93, 94, 95, 99, 100, 101], "rfft": 96, "real": [96, 97, 98, 99, 100, 101], "rfft2": 97, "rfftn": 98, "silent": [99, 100, 101], "start_axi": 102, "end_axi": 102, "inclus": 102, "outsid": 102, "clamp": 102, "integ": [104, 118, 144, 147, 148, 149, 154, 177, 191, 199, 209, 223, 330, 341], "floor": 104, "argnam": [106, 196], "neither": [106, 196], "keyword": [106, 167, 168, 196, 205, 213, 336, 345, 347], "strict": [107, 116, 237, 239, 248], "ordinari": 110, "inifn": 111, "infin": [111, 113, 114, 229, 230, 320], "ord": 118, "tabl": [118, 209, 223], "frobeniu": 118, "matric": [118, 119], "strictli": 118, "mathemat": 118, "variou": 118, "purpos": 118, "calcul": [118, 285, 291, 316], "fro": 118, "inf": [118, 251], "largest": 118, "sing": 118, "smallest": 118, "singular": 118, "nuclear": 118, "_f": 118, "sum_": [118, 215, 216, 290], "a_": 118, "valueerror": [118, 239, 340], "refer": [118, 226, 231, 244, 266, 267, 268, 269, 276, 296, 341], "golub": 118, "van": 118, "loan": 118, "baltimor": 118, "md": 118, "john": 118, "hopkin": 118, "univers": 118, "1985": 118, "pg": 118, "la": 118, "arang": [118, 264, 341, 343], "9": [118, 284, 315, 318, 319, 320, 321, 323, 329, 332, 343], "74597": 118, "20": 118, "84804": 118, "41421": 118, "23607": [118, 119], "74166": 118, "24264": 118, "11": 118, "225": 118, "factorizatoin": 119, "q": 119, "894427": 119, "447214": 119, "57771": 119, "50": 120, "evenli": 120, "return_metadata": 121, "binari": [121, 164, 165, 166, 167, 168, 262, 282, 306, 339], "npy": [121, 164, 345], "safetensor": [121, 166, 239, 243, 342, 345], "gguf": [121, 165, 345], "matadata": 121, "unsupport": 121, "tensor": [121, 191, 215, 216, 229, 230, 295, 343], "natur": [122, 124, 342], "logarithm": [122, 123, 124, 125], "log": [124, 126, 130, 280, 281, 285, 288, 290, 293, 304], "plu": 124, "exp": [126, 130, 151, 175, 273, 288, 300, 301, 304, 339, 346], "stabl": [126, 130, 175, 290], "prepend": 131, "negat": 139, "beforehand": 143, "pad_with": 144, "constant_valu": 144, "pad_width": 144, "before_1": 144, "after_1": 144, "before_2": 144, "after_2": 144, "before_n": 144, "after_n": 144, "before_i": 144, "after_i": 144, "extend": 144, "side": [144, 215, 216, 229, 230, 339], "smaller": [145, 321, 339], "everi": [147, 205, 332, 340], "particular": [147, 225], "consecut": [147, 256], "w_1": 147, "w_g": 147, "begin": [147, 216, 230, 262, 287, 294, 300, 305, 306], "align": [147, 216, 230], "max_i": 147, "min_i": 147, "textrm": [147, 224, 274, 277], "round": 147, "pack": [147, 148], "unsign": [147, 148, 209], "lower": [147, 154, 157, 158, 193, 272], "upper": [147, 154, 157, 158, 272], "1st": 147, "signific": 147, "2nd": 147, "dequant": 147, "w_q": 147, "whether": [148, 236, 251, 282, 285, 291], "prng": [149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 336], "num_sampl": 150, "unnorm": [150, 282, 284], "draw": 150, "cdf": [151, 224, 274], "accord": [151, 200, 251, 266, 267, 268, 269], "seed": 152, "loc": 153, "deviat": [153, 266, 268, 271], "low": [154, 158, 272, 309], "high": [154, 158, 213, 223, 272, 309], "bound": [154, 157, 158, 224, 272, 339, 341, 346], "roadcast": 154, "domain": 157, "uniformli": 158, "repetit": 160, "preserv": [161, 340], "reciproc": 163, "arr": [164, 341], "obj": 165, "uncompress": 167, "my_path": 167, "tree_flatten": [167, 205, 206, 213], "transformerencod": 167, "128": [167, 213], "flat_param": 167, "compress": 168, "being": [182, 213], "prevent": [182, 295, 343], "flow": [182, 342], "unchang": [182, 256], "prior": [187, 188], "exclud": 188, "dot": [191, 204, 241, 251], "elsewher": [193, 341], "col": 193, "triangl": 193, "mse": 196, "param": [196, 213, 309, 340], "lvalu": 196, "dlvalu": 196, "dparam": 196, "lasso": 196, "l1": [196, 287, 289, 290, 294], "varianc": [197, 217, 225, 285], "divisor": 197, "cotang": 198, "in_ax": [199, 340], "out_ax": [199, 340], "prefix": [199, 204], "fn": [203, 205, 344], "callabl": [203, 204, 205, 232, 233, 236, 258, 263, 265, 266, 267, 268, 269, 270, 271, 272, 327, 328, 329, 330, 331, 332], "wrt": 203, "rho": 315, "06": [285, 295, 315], "paper": [217, 260, 315, 316, 317, 318, 320, 321], "zeiler": 315, "2012": [315, 326], "adapt": [315, 316, 317], "1212": 315, "5701": 315, "v_": [315, 317, 318, 319, 320, 326, 327], "v_t": [315, 317, 318, 319, 320, 326, 327], "g_t": [315, 317, 318, 319, 320, 321, 326, 327], "delta": [287, 315], "w_": [216, 230, 315, 316, 317, 318, 319, 320, 321, 326, 327], "u_t": 315, "epsilon": [217, 225, 226, 227, 254, 283, 285, 315, 317, 318, 319, 320, 326], "u_": 315, "w_t": [315, 317, 318, 319, 320, 321, 326, 327], "lambda": [205, 213, 232, 237, 261, 300, 305, 315, 316, 317, 318, 319, 320, 321, 326, 327, 339, 340], "averag": [215, 216, 315, 316, 318, 319, 320], "denomin": [226, 283, 315, 317, 318, 319, 320, 326], "stabil": [217, 225, 226, 227, 254, 283, 285, 315, 316, 317, 318, 319, 320, 326], "30": 316, "001": 316, "clip_threshold": 316, "decay_r": [316, 329, 332], "beta_1": [316, 318, 319, 320, 321], "weight_decai": [316, 319, 321, 327], "scale_paramet": 316, "relative_step": 316, "warmup_init": 316, "sublinear": 316, "cost": [316, 342], "epsilon_1": 316, "epsilon_2": 316, "parameter_scal": 316, "clip": 316, "unscal": 316, "decai": [316, 319, 321, 327, 328, 329, 332], "duchi": 317, "hazan": 317, "singer": 317, "2011": 317, "subgradi": 317, "onlin": 317, "stochast": [317, 318, 320, 327, 342], "jmlr": 317, "999": [318, 319, 320], "omit": [318, 320], "estim": [318, 320], "kingma": [318, 320], "ba": [318, 320], "2015": [221, 318, 320], "iclr": [318, 319, 320], "m_": [318, 319, 320, 321], "m_t": [318, 319, 320, 321], "beta_2": [318, 319, 320, 321], "contrast": 319, "loshchilov": 319, "hutter": 319, "decoupl": 319, "regular": [221, 296, 319, 339, 341], "adam": [314, 320, 321, 330, 331], "99": [321, 326], "tend": 321, "larger": [256, 321], "10x": 321, "adamw": [314, 321], "maintain": [221, 222, 321], "strength": [321, 327], "wd": 321, "chen": 321, "symbol": 321, "discoveri": 321, "2302": 321, "06675": 321, "c_": 321, "eta": 321, "c_t": 321, "momentum": [217, 321, 323, 327, 339], "appli": [205, 213, 215, 216, 217, 218, 219, 221, 222, 224, 225, 226, 227, 228, 229, 230, 231, 233, 245, 252, 253, 254, 255, 257, 259, 261, 262, 264, 273, 274, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 309, 322, 325, 331, 334, 339], "opt": 322, "superset": [205, 322], "trainable_paramet": [213, 236, 323], "tieleman": 326, "hinton": 326, "lectur": 326, "coursera": 326, "smooth": [284, 294, 326], "dampen": 327, "nesterov": 327, "descent": [327, 339, 342], "mu": 327, "tau": 327, "l2": [287, 290, 327], "penalti": 327, "is_leaf": [204, 205], "arbitrari": [204, 312], "depth": [204, 222, 340], "hello": [204, 206], "charact": 204, "flat": [204, 206], "extra": 205, "closer": 205, "constitut": 205, "dict_kei": [205, 323], "recreat": 206, "world": 206, "42": 206, "byte": 209, "bool_": 209, "uint8": 209, "uint16": 209, "16": [209, 215, 226, 229, 232, 312], "uint64": 209, "int8": 209, "int16": 209, "int64": 209, "done": [213, 220, 339, 342, 343], "manual": 213, "explicitli": [213, 336], "solv": 213, "intuit": 213, "freez": [213, 248, 312], "finetun": 213, "in_dim": [213, 312], "out_dim": [213, 312], "enumer": 213, "caus": [213, 339, 342], "local": [213, 221], "scope": 213, "l2_loss": 213, "y_hat": 213, "loss_and_grad": 213, "workhors": 213, "Its": 213, "recurs": [213, 236, 237, 242, 246, 248, 312], "frozen": [213, 237, 246, 248, 253, 312], "individu": [213, 221, 222], "subset": [213, 236], "action": 213, "displai": 213, "tree_map": 213, "count": [213, 330], "num_param": 213, "preclud": 213, "pure": [213, 314], "pattern": [213, 342], "achiev": 213, "other_input": 213, "necessari": 213, "wrap": 213, "apply_to_modul": [213, 237], "children": 213, "filter_and_map": 213, "leaf_modul": 213, "load_weight": [213, 342], "named_modul": 213, "save_weight": 213, "unfreez": [213, 237], "update_modul": 213, "alibi": 213, "batchnorm": 213, "conv1d": 213, "conv2d": 213, "dropout": [213, 221, 222, 245, 263, 339], "dropout2d": 213, "dropout3d": 213, "gelu": [213, 275, 276, 339], "groupnorm": 213, "instancenorm": 213, "layernorm": 213, "mish": 213, "prelu": 213, "quantizedlinear": 213, "relu": [213, 252, 263, 297, 309], "selu": 213, "sequenti": [213, 309], "silu": 213, "sinusoidalpositionalencod": 213, "softshrink": 213, "gelu_approx": [213, 224, 274], "gelu_fast_approx": [213, 224, 274], "binary_cross_entropi": [213, 339], "cosine_similarity_loss": 213, "gaussian_nll_loss": 213, "hinge_loss": 213, "huber_loss": 213, "kl_div_loss": 213, "l1_loss": 213, "log_cosh_loss": 213, "margin_ranking_loss": 213, "mse_loss": 213, "nll_loss": 213, "smooth_l1_loss": 213, "triplet_loss": 213, "init": [213, 252, 309, 314, 328, 329, 331, 332], "uniform": [213, 228, 239, 267, 269, 309, 336, 339, 340, 346], "glorot_norm": 213, "glorot_uniform": 213, "he_norm": 213, "he_uniform": 213, "affin": [217, 225, 226, 227, 228, 253], "track_running_stat": 217, "var": [217, 225, 226, 227, 285], "gamma": [217, 225, 226, 227, 254, 266, 267, 268, 269], "nc": 217, "nlc": [217, 218], "four": 217, "nhwc": [217, 219], "height": [216, 217, 219, 221, 222, 230], "width": [216, 217, 219, 221, 222, 230, 253], "deep": [217, 266, 267, 268, 269], "intern": 217, "covari": 217, "shift": 217, "bn": 217, "in_channel": [218, 219], "out_channel": [218, 219], "kernel_s": [215, 216, 218, 219, 229, 230], "learnabl": [218, 219, 258], "portion": 220, "independ": [221, 222], "nwhc": 221, "whc": 221, "entri": [221, 222], "benefici": [221, 222, 342], "earli": 221, "adjac": 221, "pixel": 221, "correl": [70, 221], "thompson": 221, "goroshin": 221, "jain": 221, "lecun": 221, "bregler": 221, "cvpr": 221, "ndhwc": 222, "dhwc": 222, "medic": 222, "video": 222, "num_embed": 223, "lookup": 223, "typic": [223, 314, 339, 342], "usual": [223, 338, 342], "vocabulari": 223, "approx": 224, "unit": [224, 255, 257, 259, 266, 267, 268, 269, 273, 274, 275, 276, 277, 279, 298, 299, 300, 302], "phi": [224, 274], "geluapprox": 224, "sigma": [224, 266, 267, 268, 269, 275, 276, 277, 280, 301, 302], "60033": [224, 275], "0433603": [224, 275], "gelufast": 224, "773": 224, "regard": 224, "num_group": 225, "pytorch_compat": 225, "split": [225, 277], "preced": 225, "http": [225, 226, 227, 231, 254, 276, 296], "org": [225, 226, 227, 231, 254, 276, 296], "1803": 225, "08494": 225, "inorm": 226, "1607": [226, 227], "08022": 226, "06450": 227, "mathcal": 228, "u": 228, "d_i": 228, "monoton": 296, "1908": [231, 296], "08681": [231, 296], "tanh": [213, 231, 296], "softplu": [213, 231, 296], "map_fn": [232, 236], "filter_fn": [232, 236], "valid_parameter_filt": 232, "apply_fn": 233, "descend": 234, "is_leaf_fn": 236, "found": 236, "drop": 236, "idempot": [237, 248], "attent": [237, 251, 260, 263], "endswith": 237, "file_or_weight": 239, "miss": [239, 345], "ok": [239, 340], "save_safetensor": [243, 345], "reflect": [244, 339, 341, 343], "certain": [245, 339], "ie": 248, "noop": 248, "unfrozen": 248, "chang": [66, 170, 249, 253, 264, 287, 294, 339, 343], "tracer": 249, "partial": [249, 250, 339, 342], "child": 250, "programmat": 250, "query_input_dim": 251, "key_input_dim": 251, "value_input_dim": 251, "value_dim": 251, "value_output_dim": 251, "head": [251, 263], "aggreg": 251, "linearli": 251, "attend": 251, "num_paramet": 252, "25": [252, 264], "parametr": [252, 297], "classmethod": 253, "from_linear": 253, "quantize_modul": 253, "1910": 254, "07467": 254, "rectifi": [255, 268, 269, 279, 298, 299], "10000": 256, "rotat": 256, "slightli": [256, 346], "angular": 256, "frequenc": [256, 260], "_cos_sin_theta_kei": [], "precomput": [], "_cos_sin_theta_valu": [], "leq": [287, 300], "0507": 300, "67326": 300, "elu": [213, 300], "plain": 258, "known": [259, 302], "swish": [259, 302], "cdot": [275, 276, 283, 286, 302], "min_freq": 260, "0001": 260, "max_freq": 260, "cos_first": 260, "full_turn": 260, "sinusoid": 260, "sin": [260, 340, 344], "lambd": [261, 305], "threshold": [262, 287, 294, 306], "geq": [262, 306], "num_encoder_lay": 263, "num_decoder_lay": 263, "custom_encod": 263, "custom_decod": 263, "norm_first": 263, "checkpoint": 263, "decod": 263, "interact": 263, "mechan": 263, "hidden": 263, "chekpoint": 263, "usag": [263, 339], "expens": 263, "init_fn": [265, 266, 267, 268, 269, 270, 271, 272, 309], "glorot": [266, 267], "fan_in": [266, 267, 268, 269], "fan_out": [266, 267, 268, 269], "difficulti": [266, 267], "feedforward": [266, 267], "191107": 266, "61278": 266, "150594": 266, "363207": 266, "gain": [266, 267, 268, 269], "89613": 266, "53947": 266, "48095": 266, "995016": 266, "223404": 267, "890597": 267, "379159": 267, "776856": 267, "90041": 267, "02264": 267, "912766": 267, "12451": 267, "fan": [268, 269], "delv": [268, 269], "surpass": [268, 269], "human": [268, 269], "level": [268, 269], "imagenet": [268, 269], "classif": [268, 269], "25211": 268, "458835": 268, "177208": 268, "0137595": 268, "6967": 268, "02765": 268, "15268": 268, "75787": 268, "kaim": 269, "0300242": 269, "0184009": 269, "793615": 269, "666329": 269, "64331": 269, "16506": 269, "08619": 269, "79854": 269, "982273": 271, "534422": 271, "380709": 271, "0645099": 271, "883935": 272, "863726": 272, "617261": 272, "417497": 272, "exact": [275, 276], "0003": 275, "015": 276, "with_logit": 282, "predict": [282, 285, 286, 287, 288, 289, 290, 292, 293, 294], "105361": 282, "223144": 282, "20397": 282, "916291": 282, "539245": 282, "prob": 282, "510826": 282, "x1": 283, "x2": 283, "x_1": [283, 291], "x_2": [283, 291], "label_smooth": 284, "hot": 284, "0485873": 284, "348587": 284, "likelihood": [285, 293], "nll": [285, 293], "hing": 286, "y_": [286, 290], "pred": [286, 290], "huber": 287, "l_": [215, 229, 287], "kullback": 288, "leibler": 288, "diverg": 288, "cosh": 290, "logcosh": 290, "sensit": 290, "outlier": 290, "dual": 290, "behavior": [290, 341, 342], "offer": 290, "balanc": 290, "robust": 290, "approach": [290, 340], "task": 290, "inputs1": 291, "inputs2": 291, "margin": [291, 295], "rank": 291, "573409": 291, "765166": 291, "0638": 291, "75596": 291, "225763": 291, "256995": 291, "773433": 291, "formula": 294, "anchor": 295, "triplet": 295, "_p": 295, "degre": 295, "pairwis": 295, "instabl": 295, "subclass": 312, "concept": 312, "mymlp": 312, "in_proj": 312, "basi": 334, "subsequ": 314, "apply_gradi": 314, "implicit": [336, 339, 340], "fine": [336, 342], "grain": 336, "control": [336, 342], "manag": [183, 336, 346], "pseudo": 336, "altern": 336, "splittabl": 336, "threefri": 336, "counter": 336, "cycl": 338, "merg": 339, "fuse": 339, "big": 339, "awar": [339, 342], "36788": 339, "compiled_fun": 339, "code": [339, 342], "slow": 339, "Not": [66, 339], "recompil": [66, 339], "stack": 339, "rerun": [339, 342], "too": [339, 342], "frequent": [339, 342], "destroi": 339, "anonym": 339, "don": [339, 346], "nonlinear": 339, "unari": 339, "overhead": [339, 342, 346], "bandwidth": 339, "fusibl": 339, "consider": 339, "versu": 339, "timeit": [339, 340], "tic": 339, "perf_count": 339, "toc": 339, "tpi": 339, "1e3": 339, "1000": [328, 339], "4096": [339, 340, 346], "On": [339, 340, 342], "millisecond": [339, 346], "five": 339, "latest": 339, "won": 339, "trace": 339, "placehold": 339, "insid": 339, "crash": 339, "inspect": [339, 344], "disable_compil": 339, "okai": [339, 342], "intend": 339, "deal": 339, "pretti": [339, 342], "inconveni": 339, "functool": 339, "particularli": 339, "backward": [339, 340], "squeez": [264, 339], "checkout": 339, "compiled_grad_fn": 339, "71828": 339, "outer": [339, 342], "opportun": 339, "idea": [340, 342], "behind": 340, "dfdx": [340, 341], "d2fdx2": 340, "differentiaion": 340, "zero_grad": 340, "detach": 340, "requires_grad": 340, "dloss_dw": 340, "dloss_dx": 340, "lot": 340, "redund": 340, "suppos": [340, 346], "nice": [340, 342], "propag": [340, 341], "stop_gradi": 340, "autom": 340, "contriv": [340, 346], "sake": 340, "clariti": 340, "quit": [340, 343], "power": [340, 343], "difficult": 340, "primit": 340, "issu": [340, 343], "priorit": 340, "xs": 340, "ys": 340, "naive_add": 340, "vmap_add": 340, "total": 340, "390": 340, "wherea": 340, "025": 340, "ten": [340, 342], "Of": 340, "better": [340, 346], "handi": 340, "slice": 341, "ellipsi": 341, "syntax": 341, "idx": 341, "mix": 341, "take_along_axi": 341, "lack": 341, "extrem": [341, 342], "ineffici": [341, 342], "nonzero": 341, "record": 342, "dynam": 342, "easier": 342, "worri": 342, "fun1": 342, "expensive_fun": 342, "consum": 342, "eager": 342, "thank": 342, "weights_fp16": 342, "trade": 342, "bad": 342, "grow": 342, "computation": 342, "costli": 342, "wide": 342, "thousand": 342, "value_and_grad_fn": 342, "implicitli": 342, "anytim": 342, "memoryview": [342, 343], "perfectli": 342, "first_lay": 342, "second_layer_a": 342, "second_layer_b": 342, "protocol": 343, "receiv": [330, 343], "pep": 343, "3118": 343, "view": 343, "a_view": 343, "owndata": 343, "extern": 343, "x_view": 343, "modifi": 343, "df": 343, "x\u00b2": 343, "2x": 343, "indirectli": 343, "modif": 343, "seen": 343, "occur": 343, "incorpor": 343, "incorrect": 343, "experiment": 343, "break": 343, "advis": 343, "intermedi": 343, "jnp": 343, "tf": 343, "page": 344, "composit": 344, "archiv": 345, "savez_compress": 345, "save_gguf": 345, "arr_0": 345, "pool": [215, 216, 229, 230, 346], "advantag": 346, "parallel": 346, "race": 346, "interest": 346, "albeit": 346, "d1": 346, "d2": 346, "matmul": 346, "dens": 346, "twice": 346, "measur": 346, "default_stream": 347, "default_devic": 347, "my_devic": 347, "streamcontext": 183, "context": 183, "avgpool1d": 213, "avgpool2d": 213, "maxpool1d": 213, "maxpool2d": [213, 216], "n_i": [215, 216, 229, 230], "c_j": [215, 216, 229, 230], "ldot": [215, 216, 229, 230], "lfloor": [215, 216, 229, 230], "rfloor": [215, 216, 229, 230], "k_h": [216, 230], "k_w": [216, 230], "h_": [216, 230], "max_": [229, 230], "rmsprop": 314, "adagrad": 314, "adafactor": 314, "adadelta": 314, "adamax": 314, "lion": 314, "step_decai": 314, "exponential_decai": 314, "cosine_decai": [314, 330], "decay_step": 328, "beyond": [328, 331], "lr_schedul": [328, 329, 330, 332], "0999961": 328, "06561": 329, "step_siz": 332, "081": 332, "ari": [60, 61, 62], "shapeless": 66, "attempt": 66, "kernel_dil": 70, "input_dil": 70, "upsampl": 213, "hardswish": 213, "leaky_relu": 213, "log_sigmoid": 213, "log_softmax": 213, "relu6": 213, "pycapsul": 263, "scale_factor": 264, "nearest": 264, "align_corn": 264, "audio": 264, "4d": 264, "forth": 264, "neighbor": 264, "interpol": 264, "bilinear": 264, "trilinear": 264, "corner": 264, "bottom": 264, "75": 264, "33333": 264, "66667": 264, "702": 276, "hendryck": 276, "1606": 276, "08415": 276, "gate": 277, "halv": 277, "negative_slop": 279, "leaki": 279, "sum_i": 281, "x_i": [281, 303], "sum_j": 303, "x_j": 303, "join_schedul": 314, "linear_schedul": [314, 330], "boundari": 330, "join": 330, "transit": 330, "warmup": [330, 331], "0999938": 330, "101": 331}, "objects": {"mlx.core": [[7, 0, 1, "", "Device"], [8, 0, 1, "", "Dtype"], [207, 0, 1, "", "Stream"], [9, 2, 1, "", "abs"], [10, 2, 1, "", "add"], [11, 2, 1, "", "all"], [12, 2, 1, "", "allclose"], [13, 2, 1, "", "any"], [14, 2, 1, "", "arange"], [15, 2, 1, "", "arccos"], [16, 2, 1, "", "arccosh"], [17, 2, 1, "", "arcsin"], [18, 2, 1, "", "arcsinh"], [19, 2, 1, "", "arctan"], [20, 2, 1, "", "arctanh"], [21, 2, 1, "", "argmax"], [22, 2, 1, "", "argmin"], [23, 2, 1, "", "argpartition"], [24, 2, 1, "", "argsort"], [25, 0, 1, "", "array"], [59, 2, 1, "", "array_equal"], [60, 2, 1, "", "atleast_1d"], [61, 2, 1, "", "atleast_2d"], [62, 2, 1, "", "atleast_3d"], [63, 2, 1, "", "broadcast_to"], [64, 2, 1, "", "ceil"], [65, 2, 1, "", "clip"], [66, 2, 1, "", "compile"], [67, 2, 1, "", "concatenate"], [68, 2, 1, "", "conv1d"], [69, 2, 1, "", "conv2d"], [70, 2, 1, "", "conv_general"], [71, 2, 1, "", "convolve"], [72, 2, 1, "", "cos"], [73, 2, 1, "", "cosh"], [74, 2, 1, "", "default_device"], [75, 2, 1, "", "default_stream"], [76, 2, 1, "", "dequantize"], [77, 2, 1, "", "diag"], [78, 2, 1, "", "diagonal"], [79, 2, 1, "", "disable_compile"], [80, 2, 1, "", "divide"], [81, 2, 1, "", "divmod"], [82, 2, 1, "", "enable_compile"], [83, 2, 1, "", "equal"], [84, 2, 1, "", "erf"], [85, 2, 1, "", "erfinv"], [86, 2, 1, "", "eval"], [87, 2, 1, "", "exp"], [88, 2, 1, "", "expand_dims"], [89, 2, 1, "", "eye"], [102, 2, 1, "", "flatten"], [103, 2, 1, "", "floor"], [104, 2, 1, "", "floor_divide"], [105, 2, 1, "", "full"], [106, 2, 1, "", "grad"], [107, 2, 1, "", "greater"], [108, 2, 1, "", "greater_equal"], [109, 2, 1, "", "identity"], [110, 2, 1, "", "inner"], [111, 2, 1, "", "isinf"], [112, 2, 1, "", "isnan"], [113, 2, 1, "", "isneginf"], [114, 2, 1, "", "isposinf"], [115, 2, 1, "", "jvp"], [116, 2, 1, "", "less"], [117, 2, 1, "", "less_equal"], [120, 2, 1, "", "linspace"], [121, 2, 1, "", "load"], [122, 2, 1, "", "log"], [123, 2, 1, "", "log10"], [124, 2, 1, "", "log1p"], [125, 2, 1, "", "log2"], [126, 2, 1, "", "logaddexp"], [127, 2, 1, "", "logical_and"], [128, 2, 1, "", "logical_not"], [129, 2, 1, "", "logical_or"], [130, 2, 1, "", "logsumexp"], [131, 2, 1, "", "matmul"], [132, 2, 1, "", "max"], [133, 2, 1, "", "maximum"], [134, 2, 1, "", "mean"], [135, 2, 1, "", "min"], [136, 2, 1, "", "minimum"], [137, 2, 1, "", "moveaxis"], [138, 2, 1, "", "multiply"], [139, 2, 1, "", "negative"], [140, 2, 1, "", "new_stream"], [141, 2, 1, "", "ones"], [142, 2, 1, "", "ones_like"], [143, 2, 1, "", "outer"], [144, 2, 1, "", "pad"], [145, 2, 1, "", "partition"], [146, 2, 1, "", "prod"], [147, 2, 1, "", "quantize"], [148, 2, 1, "", "quantized_matmul"], [159, 2, 1, "", "reciprocal"], [160, 2, 1, "", "repeat"], [161, 2, 1, "", "reshape"], [162, 2, 1, "", "round"], [163, 2, 1, "", "rsqrt"], [164, 2, 1, "", "save"], [165, 2, 1, "", "save_gguf"], [166, 2, 1, "", "save_safetensors"], [167, 2, 1, "", "savez"], [168, 2, 1, "", "savez_compressed"], [169, 2, 1, "", "set_default_device"], [170, 2, 1, "", "set_default_stream"], [171, 2, 1, "", "sigmoid"], [172, 2, 1, "", "sign"], [173, 2, 1, "", "sin"], [174, 2, 1, "", "sinh"], [175, 2, 1, "", "softmax"], [176, 2, 1, "", "sort"], [177, 2, 1, "", "split"], [178, 2, 1, "", "sqrt"], [179, 2, 1, "", "square"], [180, 2, 1, "", "squeeze"], [181, 2, 1, "", "stack"], [182, 2, 1, "", "stop_gradient"], [183, 2, 1, "", "stream"], [184, 2, 1, "", "subtract"], [185, 2, 1, "", "sum"], [186, 2, 1, "", "swapaxes"], [187, 2, 1, "", "take"], [188, 2, 1, "", "take_along_axis"], [189, 2, 1, "", "tan"], [190, 2, 1, "", "tanh"], [191, 2, 1, "", "tensordot"], [192, 2, 1, "", "transpose"], [193, 2, 1, "", "tri"], [194, 2, 1, "", "tril"], [195, 2, 1, "", "triu"], [196, 2, 1, "", "value_and_grad"], [197, 2, 1, "", "var"], [198, 2, 1, "", "vjp"], [199, 2, 1, "", "vmap"], [200, 2, 1, "", "where"], [201, 2, 1, "", "zeros"], [202, 2, 1, "", "zeros_like"]], "mlx.core.Device": [[7, 1, 1, "", "__init__"]], "mlx.core.Dtype": [[8, 1, 1, "", "__init__"]], "mlx.core.Stream": [[207, 1, 1, "", "__init__"]], "mlx.core.array": [[26, 3, 1, "", "T"], [25, 1, 1, "", "__init__"], [27, 1, 1, "", "abs"], [28, 1, 1, "", "all"], [29, 1, 1, "", "any"], [30, 1, 1, "", "argmax"], [31, 1, 1, "", "argmin"], [32, 1, 1, "", "astype"], [33, 1, 1, "", "cos"], [34, 3, 1, "", "dtype"], [35, 1, 1, "", "exp"], [36, 1, 1, "", "item"], [37, 1, 1, "", "log"], [38, 1, 1, "", "log1p"], [39, 1, 1, "", "logsumexp"], [40, 1, 1, "", "max"], [41, 1, 1, "", "mean"], [42, 1, 1, "", "min"], [43, 3, 1, "", "ndim"], [44, 1, 1, "", "prod"], [45, 1, 1, "", "reciprocal"], [46, 1, 1, "", "reshape"], [47, 1, 1, "", "round"], [48, 1, 1, "", "rsqrt"], [49, 3, 1, "", "shape"], [50, 1, 1, "", "sin"], [51, 3, 1, "", "size"], [52, 1, 1, "", "split"], [53, 1, 1, "", "sqrt"], [54, 1, 1, "", "square"], [55, 1, 1, "", "sum"], [56, 1, 1, "", "tolist"], [57, 1, 1, "", "transpose"], [58, 1, 1, "", "var"]], "mlx.core.fft": [[90, 2, 1, "", "fft"], [91, 2, 1, "", "fft2"], [92, 2, 1, "", "fftn"], [93, 2, 1, "", "ifft"], [94, 2, 1, "", "ifft2"], [95, 2, 1, "", "ifftn"], [96, 2, 1, "", "irfft"], [97, 2, 1, "", "irfft2"], [98, 2, 1, "", "irfftn"], [99, 2, 1, "", "rfft"], [100, 2, 1, "", "rfft2"], [101, 2, 1, "", "rfftn"]], "mlx.core.linalg": [[118, 2, 1, "", "norm"], [119, 2, 1, "", "qr"]], "mlx.core.random": [[149, 2, 1, "", "bernoulli"], [150, 2, 1, "", "categorical"], [151, 2, 1, "", "gumbel"], [152, 2, 1, "", "key"], [153, 2, 1, "", "normal"], [154, 2, 1, "", "randint"], [155, 2, 1, "", "seed"], [156, 2, 1, "", "split"], [157, 2, 1, "", "truncated_normal"], [158, 2, 1, "", "uniform"]], "mlx.nn": [[214, 0, 1, "", "ALiBi"], [215, 0, 1, "", "AvgPool1d"], [216, 0, 1, "", "AvgPool2d"], [217, 0, 1, "", "BatchNorm"], [218, 0, 1, "", "Conv1d"], [219, 0, 1, "", "Conv2d"], [220, 0, 1, "", "Dropout"], [221, 0, 1, "", "Dropout2d"], [222, 0, 1, "", "Dropout3d"], [223, 0, 1, "", "Embedding"], [224, 0, 1, "", "GELU"], [225, 0, 1, "", "GroupNorm"], [226, 0, 1, "", "InstanceNorm"], [227, 0, 1, "", "LayerNorm"], [228, 0, 1, "", "Linear"], [229, 0, 1, "", "MaxPool1d"], [230, 0, 1, "", "MaxPool2d"], [231, 0, 1, "", "Mish"], [312, 0, 1, "", "Module"], [251, 0, 1, "", "MultiHeadAttention"], [252, 0, 1, "", "PReLU"], [253, 0, 1, "", "QuantizedLinear"], [254, 0, 1, "", "RMSNorm"], [255, 0, 1, "", "ReLU"], [256, 0, 1, "", "RoPE"], [257, 0, 1, "", "SELU"], [258, 0, 1, "", "Sequential"], [259, 0, 1, "", "SiLU"], [260, 0, 1, "", "SinusoidalPositionalEncoding"], [261, 0, 1, "", "Softshrink"], [262, 0, 1, "", "Step"], [263, 0, 1, "", "Transformer"], [264, 0, 1, "", "Upsample"], [273, 2, 1, "", "elu"], [274, 2, 1, "", "gelu"], [275, 2, 1, "", "gelu_approx"], [276, 2, 1, "", "gelu_fast_approx"], [277, 2, 1, "", "glu"], [278, 2, 1, "", "hardswish"], [279, 2, 1, "", "leaky_relu"], [280, 2, 1, "", "log_sigmoid"], [281, 2, 1, "", "log_softmax"], [296, 2, 1, "", "mish"], [297, 2, 1, "", "prelu"], [298, 2, 1, "", "relu"], [299, 2, 1, "", "relu6"], [300, 2, 1, "", "selu"], [301, 2, 1, "", "sigmoid"], [302, 2, 1, "", "silu"], [303, 2, 1, "", "softmax"], [304, 2, 1, "", "softplus"], [305, 2, 1, "", "softshrink"], [306, 2, 1, "", "step"], [307, 2, 1, "", "tanh"], [203, 2, 1, "", "value_and_grad"]], "mlx.nn.Module": [[232, 1, 1, "", "apply"], [233, 1, 1, "", "apply_to_modules"], [234, 1, 1, "", "children"], [235, 1, 1, "", "eval"], [236, 1, 1, "", "filter_and_map"], [237, 1, 1, "", "freeze"], [238, 1, 1, "", "leaf_modules"], [239, 1, 1, "", "load_weights"], [240, 1, 1, "", "modules"], [241, 1, 1, "", "named_modules"], [242, 1, 1, "", "parameters"], [243, 1, 1, "", "save_weights"], [244, 3, 1, "", "state"], [245, 1, 1, "", "train"], [246, 1, 1, "", "trainable_parameters"], [247, 3, 1, "", "training"], [248, 1, 1, "", "unfreeze"], [249, 1, 1, "", "update"], [250, 1, 1, "", "update_modules"]], "mlx.nn.init": [[265, 2, 1, "", "constant"], [266, 2, 1, "", "glorot_normal"], [267, 2, 1, "", "glorot_uniform"], [268, 2, 1, "", "he_normal"], [269, 2, 1, "", "he_uniform"], [270, 2, 1, "", "identity"], [271, 2, 1, "", "normal"], [272, 2, 1, "", "uniform"]], "mlx.nn.losses": [[282, 2, 1, "", "binary_cross_entropy"], [283, 2, 1, "", "cosine_similarity_loss"], [284, 2, 1, "", "cross_entropy"], [285, 2, 1, "", "gaussian_nll_loss"], [286, 2, 1, "", "hinge_loss"], [287, 2, 1, "", "huber_loss"], [288, 2, 1, "", "kl_div_loss"], [289, 2, 1, "", "l1_loss"], [290, 2, 1, "", "log_cosh_loss"], [291, 2, 1, "", "margin_ranking_loss"], [292, 2, 1, "", "mse_loss"], [293, 2, 1, "", "nll_loss"], [294, 2, 1, "", "smooth_l1_loss"], [295, 2, 1, "", "triplet_loss"]], "mlx.optimizers": [[315, 0, 1, "", "AdaDelta"], [316, 0, 1, "", "Adafactor"], [317, 0, 1, "", "Adagrad"], [318, 0, 1, "", "Adam"], [319, 0, 1, "", "AdamW"], [320, 0, 1, "", "Adamax"], [321, 0, 1, "", "Lion"], [334, 0, 1, "", "Optimizer"], [326, 0, 1, "", "RMSprop"], [327, 0, 1, "", "SGD"], [328, 2, 1, "", "cosine_decay"], [329, 2, 1, "", "exponential_decay"], [330, 2, 1, "", "join_schedules"], [331, 2, 1, "", "linear_schedule"], [332, 2, 1, "", "step_decay"]], "mlx.optimizers.Optimizer": [[322, 1, 1, "", "apply_gradients"], [323, 1, 1, "", "init"], [324, 3, 1, "", "state"], [325, 1, 1, "", "update"]], "mlx.utils": [[204, 2, 1, "", "tree_flatten"], [205, 2, 1, "", "tree_map"], [206, 2, 1, "", "tree_unflatten"]]}, "objtypes": {"0": "py:class", "1": "py:method", "2": "py:function", "3": "py:property"}, "objnames": {"0": ["py", "class", "Python class"], "1": ["py", "method", "Python method"], "2": ["py", "function", "Python function"], "3": ["py", "property", "Python property"]}, "titleterms": {"oper": [0, 1, 313], "develop": 1, "document": 1, "introduc": 1, "exampl": [1, 5, 339, 346], "primit": 1, "us": [1, 342, 347], "implement": [1, 3], "cpu": 1, "backend": 1, "gpu": 1, "transform": [1, 263, 337, 339, 340, 342, 344], "build": [1, 6], "bind": 1, "python": [1, 5, 6], "cmake": 1, "setuptool": 1, "usag": [1, 5], "result": 1, "script": [1, 3], "download": [1, 3], "code": [1, 3], "linear": [2, 212, 228], "regress": 2, "llm": 3, "infer": 3, "model": 3, "attent": 3, "layer": [3, 4, 310], "encod": 3, "full": [3, 105], "gener": 3, "put": 3, "all": [3, 11, 28], "togeth": 3, "convert": 3, "weight": 3, "load": [3, 121, 345], "benchmark": 3, "multi": 4, "perceptron": 4, "mlx": [5, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 203, 204, 205, 206, 207, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332], "instal": [5, 6], "api": [5, 6], "refer": 5, "c": [5, 6], "further": 5, "read": 5, "troubleshoot": 6, "from": [6, 341], "sourc": 6, "requir": 6, "option": 6, "metal": 6, "found": 6, "x86": 6, "shell": 6, "core": [7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127, 128, 129, 130, 131, 132, 133, 134, 135, 136, 137, 138, 139, 140, 141, 142, 143, 144, 145, 146, 147, 148, 149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 159, 160, 161, 162, 163, 164, 165, 166, 167, 168, 169, 170, 171, 172, 173, 174, 175, 176, 177, 178, 179, 180, 181, 182, 183, 184, 185, 186, 187, 188, 189, 190, 191, 192, 193, 194, 195, 196, 197, 198, 199, 200, 201, 202, 207], "devic": [7, 210], "dtype": [8, 34], "stream": [183, 207, 210, 347], "ab": [9, 27], "add": 10, "allclos": 12, "ani": [13, 29], "arang": 14, "arcco": 15, "arccosh": 16, "arcsin": 17, "arcsinh": 18, "arctan": 19, "arctanh": 20, "argmax": [21, 30], "argmin": [22, 31], "argpartit": 23, "argsort": 24, "arrai": [25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 208, 341, 345], "t": 26, "astyp": 32, "co": [33, 72], "exp": [35, 87], "item": 36, "log": [37, 122], "log1p": [38, 124], "logsumexp": [39, 130], "max": [40, 132], "mean": [41, 134], "min": [42, 135], "ndim": 43, "prod": [44, 146], "reciproc": [45, 159], "reshap": [46, 161], "round": [47, 162], "rsqrt": [48, 163], "shape": 49, "sin": [50, 173], "size": 51, "split": [52, 156, 177], "sqrt": [53, 178], "squar": [54, 179], "sum": [55, 185], "tolist": 56, "transpos": [57, 192], "var": [58, 197], "array_equ": 59, "broadcast_to": 63, "ceil": 64, "clip": 65, "compil": [66, 339], "concaten": 67, "conv1d": [68, 218], "conv2d": [69, 219], "convolv": 71, "cosh": 73, "default_devic": 74, "default_stream": 75, "dequant": 76, "diag": 77, "diagon": 78, "disable_compil": 79, "divid": 80, "divmod": 81, "enable_compil": 82, "equal": 83, "erf": 84, "erfinv": 85, "eval": [86, 235], "expand_dim": 88, "ey": 89, "fft": [90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 211], "fft2": 91, "fftn": 92, "ifft": 93, "ifft2": 94, "ifftn": 95, "irfft": 96, "irfft2": 97, "irfftn": 98, "rfft": 99, "rfft2": 100, "rfftn": 101, "flatten": 102, "floor": 103, "floor_divid": 104, "grad": [106, 213], "greater": 107, "greater_equ": 108, "ident": [109, 270], "inner": 110, "isinf": 111, "isnan": 112, "isneginf": 113, "isposinf": 114, "jvp": 115, "less": 116, "less_equ": 117, "linalg": [118, 119], "norm": 118, "qr": 119, "linspac": 120, "log10": 123, "log2": 125, "logaddexp": 126, "logical_and": 127, "logical_not": 128, "logical_or": 129, "matmul": 131, "maximum": 133, "minimum": 136, "moveaxi": 137, "multipli": 138, "neg": 139, "new_stream": 140, "ones": 141, "ones_lik": 142, "outer": 143, "pad": 144, "partit": 145, "quantiz": 147, "quantized_matmul": 148, "random": [149, 150, 151, 152, 153, 154, 155, 156, 157, 158, 336], "bernoulli": 149, "categor": 150, "gumbel": 151, "kei": 152, "normal": [153, 271], "randint": 154, "seed": 155, "truncated_norm": 157, "uniform": [158, 272], "repeat": 160, "save": [164, 345], "save_gguf": 165, "save_safetensor": 166, "savez": 167, "savez_compress": 168, "set_default_devic": 169, "set_default_stream": 170, "sigmoid": [171, 301], "sign": 172, "sinh": 174, "softmax": [175, 303], "sort": 176, "squeez": 180, "stack": 181, "stop_gradi": 182, "subtract": 184, "swapax": 186, "take": 187, "take_along_axi": 188, "tan": 189, "tanh": [190, 307], "tensordot": 191, "tri": 193, "tril": 194, "triu": 195, "value_and_grad": [196, 203], "vjp": 198, "vmap": 199, "where": 200, "zero": 201, "zeros_lik": 202, "nn": [203, 214, 215, 216, 217, 218, 219, 220, 221, 222, 223, 224, 225, 226, 227, 228, 229, 230, 231, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 251, 252, 253, 254, 255, 256, 257, 258, 259, 260, 261, 262, 263, 264, 265, 266, 267, 268, 269, 270, 271, 272, 273, 274, 275, 276, 277, 278, 279, 280, 281, 282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 296, 297, 298, 299, 300, 301, 302, 303, 304, 305, 306, 307], "optim": [314, 315, 316, 317, 318, 319, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330, 331, 332, 333, 334], "adadelta": 315, "adafactor": 316, "adagrad": 317, "adam": 318, "adamw": 319, "adamax": 320, "lion": 321, "apply_gradi": 322, "init": [265, 266, 267, 268, 269, 270, 271, 272, 323], "state": [244, 324], "updat": [213, 249, 325, 341], "rmsprop": 326, "sgd": 327, "util": [204, 205, 206, 338], "tree_flatten": 204, "tree_map": 205, "tree_unflatten": 206, "data": 209, "type": 209, "support": 209, "algebra": 212, "neural": 213, "network": 213, "quick": [213, 344], "start": [213, 344], "The": 213, "modul": [213, 232, 233, 234, 235, 236, 237, 238, 239, 240, 241, 242, 243, 244, 245, 246, 247, 248, 249, 250, 312], "class": 213, "paramet": [213, 242], "inspect": 213, "valu": 213, "alibi": 214, "batchnorm": 217, "dropout": 220, "dropout2d": 221, "dropout3d": 222, "embed": 223, "gelu": [224, 274], "groupnorm": 225, "instancenorm": 226, "layernorm": 227, "mish": [231, 296], "appli": 232, "apply_to_modul": 233, "children": 234, "filter_and_map": 236, "freez": 237, "leaf_modul": 238, "load_weight": 239, "named_modul": 241, "save_weight": 243, "train": [245, 247, 339], "trainable_paramet": 246, "unfreez": 248, "update_modul": 250, "multiheadattent": 251, "prelu": [252, 297], "quantizedlinear": 253, "rmsnorm": 254, "relu": [255, 298], "rope": 256, "selu": [257, 300], "sequenti": 258, "silu": [259, 302], "sinusoidalpositionalencod": 260, "softshrink": [261, 305], "step": [262, 306], "constant": 265, "glorot_norm": 266, "glorot_uniform": 267, "he_norm": 268, "he_uniform": 269, "gelu_approx": 275, "gelu_fast_approx": 276, "loss": [282, 283, 284, 285, 286, 287, 288, 289, 290, 291, 292, 293, 294, 295, 311], "binary_cross_entropi": 282, "cosine_similarity_loss": 283, "cross_entropi": 284, "gaussian_nll_loss": 285, "hinge_loss": 286, "huber_loss": 287, "kl_div_loss": 288, "l1_loss": 289, "log_cosh_loss": 290, "margin_ranking_loss": 291, "mse_loss": 292, "nll_loss": 293, "smooth_l1_loss": 294, "triplet_loss": 295, "function": [308, 311, 339, 340, 344], "initi": 309, "tree": 338, "basic": [339, 344], "speedup": 339, "debug": 339, "pure": 339, "graph": [339, 342, 344], "automat": 340, "differenti": 340, "vector": 340, "index": 341, "differ": 341, "numpi": [341, 343], "In": 341, "place": 341, "lazi": 342, "evalu": 342, "why": 342, "comput": 342, "onli": 342, "what": 342, "you": 342, "when": 342, "convers": 343, "other": 343, "framework": 343, "pytorch": 343, "jax": 343, "tensorflow": 343, "guid": 344, "serial": 345, "format": 345, "unifi": 346, "memori": 346, "A": 346, "simpl": 346, "specifi": 347, "avgpool1d": 215, "avgpool2d": 216, "maxpool1d": 229, "maxpool2d": 230, "cosine_decai": 328, "exponential_decai": 329, "step_decai": 332, "common": 333, "schedul": 335, "atleast_1d": 60, "atleast_2d": 61, "atleast_3d": 62, "conv_gener": 70, "upsampl": 264, "elu": 273, "glu": 277, "hardswish": 278, "leaky_relu": 279, "log_sigmoid": 280, "log_softmax": 281, "relu6": 299, "softplu": 304, "join_schedul": 330, "linear_schedul": 331}, "envversion": {"sphinx.domains.c": 2, "sphinx.domains.changeset": 1, "sphinx.domains.citation": 1, "sphinx.domains.cpp": 6, "sphinx.domains.index": 1, "sphinx.domains.javascript": 2, "sphinx.domains.math": 2, "sphinx.domains.python": 3, "sphinx.domains.rst": 2, "sphinx.domains.std": 2, "sphinx.ext.intersphinx": 1, "sphinx": 56}})
\ No newline at end of file
diff --git a/docs/build/html/usage/compile.html b/docs/build/html/usage/compile.html
index 062532d3..2428cfd2 100644
--- a/docs/build/html/usage/compile.html
+++ b/docs/build/html/usage/compile.html
@@ -9,7 +9,7 @@
- Compilation — MLX 0.3.0 documentation
+ Compilation — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/usage/function_transforms.html b/docs/build/html/usage/function_transforms.html
index 8c1ce50d..a7a98a34 100644
--- a/docs/build/html/usage/function_transforms.html
+++ b/docs/build/html/usage/function_transforms.html
@@ -9,7 +9,7 @@
- Function Transforms — MLX 0.3.0 documentation
+ Function Transforms — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/usage/indexing.html b/docs/build/html/usage/indexing.html
index 085eb56a..00de482f 100644
--- a/docs/build/html/usage/indexing.html
+++ b/docs/build/html/usage/indexing.html
@@ -9,7 +9,7 @@
- Indexing Arrays — MLX 0.3.0 documentation
+ Indexing Arrays — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/usage/lazy_evaluation.html b/docs/build/html/usage/lazy_evaluation.html
index 99c6d48b..eba3bc66 100644
--- a/docs/build/html/usage/lazy_evaluation.html
+++ b/docs/build/html/usage/lazy_evaluation.html
@@ -9,7 +9,7 @@
- Lazy Evaluation — MLX 0.3.0 documentation
+ Lazy Evaluation — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/usage/numpy.html b/docs/build/html/usage/numpy.html
index d9165815..a8775d91 100644
--- a/docs/build/html/usage/numpy.html
+++ b/docs/build/html/usage/numpy.html
@@ -9,7 +9,7 @@
- Conversion to NumPy and Other Frameworks — MLX 0.3.0 documentation
+ Conversion to NumPy and Other Frameworks — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/usage/quick_start.html b/docs/build/html/usage/quick_start.html
index 51f9ce32..bd7cecc5 100644
--- a/docs/build/html/usage/quick_start.html
+++ b/docs/build/html/usage/quick_start.html
@@ -9,7 +9,7 @@
- Quick Start Guide — MLX 0.3.0 documentation
+ Quick Start Guide — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/usage/saving_and_loading.html b/docs/build/html/usage/saving_and_loading.html
index 90572c53..9c803d37 100644
--- a/docs/build/html/usage/saving_and_loading.html
+++ b/docs/build/html/usage/saving_and_loading.html
@@ -9,7 +9,7 @@
- Saving and Loading Arrays — MLX 0.3.0 documentation
+ Saving and Loading Arrays — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/usage/unified_memory.html b/docs/build/html/usage/unified_memory.html
index aa90d440..89b68517 100644
--- a/docs/build/html/usage/unified_memory.html
+++ b/docs/build/html/usage/unified_memory.html
@@ -9,7 +9,7 @@
- Unified Memory — MLX 0.3.0 documentation
+ Unified Memory — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers
diff --git a/docs/build/html/usage/using_streams.html b/docs/build/html/usage/using_streams.html
index 3a41c2d1..e52e4079 100644
--- a/docs/build/html/usage/using_streams.html
+++ b/docs/build/html/usage/using_streams.html
@@ -9,7 +9,7 @@
- Using Streams — MLX 0.3.0 documentation
+ Using Streams — MLX 0.5.0 documentation
@@ -134,8 +134,8 @@
-
-
+
+
@@ -233,6 +233,9 @@
mlx.core.argpartition
mlx.core.argsort
mlx.core.array_equal
+mlx.core.atleast_1d
+mlx.core.atleast_2d
+mlx.core.atleast_3d
mlx.core.broadcast_to
mlx.core.ceil
mlx.core.clip
@@ -240,6 +243,7 @@
mlx.core.convolve
mlx.core.conv1d
mlx.core.conv2d
+mlx.core.conv_general
mlx.core.cos
mlx.core.cosh
mlx.core.dequantize
@@ -436,19 +440,31 @@
mlx.nn.Softshrink
mlx.nn.Step
mlx.nn.Transformer
+mlx.nn.Upsample
Functions
Loss Functions
Schedulers