diff options
Diffstat (limited to 'delegate/src/Resize.hpp')
-rw-r--r-- | delegate/src/Resize.hpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/delegate/src/Resize.hpp b/delegate/src/Resize.hpp index 0cb15d30e4..370f1ab2d2 100644 --- a/delegate/src/Resize.hpp +++ b/delegate/src/Resize.hpp @@ -1,5 +1,5 @@ // -// Copyright © 2022 Arm Ltd and Contributors. All rights reserved. +// Copyright © 2022-2023 Arm Ltd and Contributors. All rights reserved. // SPDX-License-Identifier: MIT // @@ -191,6 +191,12 @@ TfLiteStatus VisitResizeOperator(DelegateData& delegateData, armnn::IOutputSlot& outputSlot = resizeLayer->GetOutputSlot(0); outputSlot.SetTensorInfo(outputTensorInfo); + // try to connect the Constant Inputs if there are any + if(ProcessInputs(resizeLayer,delegateData, tfLiteContext, tfLiteNode) != kTfLiteOk ) + { + return kTfLiteError; + } + ARMNN_ASSERT(resizeLayer != nullptr); return Connect(resizeLayer, tfLiteNode, delegateData); |