Getting Started
Python API
ravel()
Triton MLIR Dialects
Programming Guide
Returns a contiguous flattened view of x.
x
x (Block) – the input tensor
This function can also be called as a member function on tensor, as x.ravel(...) instead of ravel(x, ...).
tensor
x.ravel(...)
ravel(x, ...)