From 221013677fd43dcd38ed729e83f8510285753369 Mon Sep 17 00:00:00 2001 From: Teresa Charlin Date: Fri, 20 Oct 2023 11:40:12 +0100 Subject: IVGCVSW-8103 SquareDiff restriction in quantization not needed Signed-off-by: Teresa Charlin Change-Id: Ib49795e44ea7e4674a3b8e0df46e80c82f9a4132 --- src/armnnTfLiteParser/TfLiteParser.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/armnnTfLiteParser/TfLiteParser.cpp b/src/armnnTfLiteParser/TfLiteParser.cpp index dcd385023b..b3f5b560eb 100644 --- a/src/armnnTfLiteParser/TfLiteParser.cpp +++ b/src/armnnTfLiteParser/TfLiteParser.cpp @@ -5125,7 +5125,6 @@ void TfLiteParserImpl::ParseSquaredDifference(size_t subgraphIndex, size_t opera TensorInfo inputTensorInfo = InputTensorInfo(subgraphIndex, operatorIndex, 0); TensorInfo input1TensorInfo = InputTensorInfo(subgraphIndex, operatorIndex, 1); - CheckMatchingQuantization(inputTensorInfo, input1TensorInfo, layerName, "Input 0", "Input 1"); IConnectableLayer* layer = m_Network->AddElementwiseBinaryLayer(BinaryOperation::SqDiff, layerName.c_str()); @@ -5136,7 +5135,6 @@ void TfLiteParserImpl::ParseSquaredDifference(size_t subgraphIndex, size_t opera } TensorInfo outputTensorInfo = OutputTensorInfoFromInputs(subgraphIndex, operatorIndex, layer, 0, {0, 1}); - CheckMatchingQuantization(inputTensorInfo, outputTensorInfo, layerName, "Input 0", "Output 0"); layer->GetOutputSlot(0).SetTensorInfo(outputTensorInfo); auto inputTensorIndexes = AsUnsignedVector(GetInputTensorIds(m_Model, subgraphIndex, operatorIndex)); -- cgit v1.2.1