diff options
author | Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> | 2019-07-26 13:14:39 +0100 |
---|---|---|
committer | Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> | 2019-07-26 16:43:25 +0100 |
commit | b7421e5b2a7cd924155b8fc7ec1fc006c0e0519d (patch) | |
tree | e9ce3ca843712c0bbc3435952b279771210acbcc /OutputShapeUtils.hpp | |
parent | 000117b71491f1ddf1ded7f945689a3f629b9611 (diff) | |
download | android-nn-driver-b7421e5b2a7cd924155b8fc7ec1fc006c0e0519d.tar.gz |
IVGCVSW-3578 Do not attempt to infer dynamic output shapes
* Report dynamic output tensors as unsupported for all operations,
regardless of HAL level
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com>
Change-Id: I2341dc96be965886666b75515e9a226d813a1591
Diffstat (limited to 'OutputShapeUtils.hpp')
-rw-r--r-- | OutputShapeUtils.hpp | 40 |
1 files changed, 0 insertions, 40 deletions
diff --git a/OutputShapeUtils.hpp b/OutputShapeUtils.hpp deleted file mode 100644 index 85cafbf6..00000000 --- a/OutputShapeUtils.hpp +++ /dev/null @@ -1,40 +0,0 @@ -// -// Copyright © 2017 Arm Ltd. All rights reserved. -// SPDX-License-Identifier: MIT -// - -#pragma once - -#include <armnn/ArmNN.hpp> - -namespace armnn_driver -{ - -armnn::TensorShape InferConvolution2dOutputShape(const armnn::TensorShape& inputShape, - const armnn::TensorShape& kernelShape, - const armnn::Convolution2dDescriptor& descriptor); - -armnn::TensorShape InferDepthwiseConvolution2dOutputShape(const armnn::TensorShape& inputShape, - const armnn::TensorShape& kernelShape, - const armnn::DepthwiseConvolution2dDescriptor& descriptor); - -armnn::TensorShape InferMaximumOutputShape(const armnn::TensorShape& input0Shape, - const armnn::TensorShape& input1Shape); - -armnn::TensorShape InferMinimumOutputShape(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 InferResizeOutputShape(const armnn::TensorShape& inputShape, - const armnn::ResizeDescriptor& descriptor); - -armnn::TensorShape InferSpaceToDepthOutputShape(const armnn::TensorShape& inputShape, - const armnn::SpaceToDepthDescriptor& descriptor); - -armnn::TensorShape InferSubOutputShape(const armnn::TensorShape& input0Shape, const armnn::TensorShape& input1Shape); - -} // namespace armnn_driver |