Expand description
Operations
Modules§
Macros§
- abs
Deprecated - Macro generated for the function
crate::ops::abs. See the function documentation for more details. - acos
Deprecated - Macro generated for the function
crate::ops::acos. See the function documentation for more details. - acosh
Deprecated - Macro generated for the function
crate::ops::acosh. See the function documentation for more details. - add
Deprecated - Macro generated for the function
crate::ops::add. See the function documentation for more details. - addmm
Deprecated - Macro generated for the function
crate::ops::addmm. See the function documentation for more details. - all
Deprecated - Macro generated for the function
crate::ops::all. See the function documentation for more details. - all_
axes Deprecated - Macro generated for the function
crate::ops::all_axes. See the function documentation for more details. - all_
axis Deprecated - Macro generated for the function
crate::ops::all_axis. See the function documentation for more details. - all_
close Deprecated - Macro generated for the function
crate::ops::all_close. See the function documentation for more details. - any
Deprecated - Macro generated for the function
crate::ops::any. See the function documentation for more details. - any_
axes Deprecated - Macro generated for the function
crate::ops::any_axes. See the function documentation for more details. - any_
axis Deprecated - Macro generated for the function
crate::ops::any_axis. See the function documentation for more details. - arange
Deprecated - Macro generated for the function
crate::ops::arange. See the function documentation for more details. - argpartition
Deprecated - Macro generated for the function
crate::ops::argpartition. See the function documentation for more details. - argpartition_
axis Deprecated - Macro generated for the function
crate::ops::argpartition_axis. See the function documentation for more details. - argsort
Deprecated - Macro generated for the function
crate::ops::argsort. See the function documentation for more details. - argsort_
axis Deprecated - Macro generated for the function
crate::ops::argsort_axis. See the function documentation for more details. - array_
eq Deprecated - Macro generated for the function
crate::ops::array_eq. See the function documentation for more details. - as_
strided Deprecated - Macro generated for the function
crate::ops::as_strided. See the function documentation for more details. - asin
Deprecated - Macro generated for the function
crate::ops::asin. See the function documentation for more details. - asinh
Deprecated - Macro generated for the function
crate::ops::asinh. See the function documentation for more details. - at_
least_ 1d Deprecated - Macro generated for the function
crate::ops::at_least_1d. See the function documentation for more details. - at_
least_ 2d Deprecated - Macro generated for the function
crate::ops::at_least_2d. See the function documentation for more details. - at_
least_ 3d Deprecated - Macro generated for the function
crate::ops::at_least_3d. See the function documentation for more details. - atan
Deprecated - Macro generated for the function
crate::ops::atan. See the function documentation for more details. - atan2
Deprecated - Macro generated for the function
crate::ops::atan2. See the function documentation for more details. - atanh
Deprecated - Macro generated for the function
crate::ops::atanh. See the function documentation for more details. - block_
masked_ mm Deprecated - Macro generated for the function
crate::ops::block_masked_mm. See the function documentation for more details. - broadcast_
arrays Deprecated - Macro generated for the function
crate::ops::broadcast_arrays. See the function documentation for more details. - broadcast_
to Deprecated - Macro generated for the function
crate::ops::broadcast_to. See the function documentation for more details. - ceil
Deprecated - Macro generated for the function
crate::ops::ceil. See the function documentation for more details. - clip
Deprecated - Macro generated for the function
crate::ops::clip. See the function documentation for more details. - concatenate
Deprecated - Macro generated for the function
crate::ops::concatenate. See the function documentation for more details. - concatenate_
axis Deprecated - Macro generated for the function
crate::ops::concatenate_axis. See the function documentation for more details. - conv1d
Deprecated - Macro generated for the function
crate::ops::conv1d. See the function documentation for more details. - conv2d
Deprecated - Macro generated for the function
crate::ops::conv2d. See the function documentation for more details. - conv3d
Deprecated - Macro generated for the function
crate::ops::conv3d. See the function documentation for more details. - conv_
general Deprecated - Macro generated for the function
crate::ops::conv_general. See the function documentation for more details. - conv_
transpose1d Deprecated - Macro generated for the function
crate::ops::conv_transpose1d. See the function documentation for more details. - conv_
transpose2d Deprecated - Macro generated for the function
crate::ops::conv_transpose2d. See the function documentation for more details. - conv_
transpose3d Deprecated - Macro generated for the function
crate::ops::conv_transpose3d. See the function documentation for more details. - cos
Deprecated - Macro generated for the function
crate::ops::cos. See the function documentation for more details. - cosh
Deprecated - Macro generated for the function
crate::ops::cosh. See the function documentation for more details. - cummax
Deprecated - Macro generated for the function
crate::ops::cummax. See the function documentation for more details. - cummin
Deprecated - Macro generated for the function
crate::ops::cummin. See the function documentation for more details. - cumprod
Deprecated - Macro generated for the function
crate::ops::cumprod. See the function documentation for more details. - cumsum
Deprecated - Macro generated for the function
crate::ops::cumsum. See the function documentation for more details. - degrees
Deprecated - Macro generated for the function
crate::ops::degrees. See the function documentation for more details. - dequantize
Deprecated - Macro generated for the function
crate::ops::dequantize. See the function documentation for more details. - diag
Deprecated - Macro generated for the function
crate::ops::diag. See the function documentation for more details. - diagonal
Deprecated - Macro generated for the function
crate::ops::diagonal. See the function documentation for more details. - divide
Deprecated - Macro generated for the function
crate::ops::divide. See the function documentation for more details. - divmod
Deprecated - Macro generated for the function
crate::ops::divmod. See the function documentation for more details. - einsum
Deprecated - Macro generated for the function
crate::ops::einsum. See the function documentation for more details. - eq
Deprecated - Macro generated for the function
crate::ops::eq. See the function documentation for more details. - erf
Deprecated - Macro generated for the function
crate::ops::erf. See the function documentation for more details. - erfinv
Deprecated - Macro generated for the function
crate::ops::erfinv. See the function documentation for more details. - exp
Deprecated - Macro generated for the function
crate::ops::exp. See the function documentation for more details. - expand_
dims Deprecated - Macro generated for the function
crate::ops::expand_dims. See the function documentation for more details. - expand_
dims_ axes Deprecated - Macro generated for the function
crate::ops::expand_dims_axes. See the function documentation for more details. - expm1
Deprecated - Macro generated for the function
crate::ops::expm1. See the function documentation for more details. - eye
Deprecated - Macro generated for the function
crate::ops::eye. See the function documentation for more details. - flatten
Deprecated - Macro generated for the function
crate::ops::flatten. See the function documentation for more details. - floor
Deprecated - Macro generated for the function
crate::ops::floor. See the function documentation for more details. - floor_
divide Deprecated - Macro generated for the function
crate::ops::floor_divide. See the function documentation for more details. - from_
fp8 Deprecated - Macro generated for the function
crate::ops::from_fp8. See the function documentation for more details. - full
Deprecated - Macro generated for the function
crate::ops::full. See the function documentation for more details. - full_
like Deprecated - Macro generated for the function
crate::ops::full_like. See the function documentation for more details. - gather_
mm Deprecated - Macro generated for the function
crate::ops::gather_mm. See the function documentation for more details. - gather_
qmm Deprecated - Macro generated for the function
crate::ops::gather_qmm. See the function documentation for more details. - ge
Deprecated - Macro generated for the function
crate::ops::ge. See the function documentation for more details. - gt
Deprecated - Macro generated for the function
crate::ops::gt. See the function documentation for more details. - identity
Deprecated - Macro generated for the function
crate::ops::identity. See the function documentation for more details. - imag
Deprecated - Macro generated for the function
crate::ops::imag. See the function documentation for more details. - inner
Deprecated - Macro generated for the function
crate::ops::inner. See the function documentation for more details. - is_
close Deprecated - Macro generated for the function
crate::ops::is_close. See the function documentation for more details. - is_inf
Deprecated - Macro generated for the function
crate::ops::is_inf. See the function documentation for more details. - is_nan
Deprecated - Macro generated for the function
crate::ops::is_nan. See the function documentation for more details. - is_
neg_ inf Deprecated - Macro generated for the function
crate::ops::is_neg_inf. See the function documentation for more details. - is_
pos_ inf Deprecated - Macro generated for the function
crate::ops::is_pos_inf. See the function documentation for more details. - kron
Deprecated - Macro generated for the function
crate::ops::kron. See the function documentation for more details. - le
Deprecated - Macro generated for the function
crate::ops::le. See the function documentation for more details. - linspace
Deprecated - Macro generated for the function
crate::ops::linspace. See the function documentation for more details. - log
Deprecated - Macro generated for the function
crate::ops::log. See the function documentation for more details. - log2
Deprecated - Macro generated for the function
crate::ops::log2. See the function documentation for more details. - log1p
Deprecated - Macro generated for the function
crate::ops::log1p. See the function documentation for more details. - log10
Deprecated - Macro generated for the function
crate::ops::log10. See the function documentation for more details. - logaddexp
Deprecated - Macro generated for the function
crate::ops::logaddexp. See the function documentation for more details. - logical_
and Deprecated - Macro generated for the function
crate::ops::logical_and. See the function documentation for more details. - logical_
not Deprecated - Macro generated for the function
crate::ops::logical_not. See the function documentation for more details. - logical_
or Deprecated - Macro generated for the function
crate::ops::logical_or. See the function documentation for more details. - logsumexp
Deprecated - Macro generated for the function
crate::ops::logsumexp. See the function documentation for more details. - logsumexp_
axes Deprecated - Macro generated for the function
crate::ops::logsumexp_axes. See the function documentation for more details. - logsumexp_
axis Deprecated - Macro generated for the function
crate::ops::logsumexp_axis. See the function documentation for more details. - lt
Deprecated - Macro generated for the function
crate::ops::lt. See the function documentation for more details. - matmul
Deprecated - Macro generated for the function
crate::ops::matmul. See the function documentation for more details. - max
Deprecated - Macro generated for the function
crate::ops::max. See the function documentation for more details. - max_
axes Deprecated - Macro generated for the function
crate::ops::max_axes. See the function documentation for more details. - max_
axis Deprecated - Macro generated for the function
crate::ops::max_axis. See the function documentation for more details. - maximum
Deprecated - Macro generated for the function
crate::ops::maximum. See the function documentation for more details. - mean
Deprecated - Macro generated for the function
crate::ops::mean. See the function documentation for more details. - mean_
axes Deprecated - Macro generated for the function
crate::ops::mean_axes. See the function documentation for more details. - mean_
axis Deprecated - Macro generated for the function
crate::ops::mean_axis. See the function documentation for more details. - median
Deprecated - Macro generated for the function
crate::ops::median. See the function documentation for more details. - median_
axes Deprecated - Macro generated for the function
crate::ops::median_axes. See the function documentation for more details. - median_
axis Deprecated - Macro generated for the function
crate::ops::median_axis. See the function documentation for more details. - min
Deprecated - Macro generated for the function
crate::ops::min. See the function documentation for more details. - min_
axes Deprecated - Macro generated for the function
crate::ops::min_axes. See the function documentation for more details. - min_
axis Deprecated - Macro generated for the function
crate::ops::min_axis. See the function documentation for more details. - minimum
Deprecated - Macro generated for the function
crate::ops::minimum. See the function documentation for more details. - move_
axis Deprecated - Macro generated for the function
crate::ops::move_axis. See the function documentation for more details. - multiply
Deprecated - Macro generated for the function
crate::ops::multiply. See the function documentation for more details. - ne
Deprecated - Macro generated for the function
crate::ops::ne. See the function documentation for more details. - negative
Deprecated - Macro generated for the function
crate::ops::negative. See the function documentation for more details. - ones
Deprecated - Macro generated for the function
crate::ops::ones. See the function documentation for more details. - ones_
dtype Deprecated - Macro generated for the function
crate::ops::ones_dtype. See the function documentation for more details. - ones_
like Deprecated - Macro generated for the function
crate::ops::ones_like. See the function documentation for more details. - outer
Deprecated - Macro generated for the function
crate::ops::outer. See the function documentation for more details. - pad
Deprecated - Macro generated for the function
crate::ops::pad. See the function documentation for more details. - partition
Deprecated - Macro generated for the function
crate::ops::partition. See the function documentation for more details. - partition_
axis Deprecated - Macro generated for the function
crate::ops::partition_axis. See the function documentation for more details. - power
Deprecated - Macro generated for the function
crate::ops::power. See the function documentation for more details. - prod
Deprecated - Macro generated for the function
crate::ops::prod. See the function documentation for more details. - prod_
axes Deprecated - Macro generated for the function
crate::ops::prod_axes. See the function documentation for more details. - prod_
axis Deprecated - Macro generated for the function
crate::ops::prod_axis. See the function documentation for more details. - quantize
Deprecated - Macro generated for the function
crate::ops::quantize. See the function documentation for more details. - quantized_
matmul Deprecated - Macro generated for the function
crate::ops::quantized_matmul. See the function documentation for more details. - radians
Deprecated - Macro generated for the function
crate::ops::radians. See the function documentation for more details. - real
Deprecated - Macro generated for the function
crate::ops::real. See the function documentation for more details. - reciprocal
Deprecated - Macro generated for the function
crate::ops::reciprocal. See the function documentation for more details. - remainder
Deprecated - Macro generated for the function
crate::ops::remainder. See the function documentation for more details. - repeat
Deprecated - Macro generated for the function
crate::ops::repeat. See the function documentation for more details. - repeat_
axis Deprecated - Macro generated for the function
crate::ops::repeat_axis. See the function documentation for more details. - reshape
Deprecated - Macro generated for the function
crate::ops::reshape. See the function documentation for more details. - round
Deprecated - Macro generated for the function
crate::ops::round. See the function documentation for more details. - rsqrt
Deprecated - Macro generated for the function
crate::ops::rsqrt. See the function documentation for more details. - segmented_
mm Deprecated - Macro generated for the function
crate::ops::segmented_mm. See the function documentation for more details. - sigmoid
Deprecated - Macro generated for the function
crate::ops::sigmoid. See the function documentation for more details. - sign
Deprecated - Macro generated for the function
crate::ops::sign. See the function documentation for more details. - sin
Deprecated - Macro generated for the function
crate::ops::sin. See the function documentation for more details. - sinh
Deprecated - Macro generated for the function
crate::ops::sinh. See the function documentation for more details. - softmax
Deprecated - Macro generated for the function
crate::ops::softmax. See the function documentation for more details. - softmax_
axes Deprecated - Macro generated for the function
crate::ops::softmax_axes. See the function documentation for more details. - softmax_
axis Deprecated - Macro generated for the function
crate::ops::softmax_axis. See the function documentation for more details. - sort
Deprecated - Macro generated for the function
crate::ops::sort. See the function documentation for more details. - sort_
axis Deprecated - Macro generated for the function
crate::ops::sort_axis. See the function documentation for more details. - split
Deprecated - Macro generated for the function
crate::ops::split. See the function documentation for more details. - split_
sections Deprecated - Macro generated for the function
crate::ops::split_sections. See the function documentation for more details. - sqrt
Deprecated - Macro generated for the function
crate::ops::sqrt. See the function documentation for more details. - square
Deprecated - Macro generated for the function
crate::ops::square. See the function documentation for more details. - squeeze
Deprecated - Macro generated for the function
crate::ops::squeeze. See the function documentation for more details. - squeeze_
axes Deprecated - Macro generated for the function
crate::ops::squeeze_axes. See the function documentation for more details. - stack
Deprecated - Macro generated for the function
crate::ops::stack. See the function documentation for more details. - stack_
axis Deprecated - Macro generated for the function
crate::ops::stack_axis. See the function documentation for more details. - std
Deprecated - Macro generated for the function
crate::ops::std. See the function documentation for more details. - std_
axes Deprecated - Macro generated for the function
crate::ops::std_axes. See the function documentation for more details. - std_
axis Deprecated - Macro generated for the function
crate::ops::std_axis. See the function documentation for more details. - subtract
Deprecated - Macro generated for the function
crate::ops::subtract. See the function documentation for more details. - sum
Deprecated - Macro generated for the function
crate::ops::sum. See the function documentation for more details. - sum_
axes Deprecated - Macro generated for the function
crate::ops::sum_axes. See the function documentation for more details. - sum_
axis Deprecated - Macro generated for the function
crate::ops::sum_axis. See the function documentation for more details. - swap_
axes Deprecated - Macro generated for the function
crate::ops::swap_axes. See the function documentation for more details. - tan
Deprecated - Macro generated for the function
crate::ops::tan. See the function documentation for more details. - tanh
Deprecated - Macro generated for the function
crate::ops::tanh. See the function documentation for more details. - tensordot_
axes Deprecated - Macro generated for the function
crate::ops::tensordot_axes. See the function documentation for more details. - tensordot_
axis Deprecated - Macro generated for the function
crate::ops::tensordot_axis. See the function documentation for more details. - tile
Deprecated - Macro generated for the function
crate::ops::tile. See the function documentation for more details. - to_fp8
Deprecated - Macro generated for the function
crate::ops::to_fp8. See the function documentation for more details. - transpose
Deprecated - Macro generated for the function
crate::ops::transpose. See the function documentation for more details. - transpose_
axes Deprecated - Macro generated for the function
crate::ops::transpose_axes. See the function documentation for more details. - tri
Deprecated - Macro generated for the function
crate::ops::tri. See the function documentation for more details. - tril
Deprecated - Macro generated for the function
crate::ops::tril. See the function documentation for more details. - triu
Deprecated - Macro generated for the function
crate::ops::triu. See the function documentation for more details. - unflatten
Deprecated - Macro generated for the function
crate::ops::unflatten. See the function documentation for more details. - var
Deprecated - Macro generated for the function
crate::ops::var. See the function documentation for more details. - var_
axes Deprecated - Macro generated for the function
crate::ops::var_axes. See the function documentation for more details. - var_
axis Deprecated - Macro generated for the function
crate::ops::var_axis. See the function documentation for more details. - which
Deprecated - Macro generated for the function
crate::ops::which. See the function documentation for more details. - zeros
Deprecated - Macro generated for the function
crate::ops::zeros. See the function documentation for more details. - zeros_
dtype Deprecated - Macro generated for the function
crate::ops::zeros_dtype. See the function documentation for more details. - zeros_
like Deprecated - Macro generated for the function
crate::ops::zeros_like. See the function documentation for more details.
Structs§
- Contiguous
Options - Options controlling contiguous layout materialization.
- Count
Nonzero Options - Axis selection and dimension retention for
Array::count_nonzero. - Linspace
Options - Sample count and endpoint behavior for
linspace. - LogCumsum
ExpOptions - Axis and scan direction for
Array::logcumsumexp. - Trace
Options - Diagonal selection and dtype control for
Array::trace.
Enums§
- PadMode
- The padding mode.
- PadWidth
- Number of padding values to add to the edges of each axis.
- Search
Side - Insertion side for
Array::search_sorted.
Traits§
- Clip
Bound - A custom trait for the bound of the clip operation.
Functions§
- abs
- Element-wise absolute value.
- abs_
device Deprecated - Compatibility shim for
abs. - acos
- Element-wise inverse cosine.
- acos_
device Deprecated - Compatibility shim for
acos. - acosh
- Element-wise inverse hyperbolic cosine.
- acosh_
device Deprecated - Compatibility shim for
acosh. - add
- See
Array::add. - add_
device Deprecated - Compatibility shim for
add. - addmm
- Matrix multiplication with addition and optional scaling.
- addmm_
device Deprecated - Compatibility shim for
addmm. - all
- See
Array::all - all_
axes - See
Array::all_axes - all_
axes_ device Deprecated - Compatibility shim for
all_axes. - all_
axis - See
Array::all_axis - all_
axis_ device Deprecated - Compatibility shim for
all_axis. - all_
close - See
Array::all_close - all_
close_ device Deprecated - Compatibility shim for
all_close. - all_
device Deprecated - Compatibility shim for
all. - any
- See
Array::any - any_
axes - See
Array::any - any_
axes_ device Deprecated - Compatibility shim for
any_axes. - any_
axis - See
Array::any - any_
axis_ device Deprecated - Compatibility shim for
any_axis. - any_
device Deprecated - Compatibility shim for
any. - arange
- See
Array::arange - arange_
device Deprecated - Compatibility shim for
arange. - argpartition
- Returns the indices that partition the flattened array. Returns an error if the arguments are invalid.
- argpartition_
axis - Returns the indices that partition the array. Returns an error if the arguments are invalid.
- argpartition_
axis_ device Deprecated - Compatibility shim for
argpartition_axis. - argpartition_
device Deprecated - Compatibility shim for
argpartition. - argsort
- Returns the indices that sort the flattened array. Returns an error if the arguments are invalid.
- argsort_
axis - Returns the indices that sort the array. Returns an error if the arguments are invalid.
- argsort_
axis_ device Deprecated - Compatibility shim for
argsort_axis. - argsort_
device Deprecated - Compatibility shim for
argsort. - array_
eq - See
Array::array_eq - array_
eq_ device Deprecated - Compatibility shim for
array_eq. - as_
strided - Create a view into the array with the given shape and strides.
- as_
strided_ device Deprecated - Compatibility shim for
as_strided. - asin
- Element-wise inverse sine.
- asin_
device Deprecated - Compatibility shim for
asin. - asinh
- Element-wise inverse hyperbolic sine.
- asinh_
device Deprecated - Compatibility shim for
asinh. - at_
least_ 1d - Convert array to have at least one dimension.
- at_
least_ 1d_ device Deprecated - Compatibility shim for
at_least_1d. - at_
least_ 2d - Convert array to have at least two dimensions.
- at_
least_ 2d_ device Deprecated - Compatibility shim for
at_least_2d. - at_
least_ 3d - Convert array to have at least three dimensions.
- at_
least_ 3d_ device Deprecated - Compatibility shim for
at_least_3d. - atan
- Element-wise inverse tangent.
- atan2
- Element-wise inverse tangent of b/a choosing the quadrant correctly.
- atan2_
device Deprecated - Compatibility shim for
atan2. - atan_
device Deprecated - Compatibility shim for
atan. - atanh
- Element-wise inverse hyperbolic tangent.
- atanh_
device Deprecated - Compatibility shim for
atanh. - block_
masked_ mm - Matrix multiplication with block masking.
- block_
masked_ mm_ device Deprecated - Compatibility shim for
block_masked_mm. - broadcast_
arrays - Broadcast a vector of arrays against one another. Returns an error if the shapes are broadcastable.
- broadcast_
arrays_ device Deprecated - Compatibility shim for
broadcast_arrays. - broadcast_
to - Broadcast an array to the given shape. Returns an error if the shapes are not broadcastable.
- broadcast_
to_ device Deprecated - Compatibility shim for
broadcast_to. - ceil
- Element-wise ceiling.
- ceil_
device Deprecated - Compatibility shim for
ceil. - clip
- Clip the values of the array between the given minimum and maximum.
- clip_
device Deprecated - Compatibility shim for
clip. - concatenate
- Concatenate the arrays along the given axis. Returns an error if the shapes are invalid.
- concatenate_
axis Deprecated - Compatibility alias for
concatenate. - concatenate_
axis_ device Deprecated - Compatibility shim for
concatenate. - concatenate_
device Deprecated - Compatibility shim preserving the old flattening behavior of
concatenate. - concatenate_
flat - Flatten the arrays and concatenate them. Use
concatenateto concatenate along an axis. - conv1d
- 1D convolution over an input with several channels returning an error if the inputs are invalid.
- conv1d_
device Deprecated - Compatibility shim for
conv1d. - conv2d
- 2D convolution over an input with several channels returning an error if the inputs are invalid.
- conv2d_
device Deprecated - Compatibility shim for
conv2d. - conv3d
- 3D convolution over an input with several channels.
- conv3d_
device Deprecated - Compatibility shim for
conv3d. - conv_
general - General convolution over an input with several channels returning an error if the inputs are invalid.
- conv_
general_ device Deprecated - Compatibility shim for
conv_general. - conv_
transpose1d - 1D transposed convolution over an input with several channels.
- conv_
transpose1d_ device Deprecated - Compatibility shim for
conv_transpose1d. - conv_
transpose2d - 2D transposed convolution over an input with several channels.
- conv_
transpose2d_ device Deprecated - Compatibility shim for
conv_transpose2d. - conv_
transpose3d - 3D transposed convolution over an input with several channels.
- conv_
transpose3d_ device Deprecated - Compatibility shim for
conv_transpose3d. - cos
- Element-wise cosine.
- cos_
device Deprecated - Compatibility shim for
cos. - cosh
- Element-wise hyperbolic cosine.
- cosh_
device Deprecated - Compatibility shim for
cosh. - cummax
- See
Array::cummax - cummax_
device Deprecated - Compatibility shim for
cummax. - cummin
- See
Array::cummin - cummin_
device Deprecated - Compatibility shim for
cummin. - cumprod
- See
Array::cumprod - cumprod_
device Deprecated - Compatibility shim for
cumprod. - cumsum
- See
Array::cumsum - cumsum_
device Deprecated - Compatibility shim for
cumsum. - degrees
- Convert angles from radians to degrees.
- degrees_
device Deprecated - Compatibility shim for
degrees. - dequantize
- Dequantize the matrix
wusing the providedscalesandbiasesand thegroup_sizeandbitsconfiguration. - dequantize_
device Deprecated - Compatibility shim for
dequantize. - diag
- See
Array::diag - diag_
device Deprecated - Compatibility shim for
diag. - diagonal
- See
Array::diagonal - diagonal_
device Deprecated - Compatibility shim for
diagonal. - divide
- See
Array::divide. - divide_
device Deprecated - Compatibility shim for
divide. - divmod
- Element-wise quotient and remainder.
- divmod_
device Deprecated - Compatibility shim for
divmod. - einsum
- Perform the Einstein summation convention on the operands.
- einsum_
device Deprecated - Compatibility shim for
einsum. - eq
- See
Array::eq - eq_
device Deprecated - Compatibility shim for
eq. - erf
- Element-wise error function.
- erf_
device Deprecated - Compatibility shim for
erf. - erfinv
- Element-wise inverse error function.
- erfinv_
device Deprecated - Compatibility shim for
erfinv. - exp
- See
Array::exp. - exp_
device Deprecated - Compatibility shim for
exp. - expand_
dims - Similar to
expand_dims_axes, but only takes a single axis. - expand_
dims_ axes - Add a size one dimension at the given axis, returns an error if the axes are invalid.
- expand_
dims_ axes_ device Deprecated - Compatibility shim for
expand_dims_axes. - expand_
dims_ device Deprecated - Compatibility shim for
expand_dims. - expm1
- Element-wise exponential minus 1.
- expm1_
device Deprecated - Compatibility shim for
expm1. - eye
- See
Array::eye - eye_
device Deprecated - Compatibility shim for
eye. - flatten
- Flatten an array. Returns an error if the axes are invalid.
- flatten_
device Deprecated - Compatibility shim for
flatten. - floor
- See
Array::floor. - floor_
device Deprecated - Compatibility shim for
floor. - floor_
divide - See
Array::floor_divide. - floor_
divide_ device Deprecated - Compatibility shim for
floor_divide. - from_
fp8 - Convert an FP8 (E4M3) encoded array back to a floating point type.
- from_
fp8_ device Deprecated - Compatibility shim for
from_fp8. - full
- See
Array::full - full_
device Deprecated - Compatibility shim for
full. - full_
like - An array filled with the given value, with the same shape as the input.
- full_
like_ device Deprecated - Compatibility shim for
full_like. - gather_
mm - Matrix multiplication with gathered indices.
- gather_
mm_ device Deprecated - Compatibility shim for
gather_mm. - gather_
qmm - Perform quantized matrix multiplication with gathered indices.
- gather_
qmm_ device Deprecated - Compatibility shim for
gather_qmm. - ge
- See
Array::ge - ge_
device Deprecated - Compatibility shim for
ge. - gt
- See
Array::gt - gt_
device Deprecated - Compatibility shim for
gt. - identity
- See
Array::identity - identity_
device Deprecated - Compatibility shim for
identity. - imag
- Element-wise imaginary part from a complex array.
- imag_
device Deprecated - Compatibility shim for
imag. - inner
- Ordinary inner product of vectors for 1-D arrays, in higher dimensions a sum product over the last axes.
- inner_
device Deprecated - Compatibility shim for
inner. - is_
close - See
Array::is_close - is_
close_ device Deprecated - Compatibility shim for
is_close. - is_inf
- Return a boolean array indicating which elements are +/- inifnity.
- is_
inf_ device Deprecated - Compatibility shim for
is_inf. - is_nan
- Return a boolean array indicating which elements are NaN.
- is_
nan_ device Deprecated - Compatibility shim for
is_nan. - is_
neg_ inf - Return a boolean array indicating which elements are negative infinity.
- is_
neg_ inf_ device Deprecated - Compatibility shim for
is_neg_inf. - is_
pos_ inf - Return a boolean array indicating which elements are positive infinity.
- is_
pos_ inf_ device Deprecated - Compatibility shim for
is_pos_inf. - kron
- Perform the Kronecker product of two arrays.
- kron_
device Deprecated - Compatibility shim for
kron. - le
- See
Array::le - le_
device Deprecated - Compatibility shim for
le. - linspace
- Generate evenly spaced values between
startandstop. - linspace_
device Deprecated - Compatibility shim for
linspace. - log
- See
Array::log. - log2
- See
Array::log2. - log1p
- See
Array::log1p. - log1p_
device Deprecated - Compatibility shim for
log1p. - log2_
device Deprecated - Compatibility shim for
log2. - log10
- See
Array::log10. - log10_
device Deprecated - Compatibility shim for
log10. - log_
device Deprecated - Compatibility shim for
log. - logaddexp
- Element-wise log-add-exp.
- logaddexp_
device Deprecated - Compatibility shim for
logaddexp. - logical_
and - See
Array::logical_and - logical_
and_ device Deprecated - Compatibility shim for
logical_and. - logical_
not - See
Array::logical_not - logical_
not_ device Deprecated - Compatibility shim for
logical_not. - logical_
or - See
Array::logical_or - logical_
or_ device Deprecated - Compatibility shim for
logical_or. - logical_
xor - Cast both operands to boolean, broadcast them, and compare for inequality.
- logsumexp
- See
Array::logsumexp - logsumexp_
axes - See
Array::logsumexp_axes - logsumexp_
axes_ device Deprecated - Compatibility shim for
logsumexp_axes. - logsumexp_
axis - See
Array::logsumexp_axis - logsumexp_
axis_ device Deprecated - Compatibility shim for
logsumexp_axis. - logsumexp_
device Deprecated - Compatibility shim for
logsumexp. - lt
- See
Array::lt - lt_
device Deprecated - Compatibility shim for
lt. - matmul
- See
Array::matmul. - matmul_
device Deprecated - Compatibility shim for
matmul. - max
- See
Array::max - max_
axes - See
Array::max_axes - max_
axes_ device Deprecated - Compatibility shim for
max_axes. - max_
axis - See
Array::max_axis - max_
axis_ device Deprecated - Compatibility shim for
max_axis. - max_
device Deprecated - Compatibility shim for
max. - maximum
- Element-wise maximum.
- maximum_
device Deprecated - Compatibility shim for
maximum. - mean
- See
Array::mean - mean_
axes - See
Array::mean_axes - mean_
axes_ device Deprecated - Compatibility shim for
mean_axes. - mean_
axis - See
Array::mean_axis - mean_
axis_ device Deprecated - Compatibility shim for
mean_axis. - mean_
device Deprecated - Compatibility shim for
mean. - median
- See
Array::median - median_
axes - See
Array::median_axes - median_
axes_ device Deprecated - Compatibility shim for
median_axes. - median_
axis - See
Array::median_axis - median_
axis_ device Deprecated - Compatibility shim for
median_axis. - median_
device Deprecated - Compatibility shim for
median. - min
- See
Array::min - min_
axes - See
Array::min - min_
axes_ device Deprecated - Compatibility shim for
min_axes. - min_
axis - See
Array::min_axis - min_
axis_ device Deprecated - Compatibility shim for
min_axis. - min_
device Deprecated - Compatibility shim for
min. - minimum
- Element-wise minimum.
- minimum_
device Deprecated - Compatibility shim for
minimum. - move_
axis - Move an axis to a new position. Returns an error if the axes are invalid.
- move_
axis_ device Deprecated - Compatibility shim for
move_axis. - multiply
- See
Array::multiply. - multiply_
device Deprecated - Compatibility shim for
multiply. - ne
- See
Array::ne - ne_
device Deprecated - Compatibility shim for
ne. - negative
- See
Array::negative. - negative_
device Deprecated - Compatibility shim for
negative. - ones
- See
Array::ones - ones_
device Deprecated - Compatibility shim for
ones. - ones_
dtype - Similar to
Array::onesbut with a specified dtype. - ones_
dtype_ device Deprecated - Compatibility shim for
ones_dtype. - ones_
like - An array of ones like the input.
- ones_
like_ device Deprecated - Compatibility shim for
ones_like. - outer
- 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.
- outer_
device Deprecated - Compatibility shim for
outer. - pad
- Pad an array with a constant value. Returns an error if the width is invalid.
- pad_
device Deprecated - Compatibility shim for
pad. - partition
- Returns a partitioned copy of the flattened array such that the smaller
kthelements are first. Returns an error if the arguments are invalid. - partition_
axis - Returns a partitioned copy of the array such that the smaller
kthelements are first. Returns an error if the arguments are invalid. - partition_
axis_ device Deprecated - Compatibility shim for
partition_axis. - partition_
device Deprecated - Compatibility shim for
partition. - power
- See
Array::power. - power_
device Deprecated - Compatibility shim for
power. - prod
- See
Array::prod - prod_
axes - See
Array::prod_axes - prod_
axes_ device Deprecated - Compatibility shim for
prod_axes. - prod_
axis - See
Array::prod_axis - prod_
axis_ device Deprecated - Compatibility shim for
prod_axis. - prod_
device Deprecated - Compatibility shim for
prod. - quantize
- Quantize the matrix
wusingbitsbits per element. - quantize_
device Deprecated - Compatibility shim for
quantize. - quantized_
matmul - Perform the matrix multiplication with the quantized matrix
w. The quantization uses one floating point scale and bias pergroup_sizeof elements. Each element inwtakesbitsbits and is packed in an unsigned 32 bit integer. - quantized_
matmul_ device Deprecated - Compatibility shim for
quantized_matmul. - radians
- Convert angles from degrees to radians.
- radians_
device Deprecated - Compatibility shim for
radians. - real
- Element-wise real part from a complex array.
- real_
device Deprecated - Compatibility shim for
real. - reciprocal
- See
Array::reciprocal. - reciprocal_
device Deprecated - Compatibility shim for
reciprocal. - remainder
- See
Array::remainder. - remainder_
device Deprecated - Compatibility shim for
remainder. - repeat
- See
Array::repeat - repeat_
axis - See
Array::repeat - repeat_
axis_ device Deprecated - Compatibility shim for
repeat_axis. - repeat_
device Deprecated - Compatibility shim for
repeat. - reshape
- Reshape an array while preserving the size. Returns an error if the new shape is invalid.
- reshape_
device Deprecated - Compatibility shim for
reshape. - round
- See
Array::round. - round_
device Deprecated - Compatibility shim for
round. - rsqrt
- See
Array::rsqrt. - rsqrt_
device Deprecated - Compatibility shim for
rsqrt. - segmented_
mm - Perform a segmented matrix multiplication.
- segmented_
mm_ device Deprecated - Compatibility shim for
segmented_mm. - select
- Select from
aorbaccording toconditionreturning an error if the arrays are not broadcastable. - sigmoid
- Element-wise logistic sigmoid.
- sigmoid_
device Deprecated - Compatibility shim for
sigmoid. - sign
- Element-wise sign.
- sign_
device Deprecated - Compatibility shim for
sign. - sin
- See
Array::sin. - sin_
device Deprecated - Compatibility shim for
sin. - sinh
- Element-wise hyperbolic sine.
- sinh_
device Deprecated - Compatibility shim for
sinh. - softmax
- Similar to
softmax_axesbut with no axis specified. - softmax_
axes - Perform the softmax along the given axis.
- softmax_
axes_ device Deprecated - Compatibility shim for
softmax_axes. - softmax_
axis - Similar to
softmax_axesbut with a single axis. - softmax_
axis_ device Deprecated - Compatibility shim for
softmax_axis. - softmax_
device Deprecated - Compatibility shim for
softmax. - sort
- Returns a sorted copy of the flattened array. Returns an error if the arguments are invalid.
- sort_
axis - Returns a sorted copy of the array. Returns an error if the arguments are invalid.
- sort_
axis_ device Deprecated - Compatibility shim for
sort_axis. - sort_
device Deprecated - Compatibility shim for
sort. - split
Deprecated - Compatibility alias for
split_equal. - split_
at_ indices - Split an array along a given axis. Returns an error if the indices are invalid.
- split_
device Deprecated - Compatibility shim for
split_equal. - split_
equal - Split an array into equal parts along a given axis. Returns an error if the array cannot be split into equal parts.
- split_
sections Deprecated - Compatibility alias for
split_at_indices. - split_
sections_ device Deprecated - Compatibility shim for
split_at_indices. - sqrt
- See
Array::sqrt. - sqrt_
device Deprecated - Compatibility shim for
sqrt. - square
- See
Array::square. - square_
device Deprecated - Compatibility shim for
square. - squeeze
- Similar to
squeeze_axes, but removes all length one axes. - squeeze_
axes - Remove length one axes from an array. Returns an error if the axes are invalid.
- squeeze_
axes_ device Deprecated - Compatibility shim for
squeeze_axes. - squeeze_
device Deprecated - Compatibility shim for
squeeze. - stack
- Stacks the arrays along a new axis. Returns an error if the arguments are invalid.
- stack_
axis Deprecated - Compatibility alias for
stack. - stack_
axis_ device Deprecated - Compatibility shim for
stack. - stack_
device Deprecated - Compatibility shim preserving the old axis-zero behavior of
stack. - std
- Similar to
std_axesbut reduces over all axes. - std_
axes - Compute the standard deviation(s) over the given axes.
- std_
axes_ device Deprecated - Compatibility shim for
std_axes. - std_
axis - Similar to
std_axesbut only reduces over a single axis. - std_
axis_ device Deprecated - Compatibility shim for
std_axis. - std_
device Deprecated - Compatibility shim for [
std]. - subtract
- See
Array::subtract. - subtract_
device Deprecated - Compatibility shim for
subtract. - sum
- See
Array::sum - sum_
axes - See
Array::sum_axes - sum_
axes_ device Deprecated - Compatibility shim for
sum_axes. - sum_
axis - See
Array::sum_axis - sum_
axis_ device Deprecated - Compatibility shim for
sum_axis. - sum_
device Deprecated - Compatibility shim for
sum. - swap_
axes - Swap two axes of an array. Returns an error if the axes are invalid.
- swap_
axes_ device Deprecated - Compatibility shim for
swap_axes. - tan
- See [
Array::tan]. - tan_
device Deprecated - Compatibility shim for
tan. - tanh
- Element-wise hyperbolic tangent.
- tanh_
device Deprecated - Compatibility shim for
tanh. - tensordot_
axes - Compute the tensor dot product along the specified axes.
- tensordot_
axes_ device Deprecated - Compatibility shim for
tensordot_axes. - tensordot_
axis - Similar to
tensordot_axesbut with a single axis. - tensordot_
axis_ device Deprecated - Compatibility shim for
tensordot_axis. - tile
- Construct an array by repeating
athe number of times given byreps. - tile_
device Deprecated - Compatibility shim for
tile. - to_fp8
- Convert an array to FP8 (E4M3) format.
- to_
fp8_ device Deprecated - Compatibility shim for
to_fp8. - transpose
- Transpose with all axes reversed
- transpose_
axes - Transpose the dimensions of the array. Returns an error if the axes are invalid.
- transpose_
axes_ device Deprecated - Compatibility shim for
transpose_axes. - transpose_
device Deprecated - Compatibility shim for
transpose. - tri
- See
Array::tri - tri_
device Deprecated - Compatibility shim for
tri. - tril
- Zeros the array above the given diagonal
- tril_
device Deprecated - Compatibility shim for
tril. - triu
- Zeros the array below the given diagonal
- triu_
device Deprecated - Compatibility shim for
triu. - unflatten
- Unflatten an axis of an array to a shape.
- unflatten_
device Deprecated - Compatibility shim for
unflatten. - var
- See
Array::var - var_
axes - See
Array::var_axes - var_
axes_ device Deprecated - Compatibility shim for
var_axes. - var_
axis - See
Array::var_axis - var_
axis_ device Deprecated - Compatibility shim for
var_axis. - var_
device Deprecated - Compatibility shim for
var. - vecdot
- Compute a vector dot product along
axis. - where
Deprecated - Compatibility alias for
select. - where_
device Deprecated - Compatibility shim for
select. - which
Deprecated - Compatibility alias for
select. - which_
device Deprecated - Compatibility shim for
select. - zeros
- See
Array::zeros - zeros_
device Deprecated - Compatibility shim for
zeros. - zeros_
dtype - Similar to
Array::zerosbut with a specified dtype. - zeros_
dtype_ device Deprecated - Compatibility shim for
zeros_dtype. - zeros_
like - An array of zeros like the input.
- zeros_
like_ device Deprecated - Compatibility shim for
zeros_like.