torch-mlir/lib/Dialect/Numpy/IR
Stella Laurenzo 5aa2f0f9f6 Add a trivial copy elision canonicalization on ndarray->tensor.
* This elides the very common code the compiler adds for chaining otherwise tensor-related numpy ops together.
* More aggressive canonicalizations would require more advanced analysis.
2020-07-05 18:09:43 -07:00
..
CMakeLists.txt Add partial evaluator for explicit numpy ufuncs. 2020-06-29 15:27:39 -07:00
NumpyDialect.cpp Fixup local ndarray<->tensor transforms to preserve shape. 2020-07-05 17:45:45 -07:00
NumpyOps.cpp Add a trivial copy elision canonicalization on ndarray->tensor. 2020-07-05 18:09:43 -07:00