24.02
|
#include <OptimizeConsecutiveReshapes.hpp>
Public Member Functions | |
void | Run (Graph &graph, InputSlot &connection) const |
Run for every connection between a base ReshapeLayer and a child ReshapeLayer. More... | |
Protected Member Functions | |
OptimizeConsecutiveReshapesImpl ()=default | |
~OptimizeConsecutiveReshapesImpl ()=default | |
Definition at line 14 of file OptimizeConsecutiveReshapes.hpp.
|
protecteddefault |
|
protecteddefault |
Run for every connection between a base ReshapeLayer and a child ReshapeLayer.
Inserts an equivalent ReshapeLayer that bypasses both for that connection.
Definition at line 19 of file OptimizeConsecutiveReshapes.hpp.
References ARMNN_ASSERT, InputSlot::GetConnectedOutputSlot(), Layer::GetInputSlot(), Layer::GetName(), OutputSlot::GetNumConnections(), Layer::GetOutputHandler(), Layer::GetOutputSlot(), InputSlot::GetOwningLayer(), OutputSlot::GetOwningLayer(), TensorInfo::GetShape(), OutputHandler::GetTensorInfo(), OutputSlot::GetTensorInfo(), Layer::GetType(), Graph::InsertNewLayer(), OutputSlot::MoveAllConnections(), and armnn::Reshape.