blob: c273b497b39e9ab09ae2180a890511cfe6f76bea [file] [log] [blame]
//
// Copyright © 2017 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//
#pragma once
#include <armnn/TypesUtils.hpp>
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<float, float> FindMinMax(armnn::ITensorHandle* tensorHandle);
} // namespace armnnUtils