torch-mlir/lib/Conversion/TorchOnnxToTorch
Rob Suderman 3500523f75
[onnx] Convert resources to denseattr for `onnx.constant` to `torch` (#2830)
`onnx` explicitly specifies that `raw_data` is stored in `little-endian`
layout. While converting
to `torch` we need to convert from a known endian format to an internal
format of consistent
layout. This means endianness must be correct during the import of
`onnx.Constant`.

---------

Co-authored-by: Xida Ren (Cedar) <cedar.ren@gmail.com>
2024-01-31 11:40:53 -08:00
..
CMakeLists.txt [MLIR][ONNX] Add OnnxToTorch support for Maxpool Op (#2695) 2024-01-12 14:54:38 -08:00
DefaultDomainAtoF.cpp [onnx] Convert resources to denseattr for `onnx.constant` to `torch` (#2830) 2024-01-31 11:40:53 -08:00
DefaultDomainGtoP.cpp Clang format refresh (#2812) 2024-01-29 12:59:33 -05:00
DefaultDomainQtoZ.cpp Enable -Werror in lib/ and LTC. (#2841) 2024-01-30 23:33:21 -08:00
PassDetail.h Initial TorchOnnxToTorch conversion pipeline. (#2585) 2023-11-21 21:02:55 -08:00
Passes.cpp Initial TorchOnnxToTorch conversion pipeline. (#2585) 2023-11-21 21:02:55 -08:00
Patterns.cpp Initial TorchOnnxToTorch conversion pipeline. (#2585) 2023-11-21 21:02:55 -08:00
TorchOnnxToTorch.cpp Initial TorchOnnxToTorch conversion pipeline. (#2585) 2023-11-21 21:02:55 -08:00
Utils.cpp [MLIR][ONNX] Add OnnxToTorch support for Maxpool Op (#2695) 2024-01-12 14:54:38 -08:00