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/armnn | |
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/armnn')
-rw-r--r-- | src/armnn/SerializeLayerParameters.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/armnn/SerializeLayerParameters.cpp b/src/armnn/SerializeLayerParameters.cpp index 209be48248..c318d5273f 100644 --- a/src/armnn/SerializeLayerParameters.cpp +++ b/src/armnn/SerializeLayerParameters.cpp @@ -1,5 +1,5 @@ // -// Copyright © 2017,2022 Arm Ltd. All rights reserved. +// Copyright © 2017,2022-2023 Arm Ltd and Contributors. All rights reserved. // SPDX-License-Identifier: MIT // #include "SerializeLayerParameters.hpp" @@ -205,6 +205,7 @@ void StringifyLayerParameters<FullyConnectedDescriptor>::Serialize(ParameterStri { fn("BiasEnabled", (desc.m_BiasEnabled ? "true" : "false")); fn("TransposeWeightMatrix", (desc.m_TransposeWeightMatrix ? "true" : "false")); + fn("ConstantWeights", (desc.m_ConstantWeights ? "true" : "false")); } void StringifyLayerParameters<GatherDescriptor>::Serialize(ParameterStringifyFunction& fn, |