From 8cfd059026dafe65977ddab63350763657cb12c2 Mon Sep 17 00:00:00 2001 From: Teresa Charlin Date: Tue, 23 Apr 2024 16:22:47 +0100 Subject: IVGCVSW-8206 In TOSACommon, modify the way the Unique name for the inputs were generated. * input_ * constant_ * intermediate_ * output_ Input and constant do not need output slot as input layers as well as constants only have one output slot, therefore with the GUID is enough to make them unique. This was the case for constants, but for inputs we were adding the input slot, which is not needed. Signed-off-by: Teresa Charlin Signed-off-by: Cathal Corbett Change-Id: I07393fc60f3135337b59a9780aa3a263a995fc9c --- src/backends/tosaCommon/test/OneToManyMappingTests.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/backends/tosaCommon/test/OneToManyMappingTests.cpp') diff --git a/src/backends/tosaCommon/test/OneToManyMappingTests.cpp b/src/backends/tosaCommon/test/OneToManyMappingTests.cpp index 991ef159bf..6ad6ea8d05 100644 --- a/src/backends/tosaCommon/test/OneToManyMappingTests.cpp +++ b/src/backends/tosaCommon/test/OneToManyMappingTests.cpp @@ -77,8 +77,7 @@ TEST_CASE("GetTosaMappingFromLayer_AvgPool2DIgnoreValueLayer") input0->GetOutputSlot(0).SetTensorInfo(inputTensorInfo); pool->GetOutputSlot(0).SetTensorInfo(outputTensorInfo); - TosaSerializationBasicBlock* basicBlock = - GetTosaMappingFromLayer(PolymorphicDowncast(pool)); + TosaSerializationBasicBlock* basicBlock = GetTosaMappingFromLayer(PolymorphicDowncast(pool)); VerifyAvgPool2DIgnoreValue(basicBlock, inputShape, outputShape, -- cgit v1.2.1