.. _ops:

Operations
==========

.. currentmodule:: mlx.core

.. autosummary::
  :toctree: _autosummary

   abs
   add
   addmm
   all
   allclose
   any
   arange
   arccos
   arccosh
   arcsin
   arcsinh
   arctan
   arctan2
   arctanh
   argmax
   argmin
   argpartition
   argsort
   array_equal
   asarray
   as_strided
   astype
   atleast_1d
   atleast_2d
   atleast_3d
   bartlett
   bitwise_and
   bitwise_invert
   bitwise_or
   bitwise_xor
   blackman
   block_masked_mm
   broadcast_arrays
   broadcast_shapes
   broadcast_to
   can_cast
   ceil
   clip
   concat
   concatenate
   contiguous
   conj
   conjugate
   convolve
   conv1d
   conv2d
   conv3d
   conv_transpose1d
   conv_transpose2d
   conv_transpose3d
   conv_general
   cos
   cosh
   cummax
   cummin
   cumprod
   cumsum
   count_nonzero
   degrees
   depends
   dequantize
   diag
   diagonal
   diff
   divide
   divmod
   einsum
   einsum_path
   equal
   erf
   erfinv
   exp
   expm1
   expand_dims
   eye
   flatten
   flip
   floor
   floor_divide
   full
   from_dlpack
   full_like
   from_fp8
   gather_mm
   gather_qmm
   greater
   greater_equal
   hadamard_transform
   hamming
   hanning
   identity
   imag
   inner
   isdtype
   isfinite
   isclose
   isinf
   isnan
   isneginf
   isposinf
   issubdtype
   kron
   left_shift
   less
   less_equal
   linspace
   load
   log
   log2
   log10
   log1p
   logaddexp
   logcumsumexp
   logical_not
   logical_and
   logical_or
   logical_xor
   logsumexp
   matmul
   max
   maximum
   mean
   median
   meshgrid
   min
   minimum
   moveaxis
   multiply
   nan_to_num
   negative
   not_equal
   ones
   ones_like
   outer
   partition
   pad
   permute_dims
   positive
   power
   prod
   put_along_axis
   quantize
   quantized_matmul
   qqmm
   radians
   real
   reciprocal
   remainder
   repeat
   reshape
   result_type
   right_shift
   roll
   round
   rsqrt
   save
   savez
   savez_compressed
   save_gguf
   save_safetensors
   sigmoid
   sign
   sin
   sinh
   slice
   slice_update
   segmented_mm
   softmax
   sort
   split
   sqrt
   square
   squeeze
   stack
   std
   stop_gradient
   subtract
   sum
   swapaxes
   take
   take_along_axis
   tan
   tanh
   tensordot
   tile
   topk
   to_fp8
   trace
   transpose
   tri
   tril
   triu
   trunc
   unflatten
   unstack
   vecdot
   var
   view
   where
   zeros
   zeros_like
