torch-mlir/python/npcomp/dialect
Stella Laurenzo e18e8e0a96 Add boolean/logical operations (and, or, not).
* Adds a new to_boolean op to evaluate a value as a truthy i1
* Uses cascading scf.if ops to properly evaluate and/or sequences (short-circuit and original value returning)
* Adds a helper to construct select ops and uses it to implement 'not'
2020-06-09 00:01:21 -07:00
..
Basicpy.py Add boolean/logical operations (and, or, not). 2020-06-09 00:01:21 -07:00
Numpy.py Refactor things so that an SCF mixin dialect helper can be used. 2020-06-08 16:10:51 -07:00
__init__.py Add python side Numpy dialect wrapper. 2020-05-01 10:38:52 -07:00