From 4403ed3ed09491686a0b182fa498344b005ca812 Mon Sep 17 00:00:00 2001 From: Giorgio Arena Date: Mon, 17 May 2021 13:03:50 +0100 Subject: Add support for dynamic weights in CL FullyConnected layer Make GEMM use its native version if weights are dynamic. This ensures no reshape gets performed on the weights tensor Enable dynamic weights tests for the OpenCL backend Resolve COMPMID-4223 Signed-off-by: Giorgio Arena Change-Id: Iccc4806701772cede23e24df09c786914d00034c Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5652 Comments-Addressed: Arm Jenkins Tested-by: Arm Jenkins Reviewed-by: Michele Di Giorgio --- tests/validation/fixtures/FullyConnectedLayerFixture.h | 1 + 1 file changed, 1 insertion(+) (limited to 'tests/validation/fixtures/FullyConnectedLayerFixture.h') diff --git a/tests/validation/fixtures/FullyConnectedLayerFixture.h b/tests/validation/fixtures/FullyConnectedLayerFixture.h index e5fea60923..7d767642f3 100644 --- a/tests/validation/fixtures/FullyConnectedLayerFixture.h +++ b/tests/validation/fixtures/FullyConnectedLayerFixture.h @@ -355,6 +355,7 @@ public: FullyConnectedLayerInfo fc_info; fc_info.activation_info = activation_info; fc_info.are_weights_reshaped = true; + fc_info.transpose_weights = false; fc_info.constant_weights = false; FunctionType fc; fc.configure(&_src, &_weights, &_bias, &_dst, fc_info); -- cgit v1.2.1