aboutsummaryrefslogtreecommitdiff
path: root/delegate/src/Round.hpp
diff options
context:
space:
mode:
authorSadik Armagan <sadik.armagan@arm.com>2022-08-05 16:12:49 +0100
committerNikhil Raj <nikhil.raj@arm.com>2022-08-29 10:11:09 +0100
commit90a119b9c992de662d3719b04f03735b96259f65 (patch)
tree1b4ea68c8f66e726373814682e747cea8f50be51 /delegate/src/Round.hpp
parentc814e8031dfe9565e94cf89ef193b6af944c73b1 (diff)
downloadarmnn-90a119b9c992de662d3719b04f03735b96259f65.tar.gz
IVGCVSW-7154 'Constant Tensors As Inputs'
* Fixed the issues about converting Conv2D and DepthwiseConv2d input issues * Read 1D input tensors that do not have shape specified Signed-off-by: Sadik Armagan <sadik.armagan@arm.com> Change-Id: I12f3d1c57a2afedac42c6e7b31e4b1fc689abeca
Diffstat (limited to 'delegate/src/Round.hpp')
-rw-r--r--delegate/src/Round.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/delegate/src/Round.hpp b/delegate/src/Round.hpp
index 016af11e21..b920bd5d2f 100644
--- a/delegate/src/Round.hpp
+++ b/delegate/src/Round.hpp
@@ -1,5 +1,5 @@
//
-// Copyright © 2020 Arm Ltd and Contributors. All rights reserved.
+// Copyright © 2022 Arm Ltd and Contributors. All rights reserved.
// SPDX-License-Identifier: MIT
//
@@ -41,7 +41,7 @@ TfLiteStatus VisitFloorOperator(DelegateData& delegateData,
// NOTE: looks like the outputTensorInfo is the only thing that is required for the case
// where we are adding the floor layer so maybe move the other stuff inside the
// if !delegateData block for efficiency.
- const armnn::TensorInfo& outputTensorInfo = GetTensorInfoForTfLiteTensor(tfLiteOutputTensor);
+ const armnn::TensorInfo& outputTensorInfo = GetTensorInfoForTfLiteTensor(tfLiteOutputTensor, true);
// If the m_Network is a nullptr, this signals that a prerequisite TfLite callback is required to clarify the
// support for the operator