blob: 222c1235b7645686170198271a0b2acf3279bee7 [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-Tar2b173122019-07-15 14:29:09 +010013armnn::TensorShape InferConvolution2dOutputShape(const armnn::TensorShape& inputShape,
14 const armnn::TensorShape& kernelShape,
15 const armnn::Convolution2dDescriptor& descriptor);
16
Aron Virginas-Tar9fd37392019-07-15 18:04:32 +010017armnn::TensorShape InferDepthwiseConvolution2dOutputShape(const armnn::TensorShape& inputShape,
18 const armnn::TensorShape& kernelShape,
19 const armnn::DepthwiseConvolution2dDescriptor& descriptor);
20
Narumol Prangnawarat95b1ef62019-07-15 12:02:20 +010021armnn::TensorShape InferMaximumOutputShape(const armnn::TensorShape& input0Shape,
22 const armnn::TensorShape& input1Shape);
23
Ellen Norris-Thompson1cb29aa2019-07-11 17:27:37 +010024armnn::TensorShape InferMinimumOutputShape(const armnn::TensorShape& input0Shape,
25 const armnn::TensorShape& input1Shape);
26
Sadik Armagan310d8ff2019-07-11 10:53:38 +010027armnn::TensorShape InferPadOutputShape(const armnn::TensorShape& inputShape,
28 const std::vector<std::pair<unsigned int, unsigned int>>& padList);
29
Aron Virginas-Tarf03fcf02019-07-09 17:44:24 +010030armnn::TensorShape InferPreluOutputShape(const armnn::TensorShape& inputShape, const armnn::TensorShape& alphaShape);
31
Aron Virginas-Tarbe5d3562019-07-16 11:32:29 +010032armnn::TensorShape InferResizeOutputShape(const armnn::TensorShape& inputShape,
33 const armnn::ResizeDescriptor& descriptor);
34
Sadik Armagan5e9521c2019-07-12 13:55:57 +010035armnn::TensorShape InferSubOutputShape(const armnn::TensorShape& input0Shape, const armnn::TensorShape& input1Shape);
36
Aron Virginas-Tarf03fcf02019-07-09 17:44:24 +010037} // namespace armnn_driver