diff options
Diffstat (limited to 'delegate/src/Split.hpp')
-rw-r--r-- | delegate/src/Split.hpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/delegate/src/Split.hpp b/delegate/src/Split.hpp index 5c094b405b..b183b55c54 100644 --- a/delegate/src/Split.hpp +++ b/delegate/src/Split.hpp @@ -1,5 +1,5 @@ // -// Copyright © 2020,2022 Arm Ltd and Contributors. All rights reserved. +// Copyright © 2020,2022-2023 Arm Ltd and Contributors. All rights reserved. // SPDX-License-Identifier: MIT // @@ -334,6 +334,12 @@ TfLiteStatus VisitSplitVOperator(DelegateData& delegateData, layer->GetOutputSlot(k).SetTensorInfo(outputs[k]); } + // try to connect the Constant Inputs if there are any + if(ProcessInputs(layer,delegateData, tfLiteContext, tfLiteNode) != kTfLiteOk ) + { + return kTfLiteError; + } + // Connect return Connect(layer, tfLiteNode, delegateData); } |