From eda87d40532304482acade655580930329a0bb8b Mon Sep 17 00:00:00 2001 From: SiCongLi Date: Thu, 4 Mar 2021 10:27:03 +0000 Subject: Fix cl_gemmlowp_reshaped_rhs_only_fused_output_stage_fixedpoint example CLGEMMLowpReshapedOnlyRHSKernel only accepts 1D bias. Resolves COMPMID-4295 Change-Id: Ib41c42ded3a6e6e7009a238b2deeffb90aa9ea41 Signed-off-by: SiCongLi Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5218 Tested-by: Arm Jenkins Reviewed-by: Georgios Pinitas Comments-Addressed: Arm Jenkins --- .../cl_gemmlowp_reshaped_rhs_only_fused_output_stage_fixedpoint.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') diff --git a/examples/gemm_tuner/cl_gemmlowp_reshaped_rhs_only_fused_output_stage_fixedpoint.cpp b/examples/gemm_tuner/cl_gemmlowp_reshaped_rhs_only_fused_output_stage_fixedpoint.cpp index 95431ed50c..d8f8f1498a 100644 --- a/examples/gemm_tuner/cl_gemmlowp_reshaped_rhs_only_fused_output_stage_fixedpoint.cpp +++ b/examples/gemm_tuner/cl_gemmlowp_reshaped_rhs_only_fused_output_stage_fixedpoint.cpp @@ -193,7 +193,7 @@ public: lhs.allocator()->init(TensorInfo(TensorShape(params.K, params.M, params.B), 1, params.data_type)); rhs.allocator()->init(TensorInfo(TensorShape(params.N, params.K, params.B), 1, params.data_type)); - bias.allocator()->init(TensorInfo(TensorShape(params.N, 1, params.B), 1, DataType::S32)); + bias.allocator()->init(TensorInfo(TensorShape(params.N), 1, DataType::S32)); dst.allocator()->init(TensorInfo(TensorShape(params.N, params.M, params.B), 1, params.data_type)); // Set arbitrary quantization information (non-zero offset to ensure offset contribution stage is included) -- cgit v1.2.1