* [Relay] Rewrite pass. This pass transforms an expression to other expression. This pass has many usecases * Replace a expr to another expr, if the other expr has faster performance. * For ASICs, we might want to modify the inputs to adapt to the HW support. * Alter op layout can work in conjunction with this pass. The supporting usecase is the Intel i8 x i8 conv. Intel HW supports u8 x i8 conv in HW. Using this pass, we can replace an i8 x i8 conv to a sequence of operators where one of the operators is now u8 x i8 conv. This will also help automatic quantizaion performance. * Better API name. * Removing the conv2d legalization for x86. Will send a separate PR. * Test name changes. * Registering one funtion to register FTVMLegalize. * Better comments.
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
_ffi | Loading commit data... | |
autotvm | Loading commit data... | |
contrib | Loading commit data... | |
exec | Loading commit data... | |
hybrid | Loading commit data... | |
micro | Loading commit data... | |
relay | Loading commit data... | |
rpc | Loading commit data... | |
__init__.py | Loading commit data... | |
_api_internal.py | Loading commit data... | |
_pyversion.py | Loading commit data... | |
api.py | Loading commit data... | |
arith.py | Loading commit data... | |
attrs.py | Loading commit data... | |
build_module.py | Loading commit data... | |
codegen.py | Loading commit data... | |
container.py | Loading commit data... | |
datatype.py | Loading commit data... | |
error.py | Loading commit data... | |
expr.py | Loading commit data... | |
generic.py | Loading commit data... | |
intrin.py | Loading commit data... | |
ir_builder.py | Loading commit data... | |
ir_pass.py | Loading commit data... | |
make.py | Loading commit data... | |
module.py | Loading commit data... | |
ndarray.py | Loading commit data... | |
node.py | Loading commit data... | |
schedule.py | Loading commit data... | |
stmt.py | Loading commit data... | |
tag.py | Loading commit data... | |
target.py | Loading commit data... | |
tensor.py | Loading commit data... | |
tensor_intrin.py | Loading commit data... | |
testing.py | Loading commit data... |