24.02
|
#include <PermuteAsReshape.hpp>
Public Member Functions | |
void | Run (Graph &graph, PermuteLayer &permute) const |
Run for every PermuteLayer. Replaces it with a ReshapeLayer if they are equivalent. More... | |
Protected Member Functions | |
PermuteAsReshapeImpl ()=default | |
~PermuteAsReshapeImpl ()=default | |
Definition at line 14 of file PermuteAsReshape.hpp.
|
protecteddefault |
|
protecteddefault |
|
inline |
Run for every PermuteLayer. Replaces it with a ReshapeLayer if they are equivalent.
Definition at line 18 of file PermuteAsReshape.hpp.
References Layer::GetInputSlot(), Layer::GetName(), Layer::GetOutputHandler(), Layer::GetOutputSlot(), TensorInfo::GetShape(), OutputHandler::GetTensorInfo(), Graph::InsertNewLayer(), and OutputSlot::MoveAllConnections().