diff options
author | Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> | 2019-07-23 14:01:37 +0100 |
---|---|---|
committer | Aron Virginas-Tar <Aron.Virginas-Tar@arm.com> | 2019-07-23 14:33:20 +0100 |
commit | 573a8fa04ef0774fe44a4ac6669582a6bf753d6e (patch) | |
tree | efb5f466c71af293597506ee77dcf9f944c6559f /OutputShapeUtils.cpp | |
parent | 074c25a1535b648fdf19d7f6648e8aceef9aa7ad (diff) | |
download | android-nn-driver-573a8fa04ef0774fe44a4ac6669582a6bf753d6e.tar.gz |
IVGCVSW-3553 Fix failing zero_sized tests
Signed-off-by: Aron Virginas-Tar <Aron.Virginas-Tar@arm.com>
Change-Id: Idd10f34babc0d2552d599872b853ba5fb5c98351
Diffstat (limited to 'OutputShapeUtils.cpp')
-rw-r--r-- | OutputShapeUtils.cpp | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/OutputShapeUtils.cpp b/OutputShapeUtils.cpp index e3812a36..0c897d11 100644 --- a/OutputShapeUtils.cpp +++ b/OutputShapeUtils.cpp @@ -96,11 +96,6 @@ namespace armnn_driver using namespace armnn; -bool IsDynamicOutput(const TensorInfo& outputInfo) -{ - return outputInfo.GetNumElements() == 0u; -} - TensorShape InferConvolution2dOutputShape(const TensorShape& inputShape, const TensorShape& kernelShape, const Convolution2dDescriptor& descriptor) @@ -177,4 +172,4 @@ TensorShape InferSubOutputShape(const TensorShape& input0Shape, const TensorShap return CalculateMaxShape(input0Shape, input1Shape); } -} // namespace armnn_driver
\ No newline at end of file +} // namespace armnn_driver |