blob: 7452ced9f5ee4a72f77496e1934b2aa6cea789f1 [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
Ellen Norris-Thompson1cb29aa2019-07-11 17:27:37 +010026armnn::TensorShape InferMinimumOutputShape(const armnn::TensorShape& input0Shape,
27 const armnn::TensorShape& input1Shape);
28
Sadik Armagan310d8ff2019-07-11 10:53:38 +010029armnn::TensorShape InferPadOutputShape(const armnn::TensorShape& inputShape,
30 const std::vector<std::pair<unsigned int, unsigned int>>& padList);
31
Aron Virginas-Tarf03fcf02019-07-09 17:44:24 +010032armnn::TensorShape InferPreluOutputShape(const armnn::TensorShape& inputShape, const armnn::TensorShape& alphaShape);
33
Aron Virginas-Tarbe5d3562019-07-16 11:32:29 +010034armnn::TensorShape InferResizeOutputShape(const armnn::TensorShape& inputShape,
35 const armnn::ResizeDescriptor& descriptor);
36
Sadik Armagan5e9521c2019-07-12 13:55:57 +010037armnn::TensorShape InferSubOutputShape(const armnn::TensorShape& input0Shape, const armnn::TensorShape& input1Shape);
38
Aron Virginas-Tarf03fcf02019-07-09 17:44:24 +010039} // namespace armnn_driver
40
41