torch-mlir/python/torch_mlir_e2e_test
Yi Zhang 486f95e84f Add bufferization pass for TMTensor ops
The pass is mostly borrowed from the BufferizeAnyLinalgOp pass in mlir
upstream with some minor changes. At a high level, it's a naive partial
bufferization pass which allocate new buffers for all the output
tensors. The initial value of an output buffer is copied from the
original buffer if there are uses of the original value.

One difference from linalg bufferization pass is the way to tell if
the loop body uses the init value of output operand. For TMTensor ops,
it differs from op to op because the payload region doesn't represent
the entire loop body.
2022-03-03 11:39:14 -05:00
..
linalg_on_tensors_backends Add bufferization pass for TMTensor ops 2022-03-03 11:39:14 -05:00
torchscript [Torch][Linalg] Add basic support for RNG 2022-01-31 18:56:42 -05:00
tosa_backends [tosa] Enable tosa-to-linalg-named so Matmul works again (#530) 2022-01-19 12:10:04 -08:00
CMakeLists.txt Move external/torch-mlir to the root of the repo. 2021-09-27 17:11:08 -07:00
__init__.py Move external/torch-mlir to the root of the repo. 2021-09-27 17:11:08 -07:00
utils.py Include IR dump options on e2e failure report 2022-02-09 11:19:34 -05:00