26 template <
typename Func>
29 for (
auto it = m_Layers.begin(); it != m_Layers.end(); )
31 auto next = std::next(it);
Layers::const_iterator ConstIterator
const Layers & GetLayers() const
std::list< Layer * > Layers
ConstIterator cbegin() const
Layers::iterator Iterator
unsigned int GetNumInputSlots() const
SubgraphView & operator=(SubgraphView &&other)
Move-assignment operator.
std::vector< InputSlot * > InputSlots
const InputSlot * GetInputSlot(unsigned int index) const
void ForEachLayer(Func func) const
unsigned int GetNumOutputSlots() const
const OutputSlots & GetOutputSlots() const
std::unique_ptr< SubgraphView > SubgraphViewPtr
const InputSlots & GetInputSlots() const
Interface for a layer that is connectable to other layers via InputSlots and OutputSlots.
std::vector< OutputSlot * > OutputSlots
#define ARMNN_DEPRECATED_MSG(message)
SubgraphView(Graph &graph)
Constructs a sub-graph from the entire given graph.
const OutputSlot * GetOutputSlot(unsigned int index) const
ConstIterator cend() const