blob: 58686954952907a72eb7a52c960c835549d6f43e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
//
// Copyright © 2017 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//
#pragma once
#include <armnn/ArmNN.hpp>
namespace armnn_driver
{
bool IsDynamicOutput(const armnn::TensorInfo& outputInfo);
armnn::TensorShape InferConvolution2dOutputShape(const armnn::TensorShape& inputShape,
const armnn::TensorShape& kernelShape,
const armnn::Convolution2dDescriptor& descriptor);
armnn::TensorShape InferMaximumOutputShape(const armnn::TensorShape& input0Shape,
const armnn::TensorShape& input1Shape);
armnn::TensorShape InferPadOutputShape(const armnn::TensorShape& inputShape,
const std::vector<std::pair<unsigned int, unsigned int>>& padList);
armnn::TensorShape InferPreluOutputShape(const armnn::TensorShape& inputShape, const armnn::TensorShape& alphaShape);
armnn::TensorShape InferSubOutputShape(const armnn::TensorShape& input0Shape, const armnn::TensorShape& input1Shape);
} // namespace armnn_driver
|