diff options
author | Teresa Charlin <teresa.charlinreyes@arm.com> | 2023-03-30 13:56:34 +0100 |
---|---|---|
committer | Teresa Charlin <teresa.charlinreyes@arm.com> | 2023-05-08 18:18:39 +0100 |
commit | ee1497c400db10134ab540005e105f64bd0f486a (patch) | |
tree | 807a47a2854fe6f472f9af2c9ec4b65643912b80 /src/backends/cl/test | |
parent | a3dc95ec2b0ac9e7f87dd32d03679a4b2a9b5d2a (diff) | |
download | armnn-ee1497c400db10134ab540005e105f64bd0f486a.tar.gz |
IVGCVSW-7454 Enable NonConstWeights in GpuAcc
* Set flag for constant weights and bias in ACL tensorInfo in ACl workloads
* Set flag for constant weights and bias in Unit Tests
* Add to dot file for FullyConnected layer the constantWeights flag
Signed-off-by: Teresa Charlin <teresa.charlinreyes@arm.com>
Change-Id: I87e1fef516ce4a8a59245dfdf7d92c153418e1d6
Diffstat (limited to 'src/backends/cl/test')
-rw-r--r-- | src/backends/cl/test/ClCreateWorkloadTests.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/backends/cl/test/ClCreateWorkloadTests.cpp b/src/backends/cl/test/ClCreateWorkloadTests.cpp index c49ca23266..51ea0dc5d3 100644 --- a/src/backends/cl/test/ClCreateWorkloadTests.cpp +++ b/src/backends/cl/test/ClCreateWorkloadTests.cpp @@ -410,10 +410,10 @@ TEST_CASE_FIXTURE(ClContextControlFixture, "CreateConvolution2dClCompiledContext const std::vector<float> quantScales{ 0.5f, 0.75f, 1.0f }; constexpr unsigned int quantDimension = 0; - TensorInfo kernelInfo({ 3, 1, 1, 2 }, kernelType, quantScales, quantDimension); + TensorInfo kernelInfo({ 3, 1, 1, 2 }, kernelType, quantScales, quantDimension, true); const std::vector<float> biasQuantScales{ 0.25f, 0.375f, 0.5f }; - TensorInfo biasInfo({ 3 }, biasType, biasQuantScales, quantDimension); + TensorInfo biasInfo({ 3 }, biasType, biasQuantScales, quantDimension, true); std::vector<uint8_t> inputData = { |