torch-mlir/include/npcomp/Dialect/Numpy/IR
Stella Laurenzo 6a50efd046 Extend the CPA type inference to work on numpy types/ops.
* Adds an op interface for adding CPA constraints.
* Adds a type conversion hook for handling built-in types (that we can't have adopt our interface).
* Converts tensor<> to object(!Tensor, [e:<type>]) just like NdArray.
* Implement a few numpy ops far enough to do dtype inference for simple sequences.
2020-07-03 18:16:34 -07:00
..
CMakeLists.txt Move Basicpy and Numpy dialect IR to IR/ folder. 2020-06-09 19:22:24 -07:00
NumpyDialect.h Extend the CPA type inference to work on numpy types/ops. 2020-07-03 18:16:34 -07:00
NumpyDialect.td Add create_array_from_tensor and copy_to_tensor ops. 2020-06-28 17:58:26 -07:00
NumpyOps.h Extend the CPA type inference to work on numpy types/ops. 2020-07-03 18:16:34 -07:00
NumpyOps.td Extend the CPA type inference to work on numpy types/ops. 2020-07-03 18:16:34 -07:00