blob: 58686954952907a72eb7a52c960c835549d6f43e [file] [log] [blame]
Aron Virginas-Tarf03fcf02019-07-09 17:44:24 +01001//
2// Copyright © 2017 Arm Ltd. All rights reserved.
3// SPDX-License-Identifier: MIT
4//
5
6#pragma once
7
8#include <armnn/ArmNN.hpp>
9
10namespace armnn_driver
11{
12
Aron Virginas-Tar366e0a62019-07-10 13:01:41 +010013bool IsDynamicOutput(const armnn::TensorInfo& outputInfo);
14
Aron Virginas-Tar2b173122019-07-15 14:29:09 +010015armnn::TensorShape InferConvolution2dOutputShape(const armnn::TensorShape& inputShape,
16 const armnn::TensorShape& kernelShape,
17 const armnn::Convolution2dDescriptor& descriptor);
18
Narumol Prangnawarat95b1ef62019-07-15 12:02:20 +010019armnn::TensorShape InferMaximumOutputShape(const armnn::TensorShape& input0Shape,
20 const armnn::TensorShape& input1Shape);
21
Sadik Armagan310d8ff2019-07-11 10:53:38 +010022armnn::TensorShape InferPadOutputShape(const armnn::TensorShape& inputShape,
23 const std::vector<std::pair<unsigned int, unsigned int>>& padList);
24
Aron Virginas-Tarf03fcf02019-07-09 17:44:24 +010025armnn::TensorShape InferPreluOutputShape(const armnn::TensorShape& inputShape, const armnn::TensorShape& alphaShape);
26
Sadik Armagan5e9521c2019-07-12 13:55:57 +010027armnn::TensorShape InferSubOutputShape(const armnn::TensorShape& input0Shape, const armnn::TensorShape& input1Shape);
28
Aron Virginas-Tarf03fcf02019-07-09 17:44:24 +010029} // namespace armnn_driver
30
31