torch-mlir/include/npcomp
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
..
Backend/IREE Add _npcomp.backend.iree module. 2020-06-18 23:28:30 -07:00
Conversion Basicpy conversion to IREE+std skeleton and first conversions. 2020-06-13 23:45:43 -07:00
Dialect Extend the CPA type inference to work on numpy types/ops. 2020-07-03 18:16:34 -07:00
E2E Add script tools/format_source.sh and run it on all python and c++ sources. 2020-06-13 14:53:54 -07:00
Python Move most python sources to the include and lib tree. 2020-06-18 18:02:39 -07:00
Typing Extend the CPA type inference to work on numpy types/ops. 2020-07-03 18:16:34 -07:00
CMakeLists.txt Introduce a type interface for mapping to CPA types. 2020-07-02 13:56:27 -07:00
InitAll.h Make a real library for InitAll and extend it to conditionally initialize dependencies. 2020-06-11 17:47:14 -07:00