torch-mlir/python/torch_mlir
Matthew Francis-Landau fe9db78120
Allow custom ops to return an array of tensors (#3531)
This PR adds support to `fx_importer.py` for handling custom ops that
return an array of tensors. As long as the length of the array is
consistent across runs (determined statically), then this patch will
work. This does not require that the number of tensors returned is
determined by the op's definition.

CC @sjain-stanford
2024-07-14 11:54:23 -07:00
..
_mlir_libs [ci] Upgrade to new runners and disable unsupported jobs. (#2818) 2024-01-27 18:35:45 -08:00
dialects Upstream the ONNX importer. (#2636) 2023-12-12 19:02:51 -08:00
extras Allow custom ops to return an array of tensors (#3531) 2024-07-14 11:54:23 -07:00
tools/import_onnx Bump Onnx Version to 1.16.1 (#3515) 2024-07-01 22:15:45 +05:30
compiler_utils.py [NFC] Expose both raw Torch dialect and Torch dialect in backend form with Dynamo/FX (#3541) 2024-07-14 10:33:47 -07:00
fx.py [NFC] Expose both raw Torch dialect and Torch dialect in backend form with Dynamo/FX (#3541) 2024-07-14 10:33:47 -07:00