Getting Started
Python API
abs()
Triton MLIR Dialects
Programming Guide
Computes the element-wise absolute value of x.
x
x (Block) – the input values
This function can also be called as a member function on tensor, as x.abs() instead of abs(x).
tensor
x.abs()
abs(x)