* [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 |
---|---|---|
.. | ||
backend | Loading commit data... | |
frontend | Loading commit data... | |
grammar | Loading commit data... | |
op | Loading commit data... | |
quantize | Loading commit data... | |
testing | Loading commit data... | |
__init__.py | Loading commit data... | |
_analysis.py | Loading commit data... | |
_base.py | Loading commit data... | |
_build_module.py | Loading commit data... | |
_expr.py | Loading commit data... | |
_make.py | Loading commit data... | |
_module.py | Loading commit data... | |
_module.pyi | Loading commit data... | |
_parser.py | Loading commit data... | |
_transform.py | Loading commit data... | |
adt.py | Loading commit data... | |
analysis.py | Loading commit data... | |
annotation.py | Loading commit data... | |
base.py | Loading commit data... | |
build_module.py | Loading commit data... | |
contrib.py | Loading commit data... | |
debug.py | Loading commit data... | |
expr.py | Loading commit data... | |
expr.pyi | Loading commit data... | |
expr_functor.py | Loading commit data... | |
feature.py | Loading commit data... | |
image.py | Loading commit data... | |
loops.py | Loading commit data... | |
module.py | Loading commit data... | |
nn.py | Loading commit data... | |
param_dict.py | Loading commit data... | |
parser.py | Loading commit data... | |
prelude.py | Loading commit data... | |
prelude.rly | Loading commit data... | |
scope_builder.py | Loading commit data... | |
transform.py | Loading commit data... | |
transform.pyi | Loading commit data... | |
ty.py | Loading commit data... | |
ty.pyi | Loading commit data... | |
vision.py | Loading commit data... |