Files
mlx/docs/build/doctrees/python/array.doctree

205 lines
51 KiB
Plaintext
Raw Normal View History

2024-01-17 17:15:29 -08:00
<EFBFBD><05><><EFBFBD><00>sphinx.addnodes<65><73>document<6E><74><EFBFBD>)<29><>}<7D>(<28> rawsource<63><65><00><>children<65>]<5D>(<28>docutils.nodes<65><73>target<65><74><EFBFBD>)<29><>}<7D>(h<05>
.. _array:<3A>h]<5D><>
attributes<EFBFBD>}<7D>(<28>ids<64>]<5D><>classes<65>]<5D><>names<65>]<5D><>dupnames<65>]<5D><>backrefs<66>]<5D><>refid<69><64>array<61>u<EFBFBD>tagname<6D>h
<EFBFBD>line<6E>K<01>parent<6E>h<03> _document<6E>h<03>source<63><65>5/Users/awnihannun/repos/mlx/docs/src/python/array.rst<73>ubh <09>section<6F><6E><EFBFBD>)<29><>}<7D>(hhh]<5D>(h <09>title<6C><65><EFBFBD>)<29><>}<7D>(h<05>Array<61>h]<5D>h <09>Text<78><74><EFBFBD><EFBFBD>Array<61><79><EFBFBD><EFBFBD><EFBFBD>}<7D>(h h+h!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhh)h h&h!hh"h#hKubh<00>tabular_col_spec<65><63><EFBFBD>)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>spec<65><63>\X{1}{2}\X{1}{2}<7D>uhh;h h&h!hh"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hNub<75>sphinx.ext.autosummary<72><79>autosummary_table<6C><65><EFBFBD>)<29><>}<7D>(hX<>
array
An N-dimensional array object.
array.astype(self, dtype[, stream])
Cast the array to a specified type.
array.item(self)
Access the value of a scalar array.
array.tolist(self)
Convert the array to a Python list.
array.dtype
The array's Dtype.
array.ndim
The array's dimension.
array.shape
The shape of the array as a Python list.
array.size
Number of elements in the array.
Dtype
An object to hold the type of a array.
array.abs(self, *[, stream])
See abs().
array.all(self[, axis, keepdims, stream])
See all().
array.any(self[, axis, keepdims, stream])
See any().
array.argmax(self[, axis, keepdims, stream])
See argmax().
array.argmin(self[, axis, keepdims, stream])
See argmin().
array.cos(self, *[, stream])
See cos().
array.dtype
The array's Dtype.
array.exp(self, *[, stream])
See exp().
array.log(self, *[, stream])
See log().
array.log1p(self, *[, stream])
See log1p().
array.logsumexp(self[, axis, keepdims, stream])
See logsumexp().
array.max(self[, axis, keepdims, stream])
See max().
array.mean(self[, axis, keepdims, stream])
See mean().
array.min(self[, axis, keepdims, stream])
See min().
array.prod(self[, axis, keepdims, stream])
See prod().
array.reciprocal(self, *[, stream])
See reciprocal().
array.reshape(self, *args[, stream])
Equivalent to reshape() but the shape can be passed either as a tuple or as separate arguments.
array.round(self, /[, decimals, stream])
See round().
array.rsqrt(self, *[, stream])
See rsqrt().
array.sin(self, *[, stream])
See sin().
array.split(self, indices_or_sections[, ...])
See split().
array.sqrt(self, *[, stream])
See sqrt().
array.square(self, *[, stream])
See square().
array.sum(self[, axis, keepdims, stream])
See sum().
array.transpose(self, *args[, stream])
Equivalent to transpose() but the axes can be passed either as a tuple or as separate arguments.
array.T
Equivalent to calling self.transpose() with no arguments.
array.var(self[, axis, keepdims, ddof, stream])
See var().<2E>h]<5D>h <09>table<6C><65><EFBFBD>)<29><>}<7D>(hhh]<5D>h <09>tgroup<75><70><EFBFBD>)<29><>}<7D>(hhh]<5D>(h <09>colspec<65><63><EFBFBD>)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>colwidth<74>K
uhhZh hWubh[)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>colwidth<74>KZuhhZh hWubh <09>tbody<64><79><EFBFBD>)<29><>}<7D>(hhh]<5D>(h <09>row<6F><77><EFBFBD>)<29><>}<7D>(hhh]<5D>(h <09>entry<72><79><EFBFBD>)<29><>}<7D>(hhh]<5D>h <09> paragraph<70><68><EFBFBD>)<29><>}<7D>(h<05>!:py:obj:`array <mlx.core.array>`\<5C>h]<5D>(h<00> pending_xref<65><66><EFBFBD>)<29><>}<7D>(h<05> :py:obj:`array <mlx.core.array>`<60>h]<5D>h <09>literal<61><6C><EFBFBD>)<29><>}<7D>(hh<>h]<5D>h0<68>array<61><79><EFBFBD><EFBFBD><EFBFBD>}<7D>(h h<>h!hh"NhNubah}<7D>(h]<5D>h]<5D>(<28>xref<65><66>py<70><79>py-obj<62>eh]<5D>h]<5D>h]<5D>uhh<>h h<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F><63> python/array<61><79> refdomain<69>h<EFBFBD><68>reftype<70><65>obj<62><6A> refexplicit<69><74><EFBFBD>refwarn<72><6E><EFBFBD> py:module<6C><65>mlx.core<72><65>py:class<73>N<EFBFBD> reftarget<65><74>mlx.core.array<61>uhh<>h"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh h<>ubh0h<06><><EFBFBD><EFBFBD>}<7D>(h h<>h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"h<>hKh h|ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh hwubh{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>An N-dimensional array object.<2E>h]<5D>h0<68>An N-dimensional array object.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h h<>h!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh h<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh hwubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhuh hrubhv)<29><>}<7D>(hhh]<5D>(h{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>M:py:obj:`array.astype <mlx.core.array.astype>`\ \(self\, dtype\[\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05>.:py:obj:`array.astype <mlx.core.array.astype>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hh<>h]<5D>h0<68> array.astype<70><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h h<>h!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-obj<62>eh]<5D>h]<5D>h]<5D>uhh<>h h<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>h<EFBFBD><68>reftype<70><65>obj<62><6A> refexplicit<69><74><EFBFBD>refwarn<72><6E>h<EFBFBD>h<EFBFBD>h<EFBFBD>Nh<4E><68>mlx.core.array.astype<70>uhh<>h"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh h<>ubh0<68>(self, dtype[, stream])<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h h<>h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"jhKh h<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh h<>ubh{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>#Cast the array to a specified type.<2E>h]<5D>h0<68>#Cast the array to a specified type.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jh!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh jubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh h<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhuh hrubhv)<29><>}<7D>(hhh]<5D>(h{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>4:py:obj:`array.item <mlx.core.array.item>`\ \(self\)<29>h]<5D>(h<>)<29><>}<7D>(h<05>*:py:obj:`array.item <mlx.core.array.item>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hjBh]<5D>h0<68>
array.item<65><6D><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jDh!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-obj<62>eh]<5D>h]<5D>h]<5D>uhh<>h j@ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>jN<00>reftype<70><65>obj<62><6A> refexplicit<69><74><EFBFBD>refwarn<72><6E>h<EFBFBD>h<EFBFBD>h<EFBFBD>Nh<4E><68>mlx.core.array.item<65>uhh<>h"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh j<ubh0<68>(self)<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"j`hKh j9ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh j6ubh{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>#Access the value of a scalar array.<2E>h]<5D>h0<68>#Access the value of a scalar array.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jth!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh jqubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh j6ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhuh hrubhv)<29><>}<7D>(hhh]<5D>(h{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>8:py:obj:`array.tolist <mlx.core.array.tolist>`\ \(self\)<29>h]<5D>(h<>)<29><>}<7D>(h<05>.:py:obj:`array.tolist <mlx.core.array.tolist>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj<>h]<5D>h0<68> array.tolist<73><74><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-obj<62>eh]<5D>h]<5D>h]<5D>uhh<>h j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>j<EFBFBD><00>reftype<70><65>obj<62><6A> refexplicit<69><74><EFBFBD>refwarn<72><6E>h<EFBFBD>h<EFBFBD>h<EFBFBD>Nh<4E><68>mlx.core.array.tolist<73>uhh<>h"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh j<>ubh0<68>(self)<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"j<>hKh j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh j<>ubh{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>,Convert the array to a Python :class:`list`.<2E>h]<5D>(h0<68>Convert the array to a Python <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubh<62>)<29><>}<7D>(h<05> :class:`list`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj<>h]<5D>h0<68>list<73><74><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-class<73>eh]<5D>h]<5D>h]<5D>uhh<>h j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>j<EFBFBD><00>reftype<70><65>class<73><73> refexplicit<69><74><EFBFBD>refwarn<72><6E>h<EFBFBD>h<EFBFBD>h<EFBFBD>Nh<4E><68>list<73>uhh<>h"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh j<>ubh0<68>.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"j<>hKh j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhuh hrubhv)<29><>}<7D>(hhh]<5D>(h{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>-:py:obj:`array.dtype <mlx.core.array.dtype>`\<5C>h]<5D>(h<>)<29><>}<7D>(h<05>,:py:obj:`array.dtype <mlx.core.array.dtype>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hjh]<5D>h0<68> array.dtype<70><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jh!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-obj<62>eh]<5D>h]<5D>h]<5D>uhh<>h jubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>j$<00>reftype<70><65>obj<62><6A> refexplicit<69><74><EFBFBD>refwarn<72><6E>h<EFBFBD>h<EFBFBD>h<EFBFBD>Nh<4E><68>mlx.core.array.dtype<70>uhh<>h"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh jubh0h<06><><EFBFBD><EFBFBD>}<7D>(h jh!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"j6hKh jubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh j ubh{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>The array's :class:`Dtype`.<2E>h]<5D>(h0<68> The array's <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jIh!hh"NhNubh<62>)<29><>}<7D>(h<05>:class:`Dtype`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hjSh]<5D>h0<68>Dtype<70><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jUh!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-class<73>eh]<5D>h]<5D>h]<5D>uhh<>h jQubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>j_<00>reftype<70><65>class<73><73> refexplicit<69><74><EFBFBD>refwarn<72><6E>h<EFBFBD>h<EFBFBD>h<EFBFBD>Nh<4E><68>Dtype<70>uhh<>h"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh jIubh0<68>.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jIh!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"jqhKh jFubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh j ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhuh hrubhv)<29><>}<7D>(hhh]<5D>(h{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>+:py:obj:`array.ndim <mlx.core.array.ndim>`\<5C>h]<5D>(h<>)<29><>}<7D>(h<05>*:py:obj:`array.ndim <mlx.core.array.ndim>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj<>h]<5D>h0<68>
array.ndim<69><6D><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-obj<62>eh]<5D>h]<5D>h]<5D>uhh<>h j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>j<EFBFBD><00>reftype<70><65>obj<62><6A> refexplicit<69><74><EFBFBD>refwarn<72><6E>h<EFBFBD>h<EFBFBD>h<EFBFBD>Nh<4E><68>mlx.core.array.ndim<69>uhh<>h"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh j<>ubh0h<06><><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"j<>hKh j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh j<>ubh{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>The array's dimension.<2E>h]<5D>h0<68>The array's dimension.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhuh hrubhv)<29><>}<7D>(hhh]<5D>(h{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>-:py:obj:`array.shape <mlx.core.array.shape>`\<5C>h]<5D>(h<>)<29><>}<7D>(h<05>,:py:obj:`array.shape <mlx.core.array.shape>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj<>h]<5D>h0<68> array.shape<70><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-obj<62>eh]<5D>h]<5D>h]<5D>uhh<>h j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>j<EFBFBD><00>reftype<70><65>obj<62><6A> refexplicit<69><74><EFBFBD>refwarn<72><6E>h<EFBFBD>h<EFBFBD>h<EFBFBD>Nh<4E><68>mlx.core.array.shape<70>uhh<>h"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh j<>ubh0h<06><><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"j
hKh j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh j<>ubh{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>(The shape of the array as a Python list.<2E>h]<5D>h0<68>(The shape of the array as a Python list.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jh!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh jubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhuh hrubhv)<29><>}<7D>(hhh]<5D>(h{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>+:py:obj:`array.size <mlx.core.array.size>`\<5C>h]<5D>(h<>)<29><>}<7D>(h<05>*:py:obj:`array.size <mlx.core.array.size>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hjDh]<5D>h0<68>
array.size<7A><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jFh!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-obj<62>eh]<5D>h]<5D>h]<5D>uhh<>h jBubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>jP<00>reftype<70><65>obj<62><6A> refexplicit<69><74><EFBFBD>refwarn<72><6E>h<EFBFBD>h<EFBFBD>h<EFBFBD>Nh<4E><68>mlx.core.array.size<7A>uhh<>h"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh j>ubh0h<06><><EFBFBD><EFBFBD>}<7D>(h j>h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"jbhKh j;ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh j8ubh{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05> Number of elements in the array.<2E>h]<5D>h0<68> Number of elements in the array.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h juh!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh jrubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh j8ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhuh hrubhv)<29><>}<7D>(hhh]<5D>(h{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>!:py:obj:`Dtype <mlx.core.Dtype>`\<5C>h]<5D>(h<>)<29><>}<7D>(h<05> :py:obj:`Dtype <mlx.core.Dtype>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj<>h]<5D>h0<68>Dtype<70><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-obj<62>eh]<5D>h]<5D>h]<5D>uhh<>h j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>j<EFBFBD><00>reftype<70><65>obj<62><6A> refexplicit<69><74><EFBFBD>refwarn<72><6E>h<EFBFBD>h<EFBFBD>h<EFBFBD>Nh<4E><68>mlx.core.Dtype<70>uhh<>h"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh j<>ubh0h<06><><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"j<>hKh j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh j<>ubh{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>/An object to hold the type of a :class:`array`.<2E>h]<5D>(h0<68> An object to hold the type of a <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubh<62>)<29><>}<7D>(h<05>:class:`array`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj<>h]<5D>h0<68>array<61><79><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-class<73>eh]<5D>h]<5D>h]<5D>uhh<>h j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>j<EFBFBD><00>reftype<70><65>class<73><73> refexplicit<69><74><EFBFBD>refwarn<72><6E>h<EFBFBD>h<EFBFBD>h<EFBFBD>Nh<4E><68>array<61>uhh<>h"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh j<>ubh0<68>.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"j<>hKh j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhuh hrubhv)<29><>}<7D>(hhh]<5D>(h{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>D:py:obj:`array.abs <mlx.core.array.abs>`\ \(self\, \*\[\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05>(:py:obj:`array.abs <mlx.core.array.abs>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hjh]<5D>h0<68> array.abs<62><73><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jh!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-obj<62>eh]<5D>h]<5D>h]<5D>uhh<>h jubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>j$<00>reftype<70><65>obj<62><6A> refexplicit<69><74><EFBFBD>refwarn<72><6E>h<EFBFBD>h<EFBFBD>h<EFBFBD>Nh<4E><68>mlx.core.array.abs<62>uhh<>h"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh jubh0<68>(self, *[, stream])<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jh!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"j6hKh jubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh j ubh{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>See :func:`abs`.<2E>h]<5D>(h0<68>See <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jJh!hh"NhNubh<62>)<29><>}<7D>(h<05> :func:`abs`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hjTh]<5D>h0<68>abs()<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jVh!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-func<6E>eh]<5D>h]<5D>h]<5D>uhh<>h jRubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>j`<00>reftype<70><65>func<6E><63> refexplicit<69><74><EFBFBD>refwarn<72><6E>h<EFBFBD>h<EFBFBD>h<EFBFBD>Nh<4E><68>abs<62>uhh<>h"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh jJubh0<68>.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jJh!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"jrhKh jGubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh j ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhuh hrubhv)<29><>}<7D>(hhh]<5D>(h{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>Q:py:obj:`array.all <mlx.core.array.all>`\ \(self\[\, axis\, keepdims\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05>(:py:obj:`array.all <mlx.core.array.all>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj<>h]<5D>h0<68> array.all<6C><6C><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-obj<62>eh]<5D>h]<5D>h]<5D>uhh<>h j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>j<EFBFBD><00>reftype<70><65>obj<62><6A> refexplicit<69><74><EFBFBD>refwarn<72><6E>h<EFBFBD>h<EFBFBD>h<EFBFBD>Nh<4E><68>mlx.core.array.all<6C>uhh<>h"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh j<>ubh0<68> (self[, axis, keepdims, stream])<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"j<>hKh j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh j<>ubh{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>See :func:`all`.<2E>h]<5D>(h0<68>See <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubh<62>)<29><>}<7D>(h<05> :func:`all`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj<>h]<5D>h0<68>all()<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubah
ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>j<00>reftype<70><65>obj<62><6A> refexplicit<69><74><EFBFBD>refwarn<72><6E>h<EFBFBD>h<EFBFBD>h<EFBFBD>Nh<4E><68>mlx.core.array.argmin<69>uhh<>h"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh jubh0<68> (self[, axis, keepdims, stream])<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jh!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"j*hKh jubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh jubh{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>See :func:`argmin`.<2E>h]<5D>(h0<68>See <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j>h!hh"NhNubh<62>)<29><>}<7D>(h<05>:func:`argmin`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hjHh]<5D>h0<68>argmin()<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jJh!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-func<6E>eh]<5D>h]<5D>h]<5D>uhh<>h jFubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>jT<00>reftype<70><65>func<6E><63> refexplicit<69><74><EFBFBD>refwarn<72><6E>h<EFBFBD>h<EFBFBD>h<EFBFBD>Nh<4E><68>argmin<69>uhh<>h"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh j>ubh0<68>.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j>h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"jfhKh j;ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh jubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhuh hrubhv)<29><>}<7D>(hhh]<5D>(h{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>D:py:obj:`array.cos <mlx.core.array.cos>`\ \(self\, \*\[\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05>(:py:obj:`array.cos <mlx.core.array.cos>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj<>h]<5D>h0<68> array.cos<6F><73><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-obj<62>eh]<5D>h]<5D>h]<5D>uhh<>h j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>j<EFBFBD><00>reftype<70><65>obj<62><6A> refexplicit<69><74><EFBFBD>refwarn<72><6E>h<EFBFBD>h<EFBFBD>h<EFBFBD>Nh<4E><68>mlx.core.array.cos<6F>uhh<>h"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh j<>ubh0<68>(self, *[, stream])<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"j<>hKh j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh j}ubh{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>See :func:`cos`.<2E>h]<5D>(h0<68>See <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubh<62>)<29><>}<7D>(h<05> :func:`cos`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj<>h]<5D>h0<68>cos()<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-func<6E>eh]<5D>h]<5D>h]<5D>uhh<>h j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>j<EFBFBD><00>reftype<70><65>func<6E><63> refexplicit<69><74><EFBFBD>refwarn<72><6E>h<EFBFBD>h<EFBFBD>h<EFBFBD>Nh<4E><68>cos<6F>uhh<>h"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh j<>ubh0<68>.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"j<>hKh j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh j}ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhuh hrubhv)<29><>}<7D>(hhh]<5D>(h{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>-:py:obj:`array.dtype <mlx.core.array.dtype>`\<5C>h]<5D>(h<>)<29><>}<7D>(h<05>,:py:obj:`array.dtype <mlx.core.array.dtype>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hjh]<5D>h0<68> array.dtype<70><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jh!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-obj<62>eh]<5D>h]<5D>h]<5D>uhh<>h jubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>j<00>reftype<70><65>obj<62><6A> refexplicit<69><74><EFBFBD>refwarn<72><6E>h<EFBFBD>h<EFBFBD>h<EFBFBD>Nh<4E><68>mlx.core.array.dtype<70>uhh<>h"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh jubh0h<06><><EFBFBD><EFBFBD>}<7D>(h jh!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"j$hKh j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh j<>ubh{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>The array's :class:`Dtype`.<2E>h]<5D>(h0<68> The array's <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j7h!hh"NhNubh<62>)<29><>}<7D>(h<05>:class:`Dtype`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hjAh]<5D>h0<68>Dtype<70><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jCh!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-class<73>eh]<5D>h]<5D>h]<5D>uhh<>h j?ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>jM<00>reftype<70><65>class<73><73> refexplicit<69><74><EFBFBD>refwarn<72><6E>h<EFBFBD>h<EFBFBD>h<EFBFBD>Nh<4E><68>Dtype<70>uhh<>h"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh j7ubh0<68>.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j7h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"j_hKh j4ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhuh hrubhv)<29><>}<7D>(hhh]<5D>(h{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>D:py:obj:`array.exp <mlx.core.array.exp>`\ \(self\, \*\[\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05>(:py:obj:`array.exp <mlx.core.array.exp>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj<>h]<5D>h0<68> array.exp<78><70><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-obj<62>eh]<5D>h]<5D>h]<5D>uhh<>h j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>j<EFBFBD><00>reftype<70><65>obj<62><6A> refexplicit<69><74><EFBFBD>refwarn<72><6E>h<EFBFBD>h<EFBFBD>h<EFBFBD>Nh<4E><68>mlx.core.array.exp<78>uhh<>h"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh j|ubh0<68>(self, *[, stream])<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j|h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"j<>hKh jyubah}<7D>(h]<5D>h]<5D>h
array.mean<61><6E><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<> h!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-obj<62>eh]<5D>h]<5D>h]<5D>uhh<>h j<> ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>j<EFBFBD> <00>reftype<70><65>obj<62><6A> refexplicit<69><74><EFBFBD>refwarn<72><6E>h<EFBFBD>h<EFBFBD>h<EFBFBD>Nh<4E><68>mlx.core.array.mean<61>uhh<>h"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh j<> ubh0<68> (self[, axis, keepdims, stream])<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<> h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"j
hKh j<> ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh j<> ubh{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>See :func:`mean`.<2E>h]<5D>(h0<68>See <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j%
h!hh"NhNubh<62>)<29><>}<7D>(h<05> :func:`mean`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj/
h]<5D>h0<68>mean()<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j1
h!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-func<6E>eh]<5D>h]<5D>h]<5D>uhh<>h j-
ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>j;
<00>reftype<70><65>func<6E><63> refexplicit<69><74><EFBFBD>refwarn<72><6E>h<EFBFBD>h<EFBFBD>h<EFBFBD>Nh<4E><68>mean<61>uhh<>h"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh j%
ubh0<68>.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j%
h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"jM
hKh j"
ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh j<> ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhuh hrubhv)<29><>}<7D>(hhh]<5D>(h{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>Q:py:obj:`array.min <mlx.core.array.min>`\ \(self\[\, axis\, keepdims\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05>(:py:obj:`array.min <mlx.core.array.min>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hjp
h]<5D>h0<68> array.min<69><6E><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jr
h!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-obj<62>eh]<5D>h]<5D>h]<5D>uhh<>h jn
ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>j|
<00>reftype<70><65>obj<62><6A> refexplicit<69><74><EFBFBD>refwarn<72><6E>h<EFBFBD>h<EFBFBD>h<EFBFBD>Nh<4E><68>mlx.core.array.min<69>uhh<>h"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh jj
ubh0<68> (self[, axis, keepdims, stream])<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jj
h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"j<>
hKh jg
ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh jd
ubh{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>See :func:`min`.<2E>h]<5D>(h0<68>See <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>
h!hh"NhNubh<62>)<29><>}<7D>(h<05> :func:`min`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj<>
h]<5D>h0<68>min()<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>
h!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-func<6E>eh]<5D>h]<5D>h]<5D>uhh<>h j<>
ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>j<EFBFBD>
<00>reftype<70><65>func<6E><63> refexplicit<69><74><EFBFBD>refwarn<72><6E>h<EFBFBD>h<EFBFBD>h<EFBFBD>Nh<4E><68>min<69>uhh<>h"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh j<>
ubh0<68>.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>
h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"j<>
hKh j<>
ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh jd
ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhuh hrubhv)<29><>}<7D>(hhh]<5D>(h{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>S:py:obj:`array.prod <mlx.core.array.prod>`\ \(self\[\, axis\, keepdims\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05>*:py:obj:`array.prod <mlx.core.array.prod>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj<>
h]<5D>h0<68>
array.prod<6F><64><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>
h!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-obj<62>eh]<5D>h]<5D>h]<5D>uhh<>h j<>
ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>j<EFBFBD>
<00>reftype<70><65>obj<62><6A> refexplicit<69><74><EFBFBD>refwarn<72><6E>h<EFBFBD>h<EFBFBD>h<EFBFBD>Nh<4E><68>mlx.core.array.prod<6F>uhh<>h"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh j<>
ubh0<68> (self[, axis, keepdims, stream])<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>
h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"j hKh j<>
ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh j<>
ubh{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>See :func:`prod`.<2E>h]<5D>(h0<68>See <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j h!hh"NhNubh<62>)<29><>}<7D>(h<05> :func:`prod`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj) h]<5D>h0<68>prod()<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j+ h!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-func<6E>eh]<5D>h]<5D>h]<5D>uhh<>h j' ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>j5 <00>reftype<70><65>func<6E><63> refexplicit<69><74><EFBFBD>refwarn<72><6E>h<EFBFBD>h<EFBFBD>h<EFBFBD>Nh<4E><68>prod<6F>uhh<>h"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh j ubh0<68>.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"jG hKh j ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh j<>
ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhuh hrubhv)<29><>}<7D>(hhh]<5D>(h{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>R:py:obj:`array.reciprocal <mlx.core.array.reciprocal>`\ \(self\, \*\[\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05>6:py:obj:`array.reciprocal <mlx.core.array.reciprocal>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hjj h]<5D>h0<68>array.reciprocal<61><6C><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jl h!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-obj<62>eh]<5D>h]<5D>h]<5D>uhh<>h jh ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>jv <00>reftype<70><65>obj<62><6A> refexplicit<69><74><EFBFBD>refwarn<72><6E>h<EFBFBD>h<EFBFBD>h<EFBFBD>Nh<4E><68>mlx.core.array.reciprocal<61>uhh<>h"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh jd ubh0<68>(self, *[, stream])<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jd h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"j<> hKh ja ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh j^ ubh{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>See :func:`reciprocal`.<2E>h]<5D>(h0<68>See <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<> h!hh"NhNubh<62>)<29><>}<7D>(h<05>:func:`reciprocal`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj<> h]<5D>h0<68> reciprocal()<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<> h!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-func<6E>eh]<5D>h]<5D>h]<5D>uhh<>h j<> ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>j<EFBFBD> <00>reftype<70><65>func<6E><63> refexplicit<69><74><EFBFBD>refwarn<72><6E>h<EFBFBD>h<EFBFBD>h<EFBFBD>Nh<4E><68>
reciprocal<EFBFBD>uhh<>h"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh j<> ubh0<68>.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<> h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"j<> hKh j<> ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh j^ ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhuh hrubhv)<29><>}<7D>(hhh]<5D>(h{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>P:py:obj:`array.reshape <mlx.core.array.reshape>`\ \(self\, \*args\[\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05>0:py:obj:`array.reshape <mlx.core.array.reshape>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj<> h]<5D>h0<68> array.reshape<70><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<> h!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-obj<62>eh]<5D>h]<5D>h]<5D>uhh<>h j<> ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>j<EFBFBD> <00>reftype<70><65>obj<62><6A> refexplicit<69><74><EFBFBD>refwarn<72><6E>h<EFBFBD>h<EFBFBD>h<EFBFBD>Nh<4E><68>mlx.core.array.reshape<70>uhh<>h"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh j<> ubh0<68>(self, *args[, stream])<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<> h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"j hKh j<> ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh j<> ubh{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>eEquivalent to :func:`reshape` but the shape can be passed either as a tuple or as separate arguments.<2E>h]<5D>(h0<68>Equivalent to <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j h!hh"NhNubh<62>)<29><>}<7D>(h<05>:func:`reshape`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj# h]<5D>h0<68> reshape()<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j% h!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-func<6E>eh]<5D>h]<5D>h]<5D>uhh<>h j! ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>j/ <00>reftype<70><65>func<6E><63> refexplicit<69><74><EFBFBD>refwarn<72><6E>h<EFBFBD>h<EFBFBD>h<EFBFBD>Nh<4E><68>reshape<70>uhh<>h"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh j ubh0<68>H but the shape can be passed either as a tuple or as separate arguments.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"jA hKh j ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh j<> ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhuh hrubhv)<29><>}<7D>(hhh]<5D>(h{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>S:py:obj:`array.round <mlx.core.array.round>`\ \(self\, \/\[\, decimals\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05>,:py:obj:`array.round <mlx.core.array.round>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hjd h]<5D>h0<68> array.round<6E><64><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jf h!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-obj<62>eh]<5D>h]<5D>h]<5D>uhh<>h jb ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>jp <00>reftype<70><65>obj<62><6A> refexplicit<69><74><EFBFBD>refwarn<72><6E>h<EFBFBD>h<EFBFBD>h<EFBFBD>Nh<4E><68>mlx.core.array.round<6E>uhh<>h"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh j^ ubh0<68>(self, /[, decimals, stream])<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j^ h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"j<> hKh j[ ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh jX ubh{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>See :func:`round`.<2E>h]<5D>(h0<68>See <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<> h!hh"NhNubh<62>)<29><>}<7D>(h<05> :func:`round`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj<> h]<5D>h0<68>round()<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<> h!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-func<6E>eh]<5D>h]<5D>h]<5D>uhh<>h j<> ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>j<EFBFBD> <00>reftype<70><65>func<6E><63> refexplicit<69><74><EFBFBD>refwarn<72><6E>h<EFBFBD>h<EFBFBD>h<EFBFBD>Nh<4E><68>round<6E>uhh<>h"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh j<> ubh0<68>.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<> h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"j<> hKh j<> ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh jX ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhuh hrubhv)<29><>}<7D>(hhh]<5D>(h{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>H:py:obj:`array.rsqrt <mlx.core.array.rsqrt>`\ \(self\, \*\[\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05>,:py:obj:`array.rsqrt <mlx.core.array.rsqrt>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj<> h]<5D>h0<68> array.rsqrt<72><74><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<> h!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-obj<62>eh]<5D>h]<5D>h]<5D>uhh<>h j<> ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>j<EFBFBD> <00>reftype<70><65>obj<62><6A> refexplicit<69><74><EFBFBD>refwarn<72><6E>h<EFBFBD>h<EFBFBD>h<EFBFBD>Nh<4E><68>mlx.core.array.rsqrt<72>uhh<>h"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh j<> ubh0<68>(self, *[, stream])<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<> h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"j<> hKh j<> ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh j<> ubh{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>See :func:`rsqrt`.<2E>h]<5D>(h0<68>See <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j h!hh"NhNubh<62>)<29><>}<7D>(h<05> :func:`rsqrt`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj h]<5D>h0<68>rsqrt()<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j h!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-func<6E>eh]<5D>h]<5D>h]<5D>uhh<>h j ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>j) <00>reftype<70><65>func<6E><63> refexplicit<69><74><EFBFBD>refwarn<72><6E>h<EFBFBD>h<EFBFBD>h<EFBFBD>Nh<4E><68>rsqrt<72>uhh<>h"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary
ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh j<> ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhuh hrubhv)<29><>}<7D>(hhh]<5D>(h{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>F:py:obj:`array.sqrt <mlx.core.array.sqrt>`\ \(self\, \*\[\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05>*:py:obj:`array.sqrt <mlx.core.array.sqrt>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hjXh]<5D>h0<68>
array.sqrt<72><74><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jZh!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-obj<62>eh]<5D>h]<5D>h]<5D>uhh<>h jVubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>jd<00>reftype<70><65>obj<62><6A> refexplicit<69><74><EFBFBD>refwarn<72><6E>h<EFBFBD>h<EFBFBD>h<EFBFBD>Nh<4E><68>mlx.core.array.sqrt<72>uhh<>h"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh jRubh0<68>(self, *[, stream])<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jRh!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"jvhKh jOubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh jLubh{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>See :func:`sqrt`.<2E>h]<5D>(h0<68>See <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubh<62>)<29><>}<7D>(h<05> :func:`sqrt`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj<>h]<5D>h0<68>sqrt()<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-func<6E>eh]<5D>h]<5D>h]<5D>uhh<>h j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>j<EFBFBD><00>reftype<70><65>func<6E><63> refexplicit<69><74><EFBFBD>refwarn<72><6E>h<EFBFBD>h<EFBFBD>h<EFBFBD>Nh<4E><68>sqrt<72>uhh<>h"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh j<>ubh0<68>.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"j<>hKh j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh jLubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhuh hrubhv)<29><>}<7D>(hhh]<5D>(h{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>J:py:obj:`array.square <mlx.core.array.square>`\ \(self\, \*\[\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05>.:py:obj:`array.square <mlx.core.array.square>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj<>h]<5D>h0<68> array.square<72><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-obj<62>eh]<5D>h]<5D>h]<5D>uhh<>h j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>j<EFBFBD><00>reftype<70><65>obj<62><6A> refexplicit<69><74><EFBFBD>refwarn<72><6E>h<EFBFBD>h<EFBFBD>h<EFBFBD>Nh<4E><68>mlx.core.array.square<72>uhh<>h"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh j<>ubh0<68>(self, *[, stream])<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"j<>hKh j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh j<>ubh{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>See :func:`square`.<2E>h]<5D>(h0<68>See <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jh!hh"NhNubh<62>)<29><>}<7D>(h<05>:func:`square`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hjh]<5D>h0<68>square()<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jh!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-func<6E>eh]<5D>h]<5D>h]<5D>uhh<>h jubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>j<00>reftype<70><65>func<6E><63> refexplicit<69><74><EFBFBD>refwarn<72><6E>h<EFBFBD>h<EFBFBD>h<EFBFBD>Nh<4E><68>square<72>uhh<>h"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh jubh0<68>.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jh!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"j/hKh jubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh j<>ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhuh hrubhv)<29><>}<7D>(hhh]<5D>(h{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>Q:py:obj:`array.sum <mlx.core.array.sum>`\ \(self\[\, axis\, keepdims\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05>(:py:obj:`array.sum <mlx.core.array.sum>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hjRh]<5D>h0<68> array.sum<75><6D><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jTh!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-obj<62>eh]<5D>h]<5D>h]<5D>uhh<>h jPubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>j^<00>reftype<70><65>obj<62><6A> refexplicit<69><74><EFBFBD>refwarn<72><6E>h<EFBFBD>h<EFBFBD>h<EFBFBD>Nh<4E><68>mlx.core.array.sum<75>uhh<>h"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh jLubh0<68> (self[, axis, keepdims, stream])<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jLh!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"jphKh jIubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh jFubh{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>See :func:`sum`.<2E>h]<5D>(h0<68>See <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubh<62>)<29><>}<7D>(h<05> :func:`sum`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj<>h]<5D>h0<68>sum()<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-func<6E>eh]<5D>h]<5D>h]<5D>uhh<>h j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>j<EFBFBD><00>reftype<70><65>func<6E><63> refexplicit<69><74><EFBFBD>refwarn<72><6E>h<EFBFBD>h<EFBFBD>h<EFBFBD>Nh<4E><68>sum<75>uhh<>h"<22>F/Users/awnihannun/repos/mlx/docs/src/python/array.rst:46:<autosummary><3E>hKh j<>ubh0<68>.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"j<>hKh j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh jFubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhuh hrubhv)<29><>}<7D>(hhh]<5D>(h{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>T:py:obj:`array.transpose <mlx.core.array.transpose>`\ \(self\, \*args\[\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05>4:py:obj:`array.transpose <mlx.core.array.transpose>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj<>h]<5D>h0<68>array.transpose<73><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-obj<62>eh]<5D>h]<5D>h]<5D>uhh<>h j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>j<EFBFBD><00>reftype<70><65>obj<62><6A> refexplicit<69><74><EFBFBD>refwarn<72><6E>h<EFBFBD>h<EFBFBD>h<EFBFBD>Nh<4E><68>mlx.core.array.transpose<73>uhh<>h"<22>F/Users/awnihannun/repos/mlx/d
rawentries<EFBFBD>]<5D>uhjGh jDubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>j@jAuhjBh h&h!hh"hHhNubeh}<7D>(h]<5D>(h<1D>id1<64>eh]<5D>h]<5D><>array<61>ah]<5D><>array<61>ah]<5D>uhh$h hh!hh"h#hK<04>
referenced<EFBFBD>K<01>expect_referenced_by_name<6D>}<7D>j<EFBFBD>h s<>expect_referenced_by_id<69>}<7D>hh subeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>source<63>h#uhh<01>current_source<63>N<EFBFBD> current_line<6E>N<EFBFBD>settings<67><73>docutils.frontend<6E><64>Values<65><73><EFBFBD>)<29><>}<7D>(h)N<> generator<6F>N<EFBFBD> datestamp<6D>N<EFBFBD> source_link<6E>N<EFBFBD>
source_url<EFBFBD>N<EFBFBD> toc_backlinks<6B>hz<68>footnote_backlinks<6B>K<01> sectnum_xform<72>K<01>strip_comments<74>N<EFBFBD>strip_elements_with_classes<65>N<EFBFBD> strip_classes<65>N<EFBFBD> report_level<65>K<02>
halt_level<EFBFBD>K<05>exit_status_level<65>K<05>debug<75>N<EFBFBD>warning_stream<61>N<EFBFBD> traceback<63><6B><EFBFBD>input_encoding<6E><67> utf-8-sig<69><67>input_encoding_error_handler<65><72>strict<63><74>output_encoding<6E><67>utf-8<><38>output_encoding_error_handler<65>j<EFBFBD><00>error_encoding<6E><67>utf-8<><38>error_encoding_error_handler<65><72>backslashreplace<63><65> language_code<64><65>en<65><6E>record_dependencies<65>N<EFBFBD>config<69>N<EFBFBD> id_prefix<69>h<06>auto_id_prefix<69><78>id<69><64> dump_settings<67>N<EFBFBD>dump_internals<6C>N<EFBFBD>dump_transforms<6D>N<EFBFBD>dump_pseudo_xml<6D>N<EFBFBD>expose_internals<6C>N<EFBFBD>strict_visitor<6F>N<EFBFBD>_disable_config<69>N<EFBFBD>_source<63>h#<23> _destination<6F>N<EFBFBD> _config_files<65>]<5D><>file_insertion_enabled<65><64><EFBFBD> raw_enabled<65>K<01>line_length_limit<69>M'<27>pep_references<65>N<EFBFBD> pep_base_url<72><6C>https://peps.python.org/<2F><>pep_file_url_template<74><65>pep-%04d<34><64>rfc_references<65>N<EFBFBD> rfc_base_url<72><6C>&https://datatracker.ietf.org/doc/html/<2F><> tab_width<74>K<08>trim_footnote_reference_space<63><65><EFBFBD>syntax_highlight<68><74>long<6E><67> smart_quotes<65><73><EFBFBD>smartquotes_locales<65>]<5D><>character_level_inline_markup<75><70><EFBFBD>doctitle_xform<72><6D><EFBFBD> docinfo_xform<72>K<01>sectsubtitle_xform<72><6D><EFBFBD> image_loading<6E><67>link<6E><6B>embed_stylesheet<65><74><EFBFBD>cloak_email_addresses<65><73><EFBFBD>section_self_link<6E><6B><EFBFBD>env<6E>Nub<75>reporter<65>N<EFBFBD>indirect_targets<74>]<5D><>substitution_defs<66>}<7D><>substitution_names<65>}<7D><>refnames<65>}<7D><>refids<64>}<7D>h]<5D>h as<61>nameids<64>}<7D>j<EFBFBD>hs<> nametypes<65>}<7D>j<EFBFBD><00>sh}<7D>(hh&j<>h&u<> footnote_refs<66>}<7D><> citation_refs<66>}<7D><> autofootnotes<65>]<5D><>autofootnote_refs<66>]<5D><>symbol_footnotes<65>]<5D><>symbol_footnote_refs<66>]<5D><> footnotes<65>]<5D><> citations<6E>]<5D><>autofootnote_start<72>K<01>symbol_footnote_start<72>K<00>
id_counter<EFBFBD><EFBFBD> collections<6E><73>Counter<65><72><EFBFBD>}<7D>j<EFBFBD>Ks<><73>R<EFBFBD><52>parse_messages<65>]<5D>h <09>system_message<67><65><EFBFBD>)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>(Duplicate implicit target name: "array".<2E>h]<5D>h0<68>,Duplicate implicit target name: “array”.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j@h!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh j=ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>j<EFBFBD>a<>level<65>K<01>type<70><65>INFO<46><4F>source<63>h#<23>line<6E>Kuhj;h h&h!hh"h#hKuba<62>transform_messages<65>]<5D>j<)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(hhh]<5D>h0<68>+Hyperlink target "array" is not referenced.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>h j^sbah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh j[ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>level<65>K<01>type<70>jV<00>source<63>h#<23>line<6E>Kuhj;uba<62> transformer<65>N<EFBFBD> include_log<6F>]<5D><>
decoration<EFBFBD>Nh!hub.