Operations#
|
Element-wise absolute value. |
|
Element-wise addition. |
|
Matrix multiplication with addition and optional scaling. |
|
An and reduction over the given axes. |
|
Approximate comparison of two arrays. |
|
An or reduction over the given axes. |
|
Overloaded function. |
|
Element-wise inverse cosine. |
|
Element-wise inverse hyperbolic cosine. |
|
Element-wise inverse sine. |
|
Element-wise inverse hyperbolic sine. |
|
Element-wise inverse tangent. |
|
Element-wise inverse tangent of the ratio of two arrays. |
|
Element-wise inverse hyperbolic tangent. |
|
Indices of the maximum values along the axis. |
|
Indices of the minimum values along the axis. |
|
Returns the indices that partition the array. |
|
Returns the indices that sort the array. |
|
Array equality check. |
|
Create a view into the array with the given shape and strides. |
|
Convert all arrays to have at least one dimension. |
|
Convert all arrays to have at least two dimensions. |
|
Convert all arrays to have at least three dimensions. |
|
Element-wise bitwise and. |
|
Element-wise bitwise or. |
|
Element-wise bitwise xor. |
|
Matrix multiplication with block masking. |
|
Broadcast an array to the given shape. |
|
Element-wise ceil. |
|
Clip the values of the array between the given minimum and maximum. |
|
Concatenate the arrays along the given axis. |
|
Return the elementwise complex conjugate of the input. |
|
Return the elementwise complex conjugate of the input. |
|
The discrete convolution of 1D arrays. |
|
1D convolution over an input with several channels |
|
2D convolution over an input with several channels |
|
3D convolution over an input with several channels |
|
1D transposed convolution over an input with several channels |
|
2D transposed convolution over an input with several channels |
|
3D transposed convolution over an input with several channels |
|
General convolution over an input with several channels |
|
Element-wise cosine. |
|
Element-wise hyperbolic cosine. |
|
Return the cumulative maximum of the elements along the given axis. |
|
Return the cumulative minimum of the elements along the given axis. |
|
Return the cumulative product of the elements along the given axis. |
|
Return the cumulative sum of the elements along the given axis. |
|
Convert angles from radians to degrees. |
|
Dequantize the matrix |
|
Extract a diagonal or construct a diagonal matrix. |
|
Return specified diagonals. |
|
Element-wise division. |
|
Element-wise quotient and remainder. |
|
Perform the Einstein summation convention on the operands. |
|
Compute the contraction order for the given Einstein summation. |
|
Element-wise equality. |
|
Element-wise error function. |
|
Element-wise inverse of |
|
Element-wise exponential. |
|
Element-wise exponential minus 1. |
|
Add a size one dimension at the given axis. |
|
Create an identity matrix or a general diagonal matrix. |
|
Flatten an array. |
|
Element-wise floor. |
|
Element-wise integer division. |
|
Construct an array with the given value. |
|
Matrix multiplication with matrix-level gather. |
|
Perform quantized matrix multiplication with matrix-level gather. |
|
Element-wise greater than. |
|
Element-wise greater or equal. |
|
Perform the Walsh-Hadamard transform along the final axis. |
|
Create a square identity matrix. |
|
Returns the imaginary part of a complex array. |
|
Ordinary inner product of vectors for 1-D arrays, in higher dimensions a sum product over the last axes. |
|
Return a boolean array indicating which elements are finite. |
|
Returns a boolean array where two arrays are element-wise equal within a tolerance. |
|
Return a boolean array indicating which elements are +/- inifnity. |
|
Return a boolean array indicating which elements are NaN. |
|
Return a boolean array indicating which elements are negative infinity. |
|
Return a boolean array indicating which elements are positive infinity. |
|
Check if a |
|
Element-wise left shift. |
|
Element-wise less than. |
|
Element-wise less than or equal. |
|
Generate |
|
Load array(s) from a binary file. |
|
Element-wise natural logarithm. |
|
Element-wise base-2 logarithm. |
|
Element-wise base-10 logarithm. |
|
Element-wise natural log of one plus the array. |
|
Element-wise log-add-exp. |
|
Element-wise logical not. |
|
Element-wise logical and. |
|
Element-wise logical or. |
|
A log-sum-exp reduction over the given axes. |
|
Matrix multiplication. |
|
A max reduction over the given axes. |
|
Element-wise maximum. |
|
Compute the mean(s) over the given axes. |
|
Generate multidimensional coordinate grids from 1-D coordinate arrays |
|
A min reduction over the given axes. |
|
Element-wise minimum. |
|
Move an axis to a new position. |
|
Element-wise multiplication. |
|
Replace NaN and Inf values with finite numbers. |
|
Element-wise negation. |
|
Element-wise not equal. |
|
Construct an array of ones. |
|
An array of ones like the input. |
|
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. |
|
Returns a partitioned copy of the array such that the smaller |
|
Pad an array with a constant value |
|
Element-wise power operation. |
|
An product reduction over the given axes. |
|
Put values along an axis at the specified indices. |
|
Quantize the matrix |
|
Perform the matrix multiplication with the quantized matrix |
|
Convert angles from degrees to radians. |
|
Returns the real part of a complex array. |
|
Element-wise reciprocal. |
|
Element-wise remainder of division. |
|
Repeat an array along a specified axis. |
|
Reshape an array while preserving the size. |
|
Element-wise right shift. |
|
Roll array elements along a given axis. |
|
Round to the given number of decimals. |
|
Element-wise reciprocal and square root. |
|
Save the array to a binary file in |
|
Save several arrays to a binary file in uncompressed |
|
Save several arrays to a binary file in compressed |
|
Save array(s) to a binary file in |
|
Save array(s) to a binary file in |
|
Element-wise logistic sigmoid. |
|
Element-wise sign. |
|
Element-wise sine. |
|
Element-wise hyperbolic sine. |
|
Perform the softmax along the given axis. |
|
Returns a sorted copy of the array. |
|
Split an array along a given axis. |
|
Element-wise square root. |
|
Element-wise square. |
|
Remove length one axes from an array. |
|
Stacks the arrays along a new axis. |
|
Compute the standard deviation(s) over the given axes. |
|
Stop gradients from being computed. |
|
Element-wise subtraction. |
|
Sum reduce the array over the given axes. |
|
Swap two axes of an array. |
|
Take elements along an axis. |
|
Take values along an axis at the specified indices. |
|
Element-wise tangent. |
|
Element-wise hyperbolic tangent. |
|
Compute the tensor dot product along the specified axes. |
|
Construct an array by repeating |
|
Returns the |
|
Return the sum along a specified diagonal in the given array. |
|
Transpose the dimensions of the array. |
|
An array with ones at and below the given diagonal and zeros elsewhere. |
|
Zeros the array above the given diagonal. |
|
Zeros the array below the given diagonal. |
|
Compute the variance(s) over the given axes. |
|
View the array as a different type. |
|
Select from |
|
Construct an array of zeros. |
|
An array of zeros like the input. |