MCPcopy Create free account
hub / github.com/ARM-software/armnn / GetPosInGraph

Method GetPosInGraph

src/armnn/Graph.hpp:455–463  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

453};
454
455inline Graph::Iterator Graph::GetPosInGraph(Layer& layer)
456{
457 auto it = m_PosInGraphMap.find(&layer);
458 if (it == m_PosInGraphMap.end())
459 {
460 throw armnn::Exception("unable to find layer in graph map.");
461 }
462 return it->second;
463}
464
465template <typename LayerT, typename... Args>
466inline LayerT* Graph::AddLayer(Args&&... args)

Callers 3

LoadedNetworkMethod · 0.80
RemoveMethod · 0.80
PassMethod · 0.80

Calls 2

ExceptionClass · 0.50
endMethod · 0.45

Tested by

no test coverage detected