Expand description
Numeric utility functions for jit backends
Functionsยง
- add
- Add two tensors
- add_
scalar - Add a tensor and a scalar
- bitwise_
and - Bitwise and two tensors
- bitwise_
and_ scalar - Bitwise and with a scalar
- bitwise_
or - Bitwise or two tensors
- bitwise_
or_ scalar - Bitwise or with a scalar
- bitwise_
xor - Bitwise xor two tensors
- bitwise_
xor_ scalar - Bitwise xor with a scalar
- cummax
- Compute the cumulative maximum along a dimension
- cummin
- Compute the cumulative minimum along a dimension
- cumprod
- Compute the cumulative product along a dimension
- cumsum
- Compute the cumulative sum along a dimension
- div
- Divide two tensors
- div_
scalar - Divide a tensor by a scalar
- empty_
device - Creates a tensor with uninitialized memory
- empty_
device_ dtype - Creates a tensor with uninitialized memory with the specific dtype.
- empty_
device_ optimized - Create a tensor with uninitialized memory
- empty_
device_ optimized_ dtype - Create a tensor with uninitialized memory
- full
- Creates a tensor filled with
value - full_
client - Creates a tensor filled with
value - full_
device_ dtype - Creates a tensor filled with
value - mul
- Multiply two tensors
- mul_
scalar - Multiply a tensor and a scalar
- ones
- Creates a tensor filled with ones
- ones_
client - Creates a tensor filled with ones
- pow
- Calculate the power of two tensors
- remainder
- Calculate remainder of two tensors
- remainder_
scalar - Calculate the remainder of a tensor with a scalar
- sub
- Subtract two tensors
- sub_
scalar - Subtract a tensor and a scalar
- zeros
- Creates a tensor filled with zeros
- zeros_
client - Creates a tensor filled with zeros