24.02
|
#include <SquashEqualSiblings.hpp>
Public Member Functions | |
void | Run (Graph &graph, InputSlot &connection) const |
Run for every connection between a base Layer (any) and a child ComparableLayer. More... | |
Protected Member Functions | |
SquashEqualSiblingsImpl ()=default | |
~SquashEqualSiblingsImpl ()=default | |
Definition at line 18 of file SquashEqualSiblings.hpp.
|
protecteddefault |
|
protecteddefault |
Run for every connection between a base Layer (any) and a child ComparableLayer.
For all siblings of the child layer that compare equal to it, bypasses and removes them. I.e., moves the connections in the outputs of the siblings to the outputs of the child layer, so the siblings are left unconnected (and later removed).
Definition at line 25 of file SquashEqualSiblings.hpp.
References Layer::BeginOutputSlots(), Layer::EndOutputSlots(), InputSlot::GetConnectedOutputSlot(), OutputSlot::GetConnections(), OutputSlot::GetNumConnections(), InputSlot::GetOwningLayer(), Layer::GetPriority(), armnn::IgnoreUnused(), and armnn::swap().