From 50bc39e401532f9aa838e3d9b1f3e3ae5845e37f Mon Sep 17 00:00:00 2001 From: Cathal Corbett Date: Thu, 12 May 2022 11:03:38 +0100 Subject: Remove unused function PostAllocationConfigure() from IVGCVSW-6949. * Addressing unresolved comment. Signed-off-by: Cathal Corbett Change-Id: Ia70999582670f2b521e9e2c891831618e476024f --- .../workloads/RefDepthwiseConvolution2dWorkload.cpp | 21 --------------------- .../workloads/RefDepthwiseConvolution2dWorkload.hpp | 4 ---- 2 files changed, 25 deletions(-) diff --git a/src/backends/reference/workloads/RefDepthwiseConvolution2dWorkload.cpp b/src/backends/reference/workloads/RefDepthwiseConvolution2dWorkload.cpp index 22538d23c5..fd11ad1e03 100644 --- a/src/backends/reference/workloads/RefDepthwiseConvolution2dWorkload.cpp +++ b/src/backends/reference/workloads/RefDepthwiseConvolution2dWorkload.cpp @@ -36,27 +36,6 @@ RefDepthwiseConvolution2dWorkload::RefDepthwiseConvolution2dWorkload( this->GetGuid()); } -void RefDepthwiseConvolution2dWorkload::PostAllocationConfigure() -{ - PostAllocationConfigure(m_Data.m_Inputs, m_Data.m_Outputs); -} - -void RefDepthwiseConvolution2dWorkload::PostAllocationConfigure(std::vector inputs, - std::vector outputs) -{ - IgnoreUnused(outputs); - - const TensorInfo& rFilterInfo = GetTensorInfo(inputs[1]); - m_FilterShape = rFilterInfo.GetShape(); - m_FilterDecoder = MakeDecoder(rFilterInfo); - - if (m_Data.m_Parameters.m_BiasEnabled) - { - const TensorInfo& biasInfo = GetTensorInfo(inputs[2]); - m_BiasDecoder = MakeDecoder(biasInfo); - } -} - void RefDepthwiseConvolution2dWorkload::Execute() const { Execute(m_Data.m_Inputs, m_Data.m_Outputs); diff --git a/src/backends/reference/workloads/RefDepthwiseConvolution2dWorkload.hpp b/src/backends/reference/workloads/RefDepthwiseConvolution2dWorkload.hpp index 1c7de29b37..ef0b16d1cd 100644 --- a/src/backends/reference/workloads/RefDepthwiseConvolution2dWorkload.hpp +++ b/src/backends/reference/workloads/RefDepthwiseConvolution2dWorkload.hpp @@ -16,14 +16,10 @@ class RefDepthwiseConvolution2dWorkload : public RefBaseWorkload inputs, std::vector outputs); void Execute(std::vector inputs, std::vector outputs) const; std::unique_ptr m_Weight; -- cgit v1.2.1