From e011d20f279e6e67e899bc6930b0266fc357bc1c Mon Sep 17 00:00:00 2001 From: Matteo Martincigh Date: Thu, 28 Nov 2019 11:35:47 +0000 Subject: IVGCVSW-4209 Create a public API for the ArmNN Utils * Moved the relevant armnnUtils headers to the new location: include/armnnUtils * Update the header usage throughout the source code !android-nn-driver:2387 Signed-off-by: Matteo Martincigh Change-Id: I2ba15cebcacafad2b5a1a7b9c3312ffc585e09d6 --- src/armnnUtils/TensorUtils.hpp | 41 ----------------------------------------- 1 file changed, 41 deletions(-) delete mode 100644 src/armnnUtils/TensorUtils.hpp (limited to 'src/armnnUtils/TensorUtils.hpp') diff --git a/src/armnnUtils/TensorUtils.hpp b/src/armnnUtils/TensorUtils.hpp deleted file mode 100644 index b67431d757..0000000000 --- a/src/armnnUtils/TensorUtils.hpp +++ /dev/null @@ -1,41 +0,0 @@ -// -// Copyright © 2017 Arm Ltd. All rights reserved. -// SPDX-License-Identifier: MIT -// - -#pragma once - -#include - -#include - -namespace armnnUtils -{ -armnn::TensorShape GetTensorShape(unsigned int numberOfBatches, - unsigned int numberOfChannels, - unsigned int height, - unsigned int width, - const armnn::DataLayout dataLayout); - -armnn::TensorInfo GetTensorInfo(unsigned int numberOfBatches, - unsigned int numberOfChannels, - unsigned int height, - unsigned int width, - const armnn::DataLayout dataLayout, - const armnn::DataType dataType); - -std::pair FindMinMax(armnn::ITensorHandle* tensorHandle); - -armnn::TensorShape ExpandDims(const armnn::TensorShape& tensorShape, int axis); - -unsigned int GetNumElementsBetween(const armnn::TensorShape& shape, - unsigned int firstAxisInclusive, - unsigned int lastAxisExclusive); - -unsigned int GetUnsignedAxis(const unsigned int inputDimension, const int axis); - -unsigned int GetNumElementsAfter(const armnn::TensorShape& shape, unsigned int axis); - -std::pair> GetPerAxisParams(const armnn::TensorInfo& info); - -} // namespace armnnUtils -- cgit v1.2.1