From b75fc93a6d6a91c5a9d18b2e4617c9265cf03c4d Mon Sep 17 00:00:00 2001 From: Teresa Charlin Date: Mon, 23 Jan 2023 13:16:26 +0000 Subject: IVGCVSW-7454 Enable NonConstWeights in CpuAcc Signed-off-by: Teresa Charlin Signed-off-by: Mike Kelly Change-Id: I74a93b1e2e5c9f12ce4523df3f21e5c0967fddfb --- src/backends/backendsCommon/test/CompatibilityTests.cpp | 4 ++-- src/backends/neon/NeonBackend.hpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/backends') diff --git a/src/backends/backendsCommon/test/CompatibilityTests.cpp b/src/backends/backendsCommon/test/CompatibilityTests.cpp index 9c85ffcfc3..8b0644b9f7 100644 --- a/src/backends/backendsCommon/test/CompatibilityTests.cpp +++ b/src/backends/backendsCommon/test/CompatibilityTests.cpp @@ -1,5 +1,5 @@ // -// Copyright © 2017 Arm Ltd. All rights reserved. +// Copyright © 2017,2019-2023 Arm Ltd and Contributors. All rights reserved. // SPDX-License-Identifier: MIT // @@ -194,7 +194,7 @@ TEST_CASE ("Neon_Backends_Capability_Test") auto neonCapabilities = neonBackend->GetCapabilities(); CapabilityTestHelper(neonCapabilities, - {{"NonConstWeights", false}, + {{"NonConstWeights", true}, {"AsyncExecution", false}, {"ProtectedContentAllocation", false}, {"ConstantTensorsAsInputs", true}, diff --git a/src/backends/neon/NeonBackend.hpp b/src/backends/neon/NeonBackend.hpp index d407368d19..3364e4be41 100644 --- a/src/backends/neon/NeonBackend.hpp +++ b/src/backends/neon/NeonBackend.hpp @@ -1,5 +1,5 @@ // -// Copyright © 2017 Arm Ltd. All rights reserved. +// Copyright © 2017-2023 Arm Ltd and Contributors. All rights reserved. // SPDX-License-Identifier: MIT // #pragma once @@ -12,7 +12,7 @@ namespace armnn // add new capabilities here.. const BackendCapabilities cpuAccCapabilities("CpuAcc", { - {"NonConstWeights", false}, + {"NonConstWeights", true}, {"AsyncExecution", false}, {"ProtectedContentAllocation", false}, {"ConstantTensorsAsInputs", true}, -- cgit v1.2.1