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