std::function< bool(const Layer &)> LayerSelectorFunction
Copyright (c) 2020 ARM Limited.
The SubgraphView class represents a subgraph of a Graph.
Algorithm that splits a Graph into Subgraphs based on a filtering of layers (e.g. ...
std::vector< SubgraphViewPtr > Subgraphs
std::unique_ptr< SubgraphView > SubgraphViewPtr
static Subgraphs SelectSubgraphs(Graph &graph, const LayerSelectorFunction &selector)
Selects subgraphs from a graph based on the selector function and the algorithm.