Tile API
Programming model
A tile is a multi-dimensional array of values in local memory (Unified Buffer, L1 Cache, etc.) |
|
A tensor is a contiguous ND-array of values in Global Memory. |
|
Define a new tensor. |
|
Creation operations
Memory operations
Binary operations
Computes the element-wise addition of |
|
Computes the element-wise division of |
|
Computes the element-wise 'equality' comparison of |
|
Computes the element-wise 'greater' comparison of |
|
Computes the element-wise 'greater or equal' comparison of |
|
Computes the element-wise left shift (bitwise) of |
|
Computes the element-wise 'less' comparison of |
|
Computes the element-wise 'less or equal' comparison of |
|
Computes the matrix multiplication of |
|
Computes the element-wise maximum of |
|
Computes the element-wise minimum of |
|
Computes the element-wise multiplication of |
|
Computes the element-wise 'inequality' comparison of |
|
Computes the element-wise right shift (bitwise) of |
|
Computes the element-wise subtraction of |
Unary operations
Computes the element-wise absolute value of |
|
Computes the element-wise ceil rounding of |
|
Computes the element-wise cosine of |
|
Computes the element-wise hyperbolic cosine of |
|
Computes the element-wise error function of |
|
Computes the element-wise exponential of |
|
Computes the element-wise exponential (base 2) of |
|
Computes the element-wise floor rounding of |
|
Computes the element-wise natural logarithm of |
|
Computes the element-wise logarithm (base 2) of |
|
Computes the element-wise negation of |
|
Computes the element-wise ReLU value of |
|
Computes the element-wise inverse square root of |
|
Computes the element-wise sine of |
|
Computes the element-wise hyperbolic sine of |
|
Computes the element-wise square root of |
|
Computes the element-wise softmax of |
|
Computes the element-wise tangent of |
|
Computes the element-wise hyperbolic tangent of |
Indexing operations
Reduction operations
Returns the minimum value of each row of the |
|
Returns the maximum value of each row of the |
|
Returns the sum of each row of the |
|
Returns the product of each row of the |
Shape manipulation operations
This function can also be called as a member function on |
|
This function can also be called as a member function on |
|
This function can also be called as a member function on |
|
This function can also be called as a member function on |