* [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 |
---|---|---|
.. | ||
quantize | Loading commit data... | |
alter_op_layout.cc | Loading commit data... | |
alter_op_layout.h | Loading commit data... | |
canonicalize_cast.cc | Loading commit data... | |
canonicalize_ops.cc | Loading commit data... | |
combine_parallel_conv2d.cc | Loading commit data... | |
de_duplicate.cc | Loading commit data... | |
dead_code.cc | Loading commit data... | |
dependency_graph.cc | Loading commit data... | |
dependency_graph.h | Loading commit data... | |
device_annotation.cc | Loading commit data... | |
eliminate_common_subexpr.cc | Loading commit data... | |
eta_expand.cc | Loading commit data... | |
expr_subst.cc | Loading commit data... | |
expr_subst.h | Loading commit data... | |
feature.cc | Loading commit data... | |
fold_constant.cc | Loading commit data... | |
fold_scale_axis.cc | Loading commit data... | |
forward_rewrite.cc | Loading commit data... | |
fuse_ops.cc | Loading commit data... | |
gradient.cc | Loading commit data... | |
kind_check.cc | Loading commit data... | |
legalize.cc | Loading commit data... | |
let_list.h | Loading commit data... | |
mac_count.cc | Loading commit data... | |
match_exhaustion.cc | Loading commit data... | |
partial_eval.cc | Loading commit data... | |
pass_manager.cc | Loading commit data... | |
pass_util.h | Loading commit data... | |
pattern_util.h | Loading commit data... | |
print_ir.cc | Loading commit data... | |
simplify_inference.cc | Loading commit data... | |
to_a_normal_form.cc | Loading commit data... | |
to_cps.cc | Loading commit data... | |
to_graph_normal_form.cc | Loading commit data... | |
type_infer.cc | Loading commit data... | |
type_solver.cc | Loading commit data... | |
type_solver.h | Loading commit data... | |
util.cc | Loading commit data... | |
well_formed.cc | Loading commit data... |