This commit is contained in:
Awni Hannun
2023-12-17 13:23:03 -08:00
committed by CircleCI Docs
parent 65b0bdffe1
commit 9d7133097f
319 changed files with 39952 additions and 21579 deletions

View File

@@ -26,6 +26,7 @@
~array.cumprod
~array.cumsum
~array.exp
~array.flatten
~array.item
~array.log
~array.log10
@@ -35,6 +36,7 @@
~array.max
~array.mean
~array.min
~array.moveaxis
~array.prod
~array.reciprocal
~array.reshape
@@ -45,6 +47,7 @@
~array.square
~array.squeeze
~array.sum
~array.swapaxes
~array.tolist
~array.transpose
~array.var

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -0,0 +1,58 @@
mlx.nn.Module
=============
.. currentmodule:: mlx.nn
.. autoclass:: Module
.. automethod:: __init__
.. rubric:: Methods
.. autosummary::
~Module.__init__
~Module.apply
~Module.apply_to_modules
~Module.children
~Module.clear
~Module.copy
~Module.eval
~Module.filter_and_map
~Module.freeze
~Module.fromkeys
~Module.get
~Module.is_module
~Module.items
~Module.keys
~Module.leaf_modules
~Module.load_weights
~Module.modules
~Module.named_modules
~Module.parameters
~Module.pop
~Module.popitem
~Module.save_weights
~Module.setdefault
~Module.train
~Module.trainable_parameter_filter
~Module.trainable_parameters
~Module.unfreeze
~Module.update
~Module.valid_child_filter
~Module.valid_parameter_filter
~Module.values
.. rubric:: Attributes
.. autosummary::
~Module.training

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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