* [RELAY] Added an AnnotatedRegionSet utility class In many of the passes involved in graph partitioning, we need to extract and manipulate annotated regions. This class simplifies the extraction of regions from a relay expression containing region begin and end annotations as well as providing utility functions to query these regions and merge them. Co-authored-by: Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> Change-Id: Ia912fea0b99f64b6a7197aa6da2347e58f469fbb * Rename fix * Update MakeRegions * Fix __init__ * Indentation * Code style * Remove 'Region' from docs * Overload [] to get region * Use src/dest for MergeRegions * Simplify merge * Tidy const loop vars
Name |
Last commit
|
Last update |
---|---|---|
.. | ||
alpha_equal.cc | Loading commit data... | |
annotated_region_set.cc | Loading commit data... | |
annotated_region_set.h | Loading commit data... | |
call_graph.cc | Loading commit data... | |
call_graph.h | Loading commit data... | |
dependency_graph.cc | Loading commit data... | |
dependency_graph.h | Loading commit data... | |
extract_fused_functions.cc | Loading commit data... | |
feature.cc | Loading commit data... | |
kind_check.cc | Loading commit data... | |
mac_count.cc | Loading commit data... | |
match_exhaustion.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... |