COMPMID-2106: Extend get_input_accessor() to run input images through QASYMM8 networks

Change-Id: I5c44bcc95990c343d7829d885b93e8ff16691c50
Signed-off-by: Manuel Bottini <manuel.bottini@arm.com>
Reviewed-on: https://review.mlplatform.org/c/2226
Tested-by: Arm Jenkins <bsgcomp@arm.com>
Reviewed-by: Georgios Pinitas <georgios.pinitas@arm.com>
diff --git a/utils/GraphUtils.h b/utils/GraphUtils.h
index 826ffff..bc0822c 100644
--- a/utils/GraphUtils.h
+++ b/utils/GraphUtils.h
@@ -486,7 +486,7 @@
         const std::string &image_file_lower = lower_string(image_file);
         if(arm_compute::utility::endswith(image_file_lower, ".npy"))
         {
-            return arm_compute::support::cpp14::make_unique<NumPyBinLoader>(image_file);
+            return arm_compute::support::cpp14::make_unique<NumPyBinLoader>(image_file, graph_parameters.data_layout);
         }
         else if(arm_compute::utility::endswith(image_file_lower, ".jpeg")
                 || arm_compute::utility::endswith(image_file_lower, ".jpg")