diff options
author | Michele Di Giorgio <michele.digiorgio@arm.com> | 2020-05-04 16:44:28 +0100 |
---|---|---|
committer | TeresaARM <teresa.charlinreyes@arm.com> | 2020-05-04 20:09:24 +0000 |
commit | 6f7585b21a13f4792ef1a55ac943997491ba8aec (patch) | |
tree | 8dc89d75a5e1937f2a28e93be34675f51f602ea9 /src/core | |
parent | 359c48eaf251cbb84b523e5a67a099c739482e6c (diff) | |
download | ComputeLibrary-6f7585b21a13f4792ef1a55ac943997491ba8aec.tar.gz |
COMPMID-3441: Nightly failed due to NEScale QASYMM8_SIGNED output wrong result
Change-Id: I4a97523408f44c509ba0f6bf180c56ea33b964cf
Signed-off-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/3138
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Sheri Zhang <sheri.zhang@arm.com>
Comments-Addressed: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'src/core')
-rw-r--r-- | src/core/NEON/kernels/NEScaleKernel.cpp | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/src/core/NEON/kernels/NEScaleKernel.cpp b/src/core/NEON/kernels/NEScaleKernel.cpp index 47a02d77c5..4f2f925c3c 100644 --- a/src/core/NEON/kernels/NEScaleKernel.cpp +++ b/src/core/NEON/kernels/NEScaleKernel.cpp @@ -25,20 +25,12 @@ #include "arm_compute/core/AccessWindowStatic.h" #include "arm_compute/core/CPP/Validate.h" -#include "arm_compute/core/Coordinates.h" -#include "arm_compute/core/Error.h" #include "arm_compute/core/Helpers.h" -#include "arm_compute/core/ITensor.h" #include "arm_compute/core/NEON/wrapper/wrapper.h" -#include "arm_compute/core/TensorInfo.h" -#include "arm_compute/core/Utils.h" -#include "arm_compute/core/Validate.h" #include "arm_compute/core/Window.h" #include "arm_compute/core/utils/misc/Utility.h" #include <arm_neon.h> -#include <cstddef> -#include <cstdint> namespace arm_compute { @@ -724,7 +716,7 @@ void NEScaleKernel::scale_bilinear_nchw(const Window &window) const auto offsets_ptr = reinterpret_cast<const int32_t *>(offsets.ptr()); const auto dx_ptr = reinterpret_cast<const float *>(dx.ptr()); const auto dy_ptr = reinterpret_cast<const float *>(dy.ptr()); - const auto in_ptr = reinterpret_cast<const uint8_t *>(in.ptr()); + const auto in_ptr = reinterpret_cast<const int8_t *>(in.ptr()); const int in_yi = std::floor((id.y() + _sampling_offset) * hr - _sampling_offset); const int offset_row = in_yi * in_stide_in_bytes; |