torch-mlir/lib/Dialect/Torch/IR
Sean Silva 8486968925 Add trivial inliner interfaces.
With this + manually setting private visibility on everything, a simple
classifier can be reduced to this IR, which is looking pretty lean and
mean:
https://gist.github.com/silvasean/19e7e2e21a61ff197aeac0dd864d188f

Also, include a utility script for importing `.pt` models.

```
pt_util.py --import classifier.pt | npcomp-opt -torch-globalize-object-graph
```
2021-02-22 10:40:38 -08:00
..
CMakeLists.txt Add initial TorchScript module importer 2021-01-28 11:55:17 -08:00
TorchDialect.cpp Add trivial inliner interfaces. 2021-02-22 10:40:38 -08:00
TorchOps.cpp Implement GlobalizeObjectGraph transformation. 2021-02-18 18:18:47 -08:00