mlx/docs/src/python/ops.rst

176 lines
1.9 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
2024-05-14 21:09:05 +08:00
addmm
2023-11-30 02:42:59 +08:00
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
2024-05-14 21:09:05 +08:00
as_strided
atleast_1d
atleast_2d
atleast_3d
bitwise_and
bitwise_or
bitwise_xor
block_masked_mm
broadcast_to
ceil
clip
2023-11-30 02:42:59 +08:00
concatenate
conj
conjugate
2023-11-30 02:42:59 +08:00
convolve
conv1d
conv2d
conv3d
conv_transpose1d
conv_transpose2d
conv_transpose3d
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
einsum
einsum_path
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
gather_mm
gather_qmm
2023-11-30 02:42:59 +08:00
greater
greater_equal
hadamard_transform
identity
imag
inner
isfinite
isclose
isinf
2024-01-13 03:16:48 +08:00
isnan
isneginf
isposinf
2024-05-14 21:09:05 +08:00
issubdtype
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
nan_to_num
2023-11-30 02:42:59 +08:00
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
2024-05-14 21:09:05 +08:00
power
2023-11-30 02:42:59 +08:00
prod
put_along_axis
quantize
quantized_matmul
2024-04-23 02:17:49 +08:00
radians
real
2023-11-30 02:42:59 +08:00
reciprocal
2024-05-14 21:09:05 +08:00
remainder
repeat
2023-11-30 02:42:59 +08:00
reshape
right_shift
2024-10-08 08:21:42 +08:00
roll
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
trace
2023-11-30 02:42:59 +08:00
transpose
tri
tril
triu
2023-11-30 02:42:59 +08:00
var
view
2023-11-30 02:42:59 +08:00
where
zeros
zeros_like