From c577f2c6a3b4ddb6ba87a882723c53a248afbeba Mon Sep 17 00:00:00 2001 From: telsoa01 Date: Fri, 31 Aug 2018 09:22:23 +0100 Subject: Release 18.08 --- src/armnn/backends/RefWorkloads/Pooling2d.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/armnn/backends/RefWorkloads/Pooling2d.cpp') diff --git a/src/armnn/backends/RefWorkloads/Pooling2d.cpp b/src/armnn/backends/RefWorkloads/Pooling2d.cpp index a643e67690..4047f061b3 100644 --- a/src/armnn/backends/RefWorkloads/Pooling2d.cpp +++ b/src/armnn/backends/RefWorkloads/Pooling2d.cpp @@ -164,7 +164,7 @@ void Pooling2d(const float* in, Executor execute = GetExecutor(params.m_PoolType); // Check supported padding methods outside the loop to simplify - // the inner loop + // the inner loop. if (params.m_PaddingMethod != PaddingMethod::Exclude && params.m_PaddingMethod != PaddingMethod::IgnoreValue) { @@ -192,7 +192,7 @@ void Pooling2d(const float* in, float result = defaultInitializer; float poolAreaSize = boost::numeric_cast((hend - hstart) * (wend - wstart)); - // special case: when the pooling kernel is over a padding region and the padding + // Special case: when the pooling kernel is over a padding region and the padding // size is larger or equal to the kernel and the kernel only covers // padding and no real values, then we initialize the result as zero // by convention. This is because we need to choose a value here and @@ -208,8 +208,8 @@ void Pooling2d(const float* in, if (clamped && params.m_PaddingMethod == PaddingMethod::Exclude) { - // when we exclude the padding, it means we calculate with a smaller - // kernel size, so I change the divisor here + // When we exclude the padding, it means we calculate with a smaller + // kernel size, so I changed the divisor here. poolAreaSize = boost::numeric_cast((hend - hstart) * (wend - wstart)); } -- cgit v1.2.1