24.08
|
#include <MoveTransposeUp.hpp>
Public Member Functions | |
void | Run (Graph &graph, InputSlot &connection) const |
Run for every connection between a base Layer (any) and a child TransposeLayer. More... | |
Protected Member Functions | |
MoveTransposeUpImpl ()=default | |
~MoveTransposeUpImpl ()=default | |
Definition at line 16 of file MoveTransposeUp.hpp.
|
protecteddefault |
|
protecteddefault |
Run for every connection between a base Layer (any) and a child TransposeLayer.
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 transpose layer to the output of the base layer.
Definition at line 23 of file MoveTransposeUp.hpp.
References Layer::BeginInputSlots(), Layer::EndInputSlots(), InputSlot::GetConnectedOutputSlot(), Layer::GetInputSlot(), OutputSlot::GetNumConnections(), Layer::GetOutputHandler(), Layer::GetOutputSlot(), InputSlot::GetOwningLayer(), OutputSlot::GetOwningLayer(), Graph::InsertNewLayer(), OutputHandler::SetTensorInfo(), and armnnUtils::TransposeTensorShape().