diff options
author | Teresa Charlin <teresa.charlinreyes@arm.com> | 2023-10-20 11:40:12 +0100 |
---|---|---|
committer | TeresaARM <teresa.charlinreyes@arm.com> | 2023-10-20 10:50:33 +0000 |
commit | 221013677fd43dcd38ed729e83f8510285753369 (patch) | |
tree | 193185ce8ab6771532ca8edc90ae8b9f24acd42b /src | |
parent | 98eace94204e44b831bd000dd22c23eb39bc1a4f (diff) | |
download | armnn-221013677fd43dcd38ed729e83f8510285753369.tar.gz |
IVGCVSW-8103 SquareDiff restriction in quantization not needed
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: Ib49795e44ea7e4674a3b8e0df46e80c82f9a4132
Diffstat (limited to 'src')
-rw-r--r-- | src/armnnTfLiteParser/TfLiteParser.cpp | 2 |
1 files changed, 0 insertions, 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)); |