From 351f334b5480d7aacc8b8ddd916a3ecb74d0c6c1 Mon Sep 17 00:00:00 2001 From: Sadik Armagan Date: Fri, 5 Aug 2022 16:12:49 +0100 Subject: 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 Change-Id: I12f3d1c57a2afedac42c6e7b31e4b1fc689abeca --- delegate/src/Split.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'delegate/src/Split.hpp') diff --git a/delegate/src/Split.hpp b/delegate/src/Split.hpp index 66e229562a..a535585699 100644 --- a/delegate/src/Split.hpp +++ b/delegate/src/Split.hpp @@ -70,7 +70,7 @@ TfLiteStatus VisitSplitOperator(DelegateData& delegateData, { return kTfLiteError; } - outputs.push_back(GetTensorInfoForTfLiteTensor(tfLiteOutputTensor)); + outputs.push_back(GetTensorInfoForTfLiteTensor(tfLiteOutputTensor, true)); } const std::vector> outputTensorInfos(outputs.begin(), outputs.end()); @@ -224,7 +224,7 @@ TfLiteStatus VisitSplitVOperator(DelegateData& delegateData, { return kTfLiteError; } - outputs.push_back(GetTensorInfoForTfLiteTensor(tfLiteOutputTensor)); + outputs.push_back(GetTensorInfoForTfLiteTensor(tfLiteOutputTensor, true)); } const std::vector> outputTensorInfos(outputs.begin(), outputs.end()); -- cgit v1.2.1