blob: bcb43475493fdf305182324976ba68178ab43131 [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
Aron Virginas-Tar9fd37392019-07-15 18:04:32 +010019armnn::TensorShape InferDepthwiseConvolution2dOutputShape(const armnn::TensorShape& inputShape,
20 const armnn::TensorShape& kernelShape,
21 const armnn::DepthwiseConvolution2dDescriptor& descriptor);
22
Narumol Prangnawarat95b1ef62019-07-15 12:02:20 +010023armnn::TensorShape InferMaximumOutputShape(const armnn::TensorShape& input0Shape,
24 const armnn::TensorShape& input1Shape);
25
Sadik Armagan310d8ff2019-07-11 10:53:38 +010026armnn::TensorShape InferPadOutputShape(const armnn::TensorShape& inputShape,
27 const std::vector<std::pair<unsigned int, unsigned int>>& padList);
28
Aron Virginas-Tarf03fcf02019-07-09 17:44:24 +010029armnn::TensorShape InferPreluOutputShape(const armnn::TensorShape& inputShape, const armnn::TensorShape& alphaShape);
30
Sadik Armagan5e9521c2019-07-12 13:55:57 +010031armnn::TensorShape InferSubOutputShape(const armnn::TensorShape& input0Shape, const armnn::TensorShape& input1Shape);
32
Aron Virginas-Tarf03fcf02019-07-09 17:44:24 +010033} // namespace armnn_driver
34
35