docs update

This commit is contained in:
Awni Hannun
2024-03-14 12:46:45 -07:00
committed by CircleCI Docs
parent 2bc2b00a93
commit ba2f0b1e8e
411 changed files with 15444 additions and 13066 deletions

View File

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

View File

@@ -0,0 +1,6 @@
mlx.core.metal.get\_active\_memory
==================================
.. currentmodule:: mlx.core.metal
.. autofunction:: get_active_memory

View File

@@ -0,0 +1,6 @@
mlx.core.metal.get\_cache\_memory
=================================
.. currentmodule:: mlx.core.metal
.. autofunction:: get_cache_memory

View File

@@ -0,0 +1,6 @@
mlx.core.metal.get\_peak\_memory
================================
.. currentmodule:: mlx.core.metal
.. autofunction:: get_peak_memory

View File

@@ -0,0 +1,6 @@
mlx.core.metal.is\_available
============================
.. currentmodule:: mlx.core.metal
.. autofunction:: is_available

View File

@@ -0,0 +1,6 @@
mlx.core.metal.set\_cache\_limit
================================
.. currentmodule:: mlx.core.metal
.. autofunction:: set_cache_limit

View File

@@ -0,0 +1,6 @@
mlx.core.metal.set\_memory\_limit
=================================
.. currentmodule:: mlx.core.metal
.. autofunction:: set_memory_limit

View File

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

View File

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

View File

@@ -1,19 +0,0 @@
mlx.optimizers.AdaDelta
=======================
.. currentmodule:: mlx.optimizers
.. autoclass:: AdaDelta
.. rubric:: Methods
.. autosummary::
~AdaDelta.__init__
~AdaDelta.apply_single
~AdaDelta.init_single

View File

@@ -1,19 +0,0 @@
mlx.optimizers.Adafactor
========================
.. currentmodule:: mlx.optimizers
.. autoclass:: Adafactor
.. rubric:: Methods
.. autosummary::
~Adafactor.__init__
~Adafactor.apply_single
~Adafactor.init_single

View File

@@ -1,19 +0,0 @@
mlx.optimizers.Adagrad
======================
.. currentmodule:: mlx.optimizers
.. autoclass:: Adagrad
.. rubric:: Methods
.. autosummary::
~Adagrad.__init__
~Adagrad.apply_single
~Adagrad.init_single

View File

@@ -1,19 +0,0 @@
mlx.optimizers.Adam
===================
.. currentmodule:: mlx.optimizers
.. autoclass:: Adam
.. rubric:: Methods
.. autosummary::
~Adam.__init__
~Adam.apply_single
~Adam.init_single

View File

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

View File

@@ -1,19 +0,0 @@
mlx.optimizers.Adamax
=====================
.. currentmodule:: mlx.optimizers
.. autoclass:: Adamax
.. rubric:: Methods
.. autosummary::
~Adamax.__init__
~Adamax.apply_single
~Adamax.init_single

View File

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

View File

@@ -1,6 +0,0 @@
mlx.optimizers.Optimizer.apply\_gradients
=========================================
.. currentmodule:: mlx.optimizers
.. automethod:: Optimizer.apply_gradients

View File

@@ -1,6 +0,0 @@
mlx.optimizers.Optimizer.init
=============================
.. currentmodule:: mlx.optimizers
.. automethod:: Optimizer.init

View File

@@ -1,6 +0,0 @@
mlx.optimizers.Optimizer.state
==============================
.. currentmodule:: mlx.optimizers
.. autoproperty:: Optimizer.state

View File

@@ -1,6 +0,0 @@
mlx.optimizers.Optimizer.update
===============================
.. currentmodule:: mlx.optimizers
.. automethod:: Optimizer.update

View File

@@ -1,19 +0,0 @@
mlx.optimizers.RMSprop
======================
.. currentmodule:: mlx.optimizers
.. autoclass:: RMSprop
.. rubric:: Methods
.. autosummary::
~RMSprop.__init__
~RMSprop.apply_single
~RMSprop.init_single

View File

@@ -1,19 +0,0 @@
mlx.optimizers.SGD
==================
.. currentmodule:: mlx.optimizers
.. autoclass:: SGD
.. rubric:: Methods
.. autosummary::
~SGD.__init__
~SGD.apply_single
~SGD.init_single

View File

@@ -1,28 +0,0 @@
mlx.core.Stream
===============
.. currentmodule:: mlx.core
.. autoclass:: Stream
.. automethod:: __init__
.. rubric:: Methods
.. autosummary::
~Stream.__init__
.. rubric:: Attributes
.. autosummary::
~Stream.device

View File

@@ -1,28 +0,0 @@
mlx.core.Device
===============
.. currentmodule:: mlx.core
.. autoclass:: Device
.. automethod:: __init__
.. rubric:: Methods
.. autosummary::
~Device.__init__
.. rubric:: Attributes
.. autosummary::
~Device.type

View File

@@ -1,28 +0,0 @@
mlx.core.Stream
===============
.. currentmodule:: mlx.core
.. autoclass:: Stream
.. automethod:: __init__
.. rubric:: Methods
.. autosummary::
~Stream.__init__
.. rubric:: Attributes
.. autosummary::
~Stream.device

View File

@@ -0,0 +1,14 @@
Metal
=====
.. currentmodule:: mlx.core.metal
.. autosummary::
:toctree: _autosummary
is_available
get_active_memory
get_peak_memory
get_cache_memory
set_memory_limit
set_cache_limit

View File

@@ -0,0 +1,6 @@
mlx.nn.GRU
==========
.. currentmodule:: mlx.nn
.. autoclass:: GRU

View File

@@ -0,0 +1,6 @@
mlx.nn.LSTM
===========
.. currentmodule:: mlx.nn
.. autoclass:: LSTM

View File

@@ -0,0 +1,6 @@
mlx.nn.RNN
==========
.. currentmodule:: mlx.nn
.. autoclass:: RNN

View File

@@ -21,9 +21,11 @@ Layers
Embedding
GELU
GroupNorm
GRU
InstanceNorm
LayerNorm
Linear
LSTM
MaxPool1d
MaxPool2d
Mish
@@ -32,6 +34,7 @@ Layers
QuantizedLinear
RMSNorm
ReLU
RNN
RoPE
SELU
Sequential

View File

@@ -57,6 +57,7 @@ Operations
greater_equal
identity
inner
isclose
isnan
isposinf
isneginf
@@ -121,6 +122,8 @@ Operations
tan
tanh
tensordot
tile
topk
transpose
tri
tril

View File

@@ -1,23 +0,0 @@
Optimizer
=========
.. currentmodule:: mlx.optimizers
.. autoclass:: Optimizer
.. rubric:: Attributes
.. autosummary::
:toctree: _autosummary
Optimizer.state
.. rubric:: Methods
.. autosummary::
:toctree: _autosummary
Optimizer.apply_gradients
Optimizer.init
Optimizer.update