From 450dfb1b4d719d60295bfae56f4c46dcaf044d72 Mon Sep 17 00:00:00 2001 From: Georgios Pinitas Date: Tue, 15 Jun 2021 10:11:47 +0100 Subject: Add `batches` options in the graph examples Signed-off-by: Georgios Pinitas Change-Id: Ib0442a25cb60793f530e1cff5e2aaf167d4a6950 Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5812 Reviewed-by: Michalis Spyrou Comments-Addressed: Arm Jenkins Tested-by: Arm Jenkins --- examples/graph_inception_resnet_v1.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples/graph_inception_resnet_v1.cpp') diff --git a/examples/graph_inception_resnet_v1.cpp b/examples/graph_inception_resnet_v1.cpp index 6ae5b5dc77..d789d7f6e7 100644 --- a/examples/graph_inception_resnet_v1.cpp +++ b/examples/graph_inception_resnet_v1.cpp @@ -96,7 +96,7 @@ public: // Create input descriptor const auto operation_layout = common_params.data_layout; - const TensorShape tensor_shape = permute_shape(TensorShape(image_width, image_height, 3U, 1U), DataLayout::NCHW, operation_layout); + const TensorShape tensor_shape = permute_shape(TensorShape(image_width, image_height, 3U, common_params.batches), DataLayout::NCHW, operation_layout); TensorDescriptor input_descriptor = TensorDescriptor(tensor_shape, common_params.data_type).set_layout(operation_layout); // Set weights trained layout -- cgit v1.2.1