Function tvm::tirx::transform::FlattenTensor

Function tvm::tirx::transform::FlattenTensor#

Function Documentation#

Pass tvm::tirx::transform::FlattenTensor()#

Flatten the multi-dimensional TensorLoad and TensorStore to single dimensional TensorLoad/TensorStore for the TIR not contains opaque block.

Returns:

The pass.