24.02
|
Go to the documentation of this file.
23 unsigned int numberOfChannels,
29 unsigned int numberOfChannels,
36 unsigned int numberOfChannels,
56 unsigned int firstAxisInclusive,
57 unsigned int lastAxisExclusive);
59 unsigned int GetUnsignedAxis(
const unsigned int inputDimension,
const int axis);
65 template<
typename PrimitiveType>
std::vector< unsigned int > SqueezeDims(const armnn::TensorShape &tensorShape)
unsigned int GetUnsignedAxis(const unsigned int inputDimension, const int axis)
armnn::TensorShape ExpandDimsToRank(const armnn::TensorShape &tensorShape, unsigned int rank)
std::pair< unsigned int, std::vector< float > > GetPerAxisParams(const armnn::TensorInfo &info)
armnn::TensorShape ExpandDims(const armnn::TensorShape &tensorShape, int axis)
unsigned int GetNumElementsBetween(const armnn::TensorShape &shape, unsigned int firstAxisInclusive, unsigned int lastAxisExclusive)
unsigned int GetNumElementsAfter(const armnn::TensorShape &shape, unsigned int axis)
Copyright (c) 2021 ARM Limited and Contributors.
std::pair< float, float > FindMinMax(armnn::ITensorHandle *tensorHandle)
armnn::TensorShape ReduceDims(const armnn::TensorShape &tensorInfo, unsigned int dimensions)
armnn::TensorInfo GetTensorInfo(unsigned int numberOfBatches, unsigned int numberOfChannels, unsigned int height, unsigned int width, const armnn::DataLayout dataLayout, const armnn::DataType dataType)
std::unique_ptr< float[]> ToFloatArray(const std::vector< PrimitiveType > &data, const armnn::TensorInfo &tensorInfo)
armnn::TensorShape GetTensorShape(unsigned int numberOfBatches, unsigned int numberOfChannels, unsigned int height, unsigned int width, const armnn::DataLayout dataLayout)