mlx/docs/src/python/ops.rst

153 lines
1.6 KiB
ReStructuredText
Raw Normal View History

2023-11-30 02:42:59 +08:00
.. _ops:
Operations
==========
.. currentmodule:: mlx.core
.. autosummary::
2023-11-30 02:42:59 +08:00
:toctree: _autosummary
abs
add
all
allclose
2023-11-30 02:42:59 +08:00
any
arange
arccos
arccosh
arcsin
arcsinh
arctan
arctan2
2023-11-30 02:42:59 +08:00
arctanh
argmax
argmin
argpartition
argsort
array_equal
atleast_1d
atleast_2d
atleast_3d
bitwise_and
bitwise_or
bitwise_xor
block_masked_mm
2024-05-03 05:03:58 +08:00
block_sparse_mm
broadcast_to
ceil
clip
2023-11-30 02:42:59 +08:00
concatenate
convolve
conv1d
conv2d
conv_general
2023-11-30 02:42:59 +08:00
cos
cosh
cummax
cummin
cumprod
cumsum
2024-04-23 02:17:49 +08:00
degrees
dequantize
diag
diagonal
2023-11-30 02:42:59 +08:00
divide
divmod
2023-11-30 02:42:59 +08:00
equal
erf
erfinv
exp
expm1
2023-11-30 02:42:59 +08:00
expand_dims
eye
flatten
floor
floor_divide
2023-11-30 02:42:59 +08:00
full
greater
greater_equal
identity
inner
isclose
isinf
2024-01-13 03:16:48 +08:00
isnan
isneginf
isposinf
left_shift
2023-11-30 02:42:59 +08:00
less
less_equal
linspace
2023-11-30 02:42:59 +08:00
load
log
log2
log10
log1p
logaddexp
logical_not
logical_and
logical_or
2023-11-30 02:42:59 +08:00
logsumexp
matmul
max
maximum
mean
2024-04-10 02:43:08 +08:00
meshgrid
2023-11-30 02:42:59 +08:00
min
minimum
moveaxis
2023-11-30 02:42:59 +08:00
multiply
negative
not_equal
2023-11-30 02:42:59 +08:00
ones
ones_like
outer
2023-11-30 02:42:59 +08:00
partition
pad
prod
quantize
quantized_matmul
2024-04-23 02:17:49 +08:00
radians
2023-11-30 02:42:59 +08:00
reciprocal
repeat
2023-11-30 02:42:59 +08:00
reshape
right_shift
2023-12-19 03:32:48 +08:00
round
2023-11-30 02:42:59 +08:00
rsqrt
save
savez
savez_compressed
save_gguf
save_safetensors
2023-11-30 02:42:59 +08:00
sigmoid
sign
sin
sinh
softmax
sort
split
sqrt
square
squeeze
stack
std
2023-11-30 02:42:59 +08:00
stop_gradient
subtract
sum
swapaxes
2023-11-30 02:42:59 +08:00
take
take_along_axis
tan
tanh
2024-01-03 09:15:00 +08:00
tensordot
tile
topk
2023-11-30 02:42:59 +08:00
transpose
tri
tril
triu
2023-11-30 02:42:59 +08:00
var
where
zeros
zeros_like