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

Function ForEachLayer

include/armnn/backends/SubgraphView.hpp:35–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

33public:
34 template <typename Func>
35 void ForEachLayer(Func func) const
36 {
37 for (auto it = m_Layers.begin(); it != m_Layers.end(); )
38 {
39 auto next = std::next(it);
40 func(*it);
41 it = next;
42 }
43 }
44
45 template <typename Func>
46 void ForEachIConnectableLayer(Func func) const

Callers 2

~GraphMethod · 0.85

Calls 2

beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected