From 325279580fdadc36f82eb0aff2a2f3d72d5b71aa Mon Sep 17 00:00:00 2001 From: Manuel Bottini Date: Tue, 5 Nov 2019 16:55:57 +0000 Subject: COMPMID-2106: Extend get_input_accessor() to run input images through QASYMM8 networks Change-Id: I5c44bcc95990c343d7829d885b93e8ff16691c50 Signed-off-by: Manuel Bottini Reviewed-on: https://review.mlplatform.org/c/2226 Tested-by: Arm Jenkins Reviewed-by: Georgios Pinitas --- utils/GraphUtils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'utils/GraphUtils.h') diff --git a/utils/GraphUtils.h b/utils/GraphUtils.h index 826ffff8c3..bc0822cc89 100644 --- a/utils/GraphUtils.h +++ b/utils/GraphUtils.h @@ -486,7 +486,7 @@ inline std::unique_ptr get_input_accessor(const arm_comp 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(image_file); + return arm_compute::support::cpp14::make_unique(image_file, graph_parameters.data_layout); } else if(arm_compute::utility::endswith(image_file_lower, ".jpeg") || arm_compute::utility::endswith(image_file_lower, ".jpg") -- cgit v1.2.1