24.02
|
#include <MovePermuteUp.hpp>
Public Member Functions | |
void | Run (Graph &graph, InputSlot &connection) const |
Run for every connection between a base Layer (any) and a child PermuteLayer. More... | |
Protected Member Functions | |
MovePermuteUpImpl ()=default | |
~MovePermuteUpImpl ()=default | |
Definition at line 16 of file MovePermuteUp.hpp.
|
protecteddefault |
|
protecteddefault |
Run for every connection between a base Layer (any) and a child PermuteLayer.
If the type of the base layer allows it, it moves the permutation to the inputs of the base layer. I.e., adds equivalent permutations before the inputs of the base layer and moves the connections in the output of the child permute layer to the output of the base layer.
Definition at line 23 of file MovePermuteUp.hpp.
References Layer::BeginInputSlots(), Layer::EndInputSlots(), InputSlot::GetConnectedOutputSlot(), Layer::GetInputSlot(), OutputSlot::GetNumConnections(), Layer::GetOutputHandler(), Layer::GetOutputSlot(), InputSlot::GetOwningLayer(), OutputSlot::GetOwningLayer(), Graph::InsertNewLayer(), armnnUtils::Permuted(), and OutputHandler::SetTensorInfo().