// Get the optimized graph
Graph& optGraph = optNetObjPtr->GetGraph();
- // Get the entire graph as a sub-graph
- SubgraphView mainSubgraph(optGraph);
-
// Run backend specific optimizations
for (auto&& selectedBackend : backendSettings.m_SelectedBackends)
{
// Select sub-graphs based on backend
SubgraphViewSelector::Subgraphs subgraphs =
- SubgraphViewSelector::SelectSubgraphs(mainSubgraph,
+ SubgraphViewSelector::SelectSubgraphs(optGraph,
// Select layers assigned to the requested backend
[&backendObjPtr](const Layer& layer)
{