24.02
|
Go to the documentation of this file.
34 std::vector<TensorShape>
InferOutputShapes(
const std::vector<TensorShape>& inputShapes)
const override;
bool IsEqual(const PermutationVector &other) const
bool IsEqual(const Layer &other) const
Indicates if the other layer received is equal to this one.
bool IsInverse(const PermutationVector &other) const
TransposeLayer * Clone(Graph &graph) const override
Creates a dynamically-allocated copy of this layer.
void ValidateTensorShapesFromInputs() override
Check if the input tensor shape(s) will lead to a valid configuration of TransposeLayer.
This layer represents a transpose operation.
TransposeDescriptor m_Param
The parameters for the layer (not including tensor-valued weights etc.).
A TransposeDescriptor for the TransposeLayer.
bool IsInverse(const Layer &other) const
Indicates if the other layer received is inverse of this one.
void ExecuteStrategy(IStrategy &strategy) const override
Apply a visitor to this layer.
TransposeLayer(const TransposeDescriptor ¶m, const char *name)
Constructor to create a TransposeLayer.
const PermutationVector & GetPermutation() const
LayerType GetType() const override
Returns the armnn::LayerType of this layer.
PermutationVector m_DimMappings
Indicates how to translate tensor elements from a given source into the target destination,...
~TransposeLayer()=default
Default destructor.
std::vector< TensorShape > InferOutputShapes(const std::vector< TensorShape > &inputShapes) const override
Infers the output shapes from given input shapes and the permutation vector.
virtual std::unique_ptr< IWorkload > CreateWorkload(const IWorkloadFactory &factory) const override
Makes a workload for the Transpose type.
Copyright (c) 2021 ARM Limited and Contributors.