aboutsummaryrefslogtreecommitdiff
path: root/tests/validation/fixtures/FullyConnectedLayerFixture.h
diff options
context:
space:
mode:
authorGiorgio Arena <giorgio.arena@arm.com>2021-05-17 13:03:50 +0100
committerGiorgio Arena <giorgio.arena@arm.com>2021-05-20 15:19:39 +0000
commit4403ed3ed09491686a0b182fa498344b005ca812 (patch)
tree5a231a71d70a7b3ae2412729d8f6a170b54510f7 /tests/validation/fixtures/FullyConnectedLayerFixture.h
parentea8d266515812c4dec936b2153ffd5335873e583 (diff)
downloadComputeLibrary-4403ed3ed09491686a0b182fa498344b005ca812.tar.gz
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 <giorgio.arena@arm.com> Change-Id: Iccc4806701772cede23e24df09c786914d00034c Reviewed-on: https://review.mlplatform.org/c/ml/ComputeLibrary/+/5652 Comments-Addressed: Arm Jenkins <bsgcomp@arm.com> Tested-by: Arm Jenkins <bsgcomp@arm.com> Reviewed-by: Michele Di Giorgio <michele.digiorgio@arm.com>
Diffstat (limited to 'tests/validation/fixtures/FullyConnectedLayerFixture.h')
-rw-r--r--tests/validation/fixtures/FullyConnectedLayerFixture.h1
1 files changed, 1 insertions, 0 deletions
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);