Getting Started
Python API
flip()
Triton MLIR Dialects
Programming Guide
Flips a tensor x along the dimension dim.
x (Block) – the first input tensor
dim (int) – the dimension to flip along
This function can also be called as a member function on tensor, as x.flip(...) instead of flip(x, ...).
tensor
x.flip(...)
flip(x, ...)