From ee1497c400db10134ab540005e105f64bd0f486a Mon Sep 17 00:00:00 2001 From: Teresa Charlin Date: Thu, 30 Mar 2023 13:56:34 +0100 Subject: 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 Change-Id: I87e1fef516ce4a8a59245dfdf7d92c153418e1d6 --- src/armnn/SerializeLayerParameters.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/armnn') 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::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::Serialize(ParameterStringifyFunction& fn, -- cgit v1.2.1