From 0558ca4bdfa90d77377fc1c60e40854f988b60b5 Mon Sep 17 00:00:00 2001 From: Aron Virginas-Tar Date: Wed, 14 Aug 2019 11:39:50 +0100 Subject: [PATCH] IVGCVSW-3610 Remove unused leftover variable from TransposeConvolution2dImpl Signed-off-by: Aron Virginas-Tar Change-Id: I496f95ab464f3a38e0601799a6ff6ba5ffe3a776 --- src/backends/reference/workloads/TransposeConvolution2d.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/src/backends/reference/workloads/TransposeConvolution2d.cpp b/src/backends/reference/workloads/TransposeConvolution2d.cpp index b633d0d..acbfe0c 100644 --- a/src/backends/reference/workloads/TransposeConvolution2d.cpp +++ b/src/backends/reference/workloads/TransposeConvolution2d.cpp @@ -65,13 +65,11 @@ void TransposeConvolution2dImpl(const TransposeConvolution2dDescriptor& descript unsigned int xOutputOrigin = xInput * strideX - paddingLeft; unsigned int yOutputOrigin = yInput * strideY - paddingTop; - unsigned int weightsBaseIndex = 0u; for (unsigned int dOutput = 0u; dOutput < outputDepth; ++dOutput) { for (unsigned int yWeights = 0u; yWeights < weightsHeight; ++yWeights) { - for (unsigned int xWeights = 0u; xWeights < weightsWidth; - ++xWeights, weightsBaseIndex += inputDepth) + for (unsigned int xWeights = 0u; xWeights < weightsWidth; ++xWeights) { unsigned int yOutput = yOutputOrigin + yWeights; unsigned int xOutput = xOutputOrigin + xWeights; -- 2.7.4