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

518 lines
131 KiB
Plaintext
Raw Normal View History

2024-01-17 17:15:29 -08:00
<EFBFBD><05><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>.. _ops:<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>ops<70>u<EFBFBD>tagname<6D>h
<EFBFBD>line<6E>K<01>parent<6E>h<03> _document<6E>h<03>source<63><65>3/Users/awnihannun/repos/mlx/docs/src/python/ops.rst<73>ubh <09>section<6F><6E><EFBFBD>)<29><>}<7D>(hhh]<5D>(h <09>title<6C><65><EFBFBD>)<29><>}<7D>(h<05>
Operations<EFBFBD>h]<5D>h <09>Text<78><74><EFBFBD><EFBFBD>
Operations<EFBFBD><EFBFBD><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>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hNub<75>sphinx.ext.autosummary<72><79>autosummary_table<6C><65><EFBFBD>)<29><>}<7D>(hX<>
abs(a, /, *[, stream])
Element-wise absolute value.
add(a, b[, stream])
Element-wise addition.
all(a, /[, axis, keepdims, stream])
An and reduction over the given axes.
allclose(a, b, /[, rtol, atol, stream])
Approximate comparison of two arrays.
any(a, /[, axis, keepdims, stream])
An or reduction over the given axes.
arange(start, stop, step[, dtype, stream])
Generates ranges of numbers.
arccos(a, /, *[, stream])
Element-wise inverse cosine.
arccosh(a, /, *[, stream])
Element-wise inverse hyperbolic cosine.
arcsin(a, /, *[, stream])
Element-wise inverse sine.
arcsinh(a, /, *[, stream])
Element-wise inverse hyperbolic sine.
arctan(a, /, *[, stream])
Element-wise inverse tangent.
arctanh(a, /, *[, stream])
Element-wise inverse hyperbolic tangent.
argmax(a, /[, axis, keepdims, stream])
Indices of the maximum values along the axis.
argmin(a, /[, axis, keepdims, stream])
Indices of the minimum values along the axis.
argpartition(a, /, kth[, axis, stream])
Returns the indices that partition the array.
argsort(a, /[, axis, stream])
Returns the indices that sort the array.
array_equal(a, b[, equal_nan, stream])
Array equality check.
broadcast_to(a, /, shape, *[, stream])
Broadcast an array to the given shape.
ceil(a, /, *[, stream])
Element-wise ceil.
clip(a, /, a_min, a_max, *[, stream])
Clip the values of the array between the given minimum and maximum.
concatenate(arrays[, axis, stream])
Concatenate the arrays along the given axis.
convolve(a, v, /[, mode, stream])
The discrete convolution of 1D arrays.
conv1d(input, weight, /[, stride, padding, ...])
1D convolution over an input with several channels
conv2d(input, weight, /[, stride, padding, ...])
2D convolution over an input with several channels
cos(a, /, *[, stream])
Element-wise cosine.
cosh(a, /, *[, stream])
Element-wise hyperbolic cosine.
dequantize(w, /, scales, biases[, ...])
Dequantize the matrix w using the provided scales and biases and the group_size and bits configuration.
divide(a, b[, stream])
Element-wise division.
divmod(a, b[, stream])
Element-wise quotient and remainder.
equal(a, b[, stream])
Element-wise equality.
erf(a, /, *[, stream])
Element-wise error function.
erfinv(a, /, *[, stream])
Element-wise inverse of erf().
exp(a, /, *[, stream])
Element-wise exponential.
expand_dims(a, /, axis, *[, stream])
Add a size one dimension at the given axis.
eye(n[, m, k, dtype, stream])
Create an identity matrix or a general diagonal matrix.
flatten(a, /[, start_axis, end_axis, stream])
Flatten an array.
floor(a, /, *[, stream])
Element-wise floor.
floor_divide(a, b[, stream])
Element-wise integer division.
full(shape, vals[, dtype, stream])
Construct an array with the given value.
greater(a, b[, stream])
Element-wise greater than.
greater_equal(a, b[, stream])
Element-wise greater or equal.
identity(n[, dtype, stream])
Create a square identity matrix.
inner(a, b, /, *[, stream])
Ordinary inner product of vectors for 1-D arrays, in higher dimensions a sum product over the last axes.
isnan(a[, stream])
Return a boolean array indicating which elements are NaN.
isposinf(a[, stream])
Return a boolean array indicating which elements are positive infinity.
isneginf(a[, stream])
Return a boolean array indicating which elements are negative infinity.
isinf(a[, stream])
Return a boolean array indicating which elements are +/- inifnity.
less(a, b[, stream])
Element-wise less than.
less_equal(a, b[, stream])
Element-wise less than or equal.
linspace(start, stop[, num, dtype, stream])
Generate num evenly spaced numbers over interval [start, stop].
load(file, /[, format, stream])
Load array(s) from a binary file.
log(a, /, *[, stream])
Element-wise natural logarithm.
log2(a, /, *[, stream])
Element-wise base-2 logarithm.
log10(a, /, *[, stream])
Element-wise base-10 logarithm.
log1p(a, /, *[, stream])
Element-wise natural log of one plus the array.
logaddexp(a, b, /, *[, stream])
Element-wise log-add-exp.
logical_not(a, /, *[, stream])
Element-wise logical not.
logical_and(a, b, /, *[, stream])
Element-wise logical and.
logical_or(a, b, /, *[, stream])
Element-wise logical or.
logsumexp(a, /[, axis, keepdims, stream])
A log-sum-exp reduction over the given axes.
matmul(a, b, /, *[, stream])
Matrix multiplication.
max(a, /[, axis, keepdims, stream])
An max reduction over the given axes.
maximum(a, b, /, *[, stream])
Element-wise maximum.
mean(a, /[, axis, keepdims, stream])
Compute the mean(s) over the given axes.
min(a, /[, axis, keepdims, stream])
An min reduction over the given axes.
minimum(a, b, /, *[, stream])
Element-wise minimum.
moveaxis(a, /, source, destination, *[, stream])
Move an axis to a new position.
multiply(a, b[, stream])
Element-wise multiplication.
negative(a, /, *[, stream])
Element-wise negation.
ones(shape[, dtype, stream])
Construct an array of ones.
ones_like(a, /, *[, stream])
An array of ones like the input.
outer(a, b, /, *[, stream])
Compute the outer product of two 1-D arrays, if the array's passed are not 1-D a flatten op will be run beforehand.
partition(a, /, kth[, axis, stream])
Returns a partitioned copy of the array such that the smaller kth elements are first.
pad(a, pad_with[, constant_values, stream])
Pad an array with a constant value
prod(a, /[, axis, keepdims, stream])
An product reduction over the given axes.
quantize(w, /[, group_size, bits, stream])
Quantize the matrix w using bits bits per element.
quantized_matmul(x, w, /, scales, biases[, ...])
Perform the matrix multiplication with the quantized matrix w.
reciprocal(a, /, *[, stream])
Element-wise reciprocal.
repeat(array, repeats[, axis, stream])
Repeat an array along a specified axis.
reshape(a, /, shape, *[, stream])
Reshape an array while preserving the size.
round(a, /[, decimals, stream])
Round to the given number of decimals.
rsqrt(a, /, *[, stream])
Element-wise reciprocal and square root.
save(file, arr)
Save the array to a binary file in .npy format.
savez(file, *args, **kwargs)
Save several arrays to a binary file in uncompressed .npz format.
savez_compressed(file, *args, **kwargs)
Save several arrays to a binary file in compressed .npz format.
save_gguf(file, arrays)
Save array(s) to a binary file in .gguf format.
save_safetensors(file, arrays)
Save array(s) to a binary file in .safetensors format.
sigmoid(a, /, *[, stream])
Element-wise logistic sigmoid.
sign(a, /, *[, stream])
Element-wise sign.
sin(a, /, *[, stream])
Element-wise sine.
sinh(a, /, *[, stream])
Element-wise hyperbolic sine.
softmax(a, /[, axis, stream])
Perform the softmax along the given axis.
sort(a, /[, axis, stream])
Returns a sorted copy of the array.
split(a, /, indices_or_sections[, axis, stream])
Split an array along a given axis.
sqrt(a, /, *[, stream])
Element-wise square root.
square(a, /, *[, stream])
Element-wise square.
squeeze(a, /[, axis, stream])
Remove length one axes from an array.
stack(arrays[, axis, stream])
Stacks the arrays along a new axis.
stop_gradient(a, /, *[, stream])
Stop gradients from being computed.
subtract(a, b[, stream])
Element-wise subtraction.
sum(a, /[, axis, keepdims, stream])
Sum reduce the array over the given axes.
swapaxes(a, /, axis1, axis2, *[, stream])
Swap two axes of an array.
take(a, /, indices[, axis, stream])
Take elements along an axis.
take_along_axis(a, /, indices[, axis, stream])
Take values along an axis at the specified indices.
tan(a, /, *[, stream])
Element-wise tangent.
tanh(a, /, *[, stream])
Element-wise hyperbolic tangent.
tensordot(a, b, /[, dims, stream])
Compute the tensor dot product along the specified axes.
transpose(a, /[, axes, stream])
Transpose the dimensions of the array.
tri(n, m, k[, dtype, stream])
An array with ones at and below the given diagonal and zeros elsewhere.
tril(x, k, *[, stream])
Zeros the array above the given diagonal.
triu(x, k, *[, stream])
Zeros the array below the given diagonal.
var(a, /[, axis, keepdims, ddof, stream])
Compute the variance(s) over the given axes.
where(condition, x, y, /, *[, stream])
Select from x or y according to condition.
zeros(shape[, dtype, stream])
Construct an array of zeros.
zeros_like(a, /, *[, stream])
An array of zeros like the input.<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:`abs <mlx.core.abs>`\ \(a\, \/\, \*\[\, stream\]\)<29>h]<5D>(h<00> pending_xref<65><66><EFBFBD>)<29><>}<7D>(h<05>:py:obj:`abs <mlx.core.abs>`<60>h]<5D>h <09>literal<61><6C><EFBFBD>)<29><>}<7D>(hh<>h]<5D>h0<68>abs<62><73><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/ops<70><73> 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.abs<62>uhh<>h"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh h<>ubh0<68>(a, /, *[, stream])<29><><EFBFBD><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>Element-wise absolute value.<2E>h]<5D>h0<68>Element-wise absolute value.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h h<>h!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<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>4:py:obj:`add <mlx.core.add>`\ \(a\, b\[\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05>:py:obj:`add <mlx.core.add>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hh<>h]<5D>h0<68>add<64><64><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.add<64>uhh<>h"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh h<>ubh0<68>(a, b[, 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>Element-wise addition.<2E>h]<5D>h0<68>Element-wise addition.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jh!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<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>G:py:obj:`all <mlx.core.all>`\ \(a\, \/\[\, axis\, keepdims\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05>:py:obj:`all <mlx.core.all>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hjCh]<5D>h0<68>all<6C><6C><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jEh!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-obj<62>eh]<5D>h]<5D>h]<5D>uhh<>h jAubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>jO<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.all<6C>uhh<>h"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh j=ubh0<68> (a, /[, 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"jahKh j:ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh j7ubh{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>'An `and` reduction over the given axes.<2E>h]<5D>(h0<68>An <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h juh!hh"NhNubh <09>title_reference<63><65><EFBFBD>)<29><>}<7D>(h<05>`and`<60>h]<5D>h0<68>and<6E><64><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jh!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhj}h juubh0<68> reduction over the given axes.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h juh!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh jrubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh j7ubeh}<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:`allclose <mlx.core.allclose>`\ \(a\, b\, \/\[\, rtol\, atol\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05>&:py:obj:`allclose <mlx.core.allclose>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj<>h]<5D>h0<68>allclose<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.allclose<73>uhh<>h"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh j<>ubh0<68>(a, b, /[, rtol, atol, 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>%Approximate comparison of two arrays.<2E>h]<5D>h0<68>%Approximate comparison of two arrays.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<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>G:py:obj:`any <mlx.core.any>`\ \(a\, \/\[\, axis\, keepdims\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05>:py:obj:`any <mlx.core.any>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj h]<5D>h0<68>any<6E><79><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 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.any<6E>uhh<>h"<22>E/Users/awnihannun
h!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<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:`arctan <mlx.core.arctan>`\ \(a\, \/\, \*\[\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05>":py:obj:`arctan <mlx.core.arctan>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj1h]<5D>h0<68>arctan<61><6E><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j3h!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=<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.arctan<61>uhh<>h"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh j+ubh0<68>(a, /, *[, stream])<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j+h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"jOhKh 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>Element-wise inverse tangent.<2E>h]<5D>h0<68>Element-wise inverse tangent.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jch!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<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>B:py:obj:`arctanh <mlx.core.arctanh>`\ \(a\, \/\, \*\[\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05>$:py:obj:`arctanh <mlx.core.arctanh>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj<>h]<5D>h0<68>arctanh<6E><68><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.arctanh<6E>uhh<>h"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh j<>ubh0<68>(a, /, *[, 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>(Element-wise inverse hyperbolic tangent.<2E>h]<5D>h0<68>(Element-wise inverse hyperbolic tangent.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<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>M:py:obj:`argmax <mlx.core.argmax>`\ \(a\, \/\[\, axis\, keepdims\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05>":py:obj:`argmax <mlx.core.argmax>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj<>h]<5D>h0<68>argmax<61><78><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.argmax<61>uhh<>h"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh j<>ubh0<68> (a, /[, 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"jhKh 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>-Indices of the maximum values along the axis.<2E>h]<5D>h0<68>-Indices of the maximum values along the axis.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jh!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<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>M:py:obj:`argmin <mlx.core.argmin>`\ \(a\, \/\[\, axis\, keepdims\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05>":py:obj:`argmin <mlx.core.argmin>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj<h]<5D>h0<68>argmin<69><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>jH<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.argmin<69>uhh<>h"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh j6ubh0<68> (a, /[, axis, keepdims, stream])<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j6h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"jZhKh j3ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh j0ubh{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>-Indices of the minimum values along the axis.<2E>h]<5D>h0<68>-Indices of the minimum values along the axis.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jnh!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh jkubah}<7D>(
dequantize<EFBFBD><EFBFBD><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.dequantize<7A>uhh<>h"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh j<> ubh0<68>(w, /, scales, biases[, ...])<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>{Dequantize the matrix ``w`` using the provided ``scales`` and ``biases`` and the ``group_size`` and ``bits`` configuration.<2E>h]<5D>(h0<68>Dequantize the matrix <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<> h!hh"NhNubh<62>)<29><>}<7D>(h<05>``w``<60>h]<5D>h0<68>w<><77><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<> h!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhh<>h j<> ubh0<68> using the provided <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<> h!hh"NhNubh<62>)<29><>}<7D>(h<05>
``scales``<60>h]<5D>h0<68>scales<65><73><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j
h!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhh<>h j<> ubh0<68> and <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<> h!hh"NhNubh<62>)<29><>}<7D>(h<05>
``biases``<60>h]<5D>h0<68>biases<65><73><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j
h!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhh<>h j<> ubh0<68> and the <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<> h!hh"NhNubh<62>)<29><>}<7D>(h<05>``group_size``<60>h]<5D>h0<68>
group_size<EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j1
h!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhh<>h j<> ubh0<68> and <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>h j<> sbh<62>)<29><>}<7D>(h<05>``bits``<60>h]<5D>h0<68>bits<74><73><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jC
h!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhh<>h j<> ubh0<68> configuration.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<> h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<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:`divide <mlx.core.divide>`\ \(a\, b\[\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05>":py:obj:`divide <mlx.core.divide>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hjt
h]<5D>h0<68>divide<64><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jv
h!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-obj<62>eh]<5D>h]<5D>h]<5D>uhh<>h jr
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.divide<64>uhh<>h"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh jn
ubh0<68>(a, b[, stream])<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jn
h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"j<>
hKh jk
ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh jh
ubh{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>Element-wise division.<2E>h]<5D>h0<68>Element-wise division.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>
h!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh j<>
ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh jh
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:`divmod <mlx.core.divmod>`\ \(a\, b\[\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05>":py:obj:`divmod <mlx.core.divmod>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj<>
h]<5D>h0<68>divmod<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.divmod<6F>uhh<>h"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh j<>
ubh0<68>(a, b[, 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>$Element-wise quotient and remainder.<2E>h]<5D>h0<68>$Element-wise quotient and remainder.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>
h!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<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>8:py:obj:`equal <mlx.core.equal>`\ \(a\, b\[\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05> :py:obj:`equal <mlx.core.equal>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj& h]<5D>h0<68>equal<61><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>j2 <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.equal<61>uhh<>h"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh j ubh0<68>(a, b[, stream])<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"jD 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>Element-wise equality.<2E>h]<5D>h0<68>Element-wise equality.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jX h!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh jU 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:`erf <mlx.core.erf>`\ \(a\, \/\, \*\[\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05>:py:obj:`erf <mlx.core.erf>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj h]<5D>h0<68>erf<72><66><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.erf<72>uhh<>h"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh jy ubh0<68>(a, /, *[, stream])<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jy h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"j<> hKh jv ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh js ubh{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>Element-wise error function.<2E>h]<5D>h0<68>Element-wise error function.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<> h!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh j<> ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh js 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:`erfinv <mlx.core.erfinv>`\ \(a\, \/\, \*\[\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05>":py:obj:`erfinv <mlx.core.erfinv>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj<> h]<5D>h0<68>erfinv<6E><76><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.erfinv<6E>uhh<>h"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh j<> ubh0<68>(a, /, *[, 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>$Element-wise inverse of :func:`erf`.<2E>h]<5D>(h0<68>Element-wise inverse of <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j
h!hh"NhNubh<62>)<29><>}<7D>(h<05> :func:`erf`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj h]<5D>h0<68>erf()<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>erf<72>uhh<>h"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<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"j2 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:`exp <mlx.core.exp>`\ \(a\, \/\, \*\[\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05>:py:obj:`exp <mlx.core.exp>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hjU h]<5D>h0<68>exp<78><70><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jW h!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-obj<62>eh]<5D>h]<5D>h]<5D>uhh<>h jS ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>ja <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.exp<78>uhh<>h"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh jO ubh0<68>(a, /, *[, stream])<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jO h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"js hKh jL ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh jI ubh{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>Element-wise exponential.<2E>h]<5D>h0<68>Element-wise exponential.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<> h!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh j<> ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh jI 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:`expand_dims <mlx.core.expand_dims>`\ \(a\, \/\, axis\, \*\[\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05>,:py:obj:`expand_dims <mlx.core.expand_dims>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj<> h]<5D>h0<68> expand_dims<6D><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.expand_dims<6D>uhh<>h"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh j<> ubh0<68>(a, /, axis, *[, 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>+Add a size one dimension at the given axis.<2E>h]<5D>h0<68>+Add a size one dimension at the given axis.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<> h!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<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:`eye <mlx.core.eye>`\ \(n\[\, m\, k\, dtype\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05>:py:obj:`eye <mlx.core.eye>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj h]<5D>h0<68>eye<79><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 <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.eye<79>uhh<>h"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh j ubh0<68>(n[, m, k, dtype, 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>7Create an identity matrix or a general diagonal matrix.<2E>h]<5D>h0<68>7Create an identity matrix or a general diagonal matrix.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j9 h!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh j6 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>W:py:obj:`flatten <mlx.core.flatten>`\ \(a\, \/\[\, start\_axis\, end\_axis\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05>$:py:obj:`flatten <mlx.core.flatten>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj` h]<5D>h0<68>flatten<65><6E><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jb 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>jl <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.flatten<65>uhh<>h"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh jZ ubh0<68>&(a, /[, start_axis, end_axis, stream])<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jZ h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"j~ hKh jW ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh jT ubh{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>Flatten an array.<2E>h]<5D>h0<68>Flatten an array.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<> h!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh j<> ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh jT ubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhuh hrubhv)<29><>}<7D>(hhh]<5D>(h{)<29><>}<7D>(h
less_equal<EFBFBD><EFBFBD><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.less_equal<61>uhh<>h"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh j<>ubh0<68>(a, b[, stream])<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"jhKh 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> Element-wise less than or equal.<2E>h]<5D>h0<68> Element-wise less than or equal.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jh!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<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>S:py:obj:`linspace <mlx.core.linspace>`\ \(start\, stop\[\, num\, dtype\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05>&:py:obj:`linspace <mlx.core.linspace>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj>h]<5D>h0<68>linspace<63><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>jJ<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.linspace<63>uhh<>h"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh j8ubh0<68>#(start, stop[, num, dtype, stream])<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j8h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"j\hKh j5ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh j2ubh{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>GGenerate ``num`` evenly spaced numbers over interval ``[start, stop]``.<2E>h]<5D>(h0<68> Generate <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jph!hh"NhNubh<62>)<29><>}<7D>(h<05>``num``<60>h]<5D>h0<68>num<75><6D><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jxh!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhh<>h jpubh0<68>% evenly spaced numbers over interval <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jph!hh"NhNubh<62>)<29><>}<7D>(h<05>``[start, stop]``<60>h]<5D>h0<68> [start, stop]<5D><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhh<>h jpubh0<68>.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jph!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh jmubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh j2ubeh}<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>C:py:obj:`load <mlx.core.load>`\ \(file\, \/\[\, format\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05>:py:obj:`load <mlx.core.load>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj<>h]<5D>h0<68>load<61><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.load<61>uhh<>h"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh j<>ubh0<68>(file, /[, format, 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>!Load array(s) from a binary file.<2E>h]<5D>h0<68>!Load array(s) from a binary file.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<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:`log <mlx.core.log>`\ \(a\, \/\, \*\[\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05>:py:obj:`log <mlx.core.log>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hjh]<5D>h0<68>log<6F><67><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.log<6F>uhh<>h"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh jubh0<68>(a, /, *[, stream])<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jh!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"j2hKh j ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh jubh{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>Element-wise natural logarithm.<2E>h]<5D>h0<68>Element-wise natural logarithm.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jFh!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh jCubah}<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><:py:obj:`log2 <mlx.core.log2>`\ \(a\,
logical_or<EFBFBD><EFBFBD><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.logical_or<6F>uhh<>h"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh j}ubh0<68>(a, b, /, *[, 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 jzubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh jwubh{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>Element-wise logical or.<2E>h]<5D>h0<68>Element-wise logical or.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh j<>ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh jwubeh}<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:`logsumexp <mlx.core.logsumexp>`\ \(a\, \/\[\, axis\, keepdims\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05>(:py:obj:`logsumexp <mlx.core.logsumexp>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj<>h]<5D>h0<68> logsumexp<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.logsumexp<78>uhh<>h"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh j<>ubh0<68> (a, /[, 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>.A `log-sum-exp` reduction over the given axes.<2E>h]<5D>(h0<68>A <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jh!hh"NhNubj~)<29><>}<7D>(h<05> `log-sum-exp`<60>h]<5D>h0<68> log-sum-exp<78><70><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jh!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhj}h jubh0<68> reduction over the given axes.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jh!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<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>D:py:obj:`matmul <mlx.core.matmul>`\ \(a\, b\, \/\, \*\[\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05>":py:obj:`matmul <mlx.core.matmul>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hjGh]<5D>h0<68>matmul<75><6C><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jIh!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-obj<62>eh]<5D>h]<5D>h]<5D>uhh<>h jEubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>jS<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.matmul<75>uhh<>h"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh jAubh0<68>(a, b, /, *[, stream])<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jAh!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"jehKh 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>Matrix multiplication.<2E>h]<5D>h0<68>Matrix multiplication.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jyh!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh jvubah}<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>G:py:obj:`max <mlx.core.max>`\ \(a\, \/\[\, axis\, keepdims\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05>:py:obj:`max <mlx.core.max>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj<>h]<5D>h0<68>max<61><78><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.max<61>uhh<>h"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh j<>ubh0<68> (a, /[, 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>'An `max` reduction over the given axes.<2E>h]<5D>(h0<68>An <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubj~)<29><>}<7D>(h<05>`max`<60>h]<5D>h0<68>max<61><78><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhj}h j<>ubh0<68> reduction over the given axes.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<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>F:py:obj:`maximum <mlx.core.maximum>`\ \(a\, b\, \/\, \*\[\, s
reciprocal<EFBFBD><EFBFBD><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.reciprocal<61>uhh<>h"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh j<>ubh0<68>(a, /, *[, 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>Element-wise reciprocal.<2E>h]<5D>h0<68>Element-wise reciprocal.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<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>K:py:obj:`repeat <mlx.core.repeat>`\ \(array\, repeats\[\, axis\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05>":py:obj:`repeat <mlx.core.repeat>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj<>h]<5D>h0<68>repeat<61><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<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.repeat<61>uhh<>h"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh j<>ubh0<68> (array, repeats[, axis, stream])<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"jhKh 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>'Repeat an array along a specified axis.<2E>h]<5D>h0<68>'Repeat an array along a specified axis.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j'h!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<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>J:py:obj:`reshape <mlx.core.reshape>`\ \(a\, \/\, shape\, \*\[\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05>$:py:obj:`reshape <mlx.core.reshape>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hjNh]<5D>h0<68>reshape<70><65><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jPh!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-obj<62>eh]<5D>h]<5D>h]<5D>uhh<>h jLubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>refdoc<6F>h<EFBFBD><68> refdomain<69>jZ<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.reshape<70>uhh<>h"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh jHubh0<68>(a, /, shape, *[, stream])<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jHh!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"jlhKh jEubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh jBubh{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>+Reshape an array while preserving the size.<2E>h]<5D>h0<68>+Reshape an array while preserving the size.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh j}ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh jBubeh}<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:`round <mlx.core.round>`\ \(a\, \/\[\, decimals\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05> :py:obj:`round <mlx.core.round>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj<>h]<5D>h0<68>round<6E><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.round<6E>uhh<>h"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh j<>ubh0<68>(a, /[, 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 j<>ubh{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>&Round to the given number of decimals.<2E>h]<5D>h0<68>&Round to the given number of decimals.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>h!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<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:`rsqrt <mlx.core.rsqrt>`\ \(a\, \/\, \*\[\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05> :py:obj:`rsqrt <mlx.core.rsqrt>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hjh]<5D>h0<68>rsqrt<72><74><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 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>obj<62><6A> refexplic
(ubh{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>)Zeros the array above the given diagonal.<2E>h]<5D>h0<68>)Zeros the array above the given diagonal.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jH(h!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh jE(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:`triu <mlx.core.triu>`\ \(x\, k\, \*\[\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05>:py:obj:`triu <mlx.core.triu>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hjo(h]<5D>h0<68>triu<69><75><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jq(h!hh"NhNubah}<7D>(h]<5D>h]<5D>(h<><68>py<70><79>py-obj<62>eh]<5D>h]<5D>h]<5D>uhh<>h jm(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.triu<69>uhh<>h"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh ji(ubh0<68>(x, k, *[, stream])<29><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h ji(h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"j<>(hKh jf(ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh jc(ubh{)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(h<05>)Zeros the array below the given diagonal.<2E>h]<5D>h0<68>)Zeros the array below the given diagonal.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>(h!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh j<>(ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhzh jc(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>N:py:obj:`var <mlx.core.var>`\ \(a\, \/\[\, axis\, keepdims\, ddof\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05>:py:obj:`var <mlx.core.var>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj<>(h]<5D>h0<68>var<61><72><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.var<61>uhh<>h"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh j<>(ubh0<68>&(a, /[, axis, keepdims, ddof, 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>,Compute the variance(s) over the given axes.<2E>h]<5D>h0<68>,Compute the variance(s) over the given axes.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j<>(h!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<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>N:py:obj:`where <mlx.core.where>`\ \(condition\, x\, y\, \/\, \*\[\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05> :py:obj:`where <mlx.core.where>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj!)h]<5D>h0<68>where<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-)<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.where<72>uhh<>h"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh j)ubh0<68>!(condition, x, y, /, *[, 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>6Select from ``x`` or ``y`` according to ``condition``.<2E>h]<5D>(h0<68> Select from <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jS)h!hh"NhNubh<62>)<29><>}<7D>(h<05>``x``<60>h]<5D>h0<68>x<><78><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j[)h!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhh<>h jS)ubh0<68> or <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jS)h!hh"NhNubh<62>)<29><>}<7D>(h<05>``y``<60>h]<5D>h0<68>y<><79><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jm)h!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhh<>h jS)ubh0<68> according to <20><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jS)h!hh"NhNubh<62>)<29><>}<7D>(h<05> ``condition``<60>h]<5D>h0<68> condition<6F><6E><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j)h!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhh<>h jS)ubh0<68>.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h jS)h!hh"NhNubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh jP)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:`zeros <mlx.core.zeros>`\ \(shape\[\, dtype\, stream\]\)<29>h]<5D>(h<>)<29><>}<7D>(h<05> :py:obj:`zeros <mlx.core.zeros>`<60>h]<5D>h<EFBFBD>)<29><>}<7D>(hj<>)h]<5D>h0<68>zeros<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.zeros<6F>uhh<>h"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh j<>)ubh0<68>(shape[, dtype, 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>Construct an array of ze
zeros_like<EFBFBD><EFBFBD><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*<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.zeros_like<6B>uhh<>h"<22>E/Users/awnihannun/repos/mlx/docs/src/python/ops.rst:125:<autosummary><3E>hKh j*ubh0<68>(a, /, *[, 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>!An array of zeros like the input.<2E>h]<5D>h0<68>!An array of zeros like the input.<2E><><EFBFBD><EFBFBD><EFBFBD>}<7D>(h j;*h!hh"NhNubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhh"hHhKh j8*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 hrubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>uhhph hWubeh}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><>cols<6C>KuhhUh hRubah}<7D>(h]<5D>h]<5D><>autosummary longtable<6C>ah]<5D>h]<5D>h]<5D>uhhPh hLubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><> xml:space<63><65>preserve<76>uhhJh h&h!hh"hHhNubhI<68>autosummary_toc<6F><63><EFBFBD>)<29><>}<7D>(hhh]<5D>h<00>toctree<65><65><EFBFBD>)<29><>}<7D>(hhh]<5D>h}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D><> includefiles<65>]<5D>(<28> python/_autosummary/mlx.core.abs<62><73> python/_autosummary/mlx.core.add<64><64> python/_autosummary/mlx.core.all<6C><6C>%python/_autosummary/mlx.core.allclose<73><65> python/_autosummary/mlx.core.any<6E><79>#python/_autosummary/mlx.core.arange<67><65>#python/_autosummary/mlx.core.arccos<6F><73>$python/_autosummary/mlx.core.arccosh<73><68>#python/_autosummary/mlx.core.arcsin<69><6E>$python/_autosummary/mlx.core.arcsinh<6E><68>#python/_autosummary/mlx.core.arctan<61><6E>$python/_autosummary/mlx.core.arctanh<6E><68>#python/_autosummary/mlx.core.argmax<61><78>#python/_autosummary/mlx.core.argmin<69><6E>)python/_autosummary/mlx.core.argpartition<6F><6E>$python/_autosummary/mlx.core.argsort<72><74>(python/_autosummary/mlx.core.array_equal<61><6C>)python/_autosummary/mlx.core.broadcast_to<74><6F>!python/_autosummary/mlx.core.ceil<69><6C>!python/_autosummary/mlx.core.clip<69><70>(python/_autosummary/mlx.core.concatenate<74><65>%python/_autosummary/mlx.core.convolve<76><65>#python/_autosummary/mlx.core.conv1d<31><64>#python/_autosummary/mlx.core.conv2d<32><64> python/_autosummary/mlx.core.cos<6F><73>!python/_autosummary/mlx.core.cosh<73><68>'python/_autosummary/mlx.core.dequantize<7A><65>#python/_autosummary/mlx.core.divide<64><65>#python/_autosummary/mlx.core.divmod<6F><64>"python/_autosummary/mlx.core.equal<61><6C> python/_autosummary/mlx.core.erf<72><66>#python/_autosummary/mlx.core.erfinv<6E><76> python/_autosummary/mlx.core.exp<78><70>(python/_autosummary/mlx.core.expand_dims<6D><73> python/_autosummary/mlx.core.eye<79><65>$python/_autosummary/mlx.core.flatten<65><6E>"python/_autosummary/mlx.core.floor<6F><72>)python/_autosummary/mlx.core.floor_divide<64><65>!python/_autosummary/mlx.core.full<6C><6C>$python/_autosummary/mlx.core.greater<65><72>*python/_autosummary/mlx.core.greater_equal<61><6C>%python/_autosummary/mlx.core.identity<74><79>"python/_autosummary/mlx.core.inner<65><72>"python/_autosummary/mlx.core.isnan<61><6E>%python/_autosummary/mlx.core.isposinf<6E><66>%python/_autosummary/mlx.core.isneginf<6E><66>"python/_autosummary/mlx.core.isinf<6E><66>!python/_autosummary/mlx.core.less<73><73>'python/_autosummary/mlx.core.less_equal<61><6C>%python/_autosummary/mlx.core.linspace<63><65>!python/_autosummary/mlx.core.load<61><64> python/_autosummary/mlx.core.log<6F><67>!python/_autosummary/mlx.core.log2<67><32>"python/_autosummary/mlx.core.log10<31><30>"python/_autosummary/mlx.core.log1p<31><70>&python/_autosummary/mlx.core.logaddexp<78><70>(python/_autosummary/mlx.core.logical_not<6F><74>(python/_autosummary/mlx.core.logical_and<6E><64>'python/_autosummary/mlx.core.logical_or<6F><72>&python/_autosummary/mlx.core.logsumexp<78><70>#python/_autosummary/mlx.core.matmul<75><6C> python/_autosummary/mlx.core.max<61><78>$python/_autosummary/mlx.core.maximum<75><6D>!python/_autosummary/mlx.core.mean<61><6E> python/_autosummary/mlx.core.min<69><6E>$python/_autosummary/mlx.core.minimum<75><6D>%python/_autosummary/mlx.core.moveaxis<69><73>%python/_autosummary/mlx.core.multiply<6C><79>%python/_autosummary/mlx.core.negative<76><65>!python/_autosummary/mlx.core.ones<65><73>&python/_autosummary/mlx.core.ones_like<6B><65>"python/_autosummary/mlx.core.outer<65><72>&python/_autosummary/mlx.core.partition<6F><6E> python/_autosummary/mlx.core.pad<61><64>!python/_autosummary/mlx.core.prod<6F><64>%python/_autosummary/mlx.core.quantize<7A><65>-python/_autosummary/mlx.core.quantized_matmul<75><6C>'python/_autosummary/mlx.core.reciprocal<61><6C>#python/_autosummary/mlx.core.repeat<61><74>$python
rawentries<EFBFBD>]<5D>uhjv*h js*ubah}<7D>(h]<5D>h]<5D>h]<5D>h]<5D>h]<5D>jo*jp*uhjq*h h&h!hh"hHhNubeh}<7D>(h]<5D>(<28>
operations<EFBFBD>heh]<5D>h]<5D>(<28>
operations<EFBFBD><EFBFBD>ops<70>eh]<5D>h]<5D>uhh$h hh!hh"h#hK<04>expect_referenced_by_name<6D>}<7D>j|+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|+hj{+jx+u<> nametypes<65>}<7D>(j|+<00>j{+<00>uh}<7D>(hh&jx+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><><EFBFBD>R<EFBFBD><52>parse_messages<65>]<5D><>transform_messages<65>]<5D>h <09>system_message<67><65><EFBFBD>)<29><>}<7D>(hhh]<5D>h<EFBFBD>)<29><>}<7D>(hhh]<5D>h0<68>)Hyperlink target "ops" 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><65>INFO<46><4F>source<63>h#<23>line<6E>Kuhj ,uba<62> transformer<65>N<EFBFBD> include_log<6F>]<5D><>
decoration<EFBFBD>Nh!hub.