From 08a4517905da959b6e3401cc24f5e2018f9b51ac Mon Sep 17 00:00:00 2001 From: Anthony Barbier Date: Fri, 30 Nov 2018 17:20:26 +0000 Subject: COMPMID-1497: Use reshaped B strategy in GEMM by default NELSTM, NEFullyConnectedLayer(For quantised types only), NERNN and NEWinogradLayer were all defaulting to on-the-fly reshaping of B Fixed a bug in GemmInterleaved: it was ignoring the 'multis' dimension of the tensor to allocate the memory for B reshaped Change-Id: I7b30f7f57fc65d6a03cccde0bf5515a811f17b54 Reviewed-on: https://review.mlplatform.org/323 Tested-by: Arm Jenkins Reviewed-by: Georgios Pinitas --- arm_compute/core/Types.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'arm_compute/core/Types.h') diff --git a/arm_compute/core/Types.h b/arm_compute/core/Types.h index 7d632fec28..d46c93247c 100644 --- a/arm_compute/core/Types.h +++ b/arm_compute/core/Types.h @@ -1646,8 +1646,8 @@ class GEMMInfo public: /** Default constructor */ GEMMInfo() - : _is_a_reshaped(false), _is_b_reshaped(false), _reshape_b_only_on_first_run(false), _depth_output_gemm3d(0), _reinterpret_input_as_3d(false), _retain_internal_weights(false), - _gemmlowp_output_stage(), _fp_mixed_precision(false) + : _is_a_reshaped(false), _is_b_reshaped(false), _reshape_b_only_on_first_run(true), _depth_output_gemm3d(0), _reinterpret_input_as_3d(false), _retain_internal_weights(false), _gemmlowp_output_stage(), + _fp_mixed_precision(false) { } /** Constructor -- cgit v1.2.1