aboutsummaryrefslogtreecommitdiff
path: root/utils/GraphUtils.cpp
diff options
context:
space:
mode:
authorGeorgios Pinitas <georgios.pinitas@arm.com>2019-04-03 13:18:14 +0100
committerGeorgios Pinitas <georgios.pinitas@arm.com>2019-04-03 15:18:14 +0000
commitb54c644f1186018b9a3a93fa94c351cc3f1a68f0 (patch)
tree20524b8f6bc62d1b8a760488e827bd158ee5d44c /utils/GraphUtils.cpp
parent6afea90d8e60d04e833988d3969af1336b4b8b33 (diff)
downloadComputeLibrary-b54c644f1186018b9a3a93fa94c351cc3f1a68f0.tar.gz
COMPMID-2011: ResNet50 returns wrong result
Change-Id: I55449d2ae834c27d6d8b49db93a3f0b00b5b7e3e Signed-off-by: Georgios Pinitas <georgios.pinitas@arm.com> Reviewed-on: https://review.mlplatform.org/c/940 Reviewed-by: Michalis Spyrou <michalis.spyrou@arm.com> Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com>
Diffstat (limited to 'utils/GraphUtils.cpp')
-rw-r--r--utils/GraphUtils.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/utils/GraphUtils.cpp b/utils/GraphUtils.cpp
index 26ea02a9ff..6be289a7e1 100644
--- a/utils/GraphUtils.cpp
+++ b/utils/GraphUtils.cpp
@@ -77,8 +77,8 @@ void TFPreproccessor::preprocess(ITensor &tensor)
});
}
-CaffePreproccessor::CaffePreproccessor(std::array<float, 3> mean, float scale, bool bgr)
- : _mean(mean), _scale(scale), _bgr(bgr)
+CaffePreproccessor::CaffePreproccessor(std::array<float, 3> mean, bool bgr, float scale)
+ : _mean(mean), _bgr(bgr), _scale(scale)
{
if(_bgr)
{