diff options
author | Matteo Martincigh <matteo.martincigh@arm.com> | 2019-06-13 17:27:46 +0100 |
---|---|---|
committer | Matteo Martincigh <matteo.martincigh@arm.com> | 2019-06-19 11:12:35 +0000 |
commit | ab9e52563f624d9782b97400f643d2632cc8d770 (patch) | |
tree | 5fec7f9e398dbd2337241cd3cc908f7b0e1d588b /src/backends/reference/workloads/PreluImpl.hpp | |
parent | bee4bc944aa50782ff22cb4a31fbc611212a5e89 (diff) | |
download | armnn-ab9e52563f624d9782b97400f643d2632cc8d770.tar.gz |
IVGCVSW-3268 Add Reference workload support for the new Prelu Activation layer
* Added reference workload for the PReLU Activation layer
* Added factory methods
* Added validation support
* Added Int16 support
* Added unit tests
Change-Id: Ic950d908c5e0a335dccd2960a3ffab0f8b599876
Signed-off-by: Matteo Martincigh <matteo.martincigh@arm.com>
Diffstat (limited to 'src/backends/reference/workloads/PreluImpl.hpp')
-rw-r--r-- | src/backends/reference/workloads/PreluImpl.hpp | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/backends/reference/workloads/PreluImpl.hpp b/src/backends/reference/workloads/PreluImpl.hpp new file mode 100644 index 0000000000..9299b1c7f7 --- /dev/null +++ b/src/backends/reference/workloads/PreluImpl.hpp @@ -0,0 +1,21 @@ +// +// Copyright © 2017 Arm Ltd. All rights reserved. +// SPDX-License-Identifier: MIT +// + +#pragma once + +#include "Encoders.hpp" +#include "Decoders.hpp" + +#include <backendsCommon/WorkloadData.hpp> + +namespace armnn +{ + +void PreluImpl(const PreluQueueDescriptor& data, + Decoder<float>& inputData, + Decoder<float>& alphaData, + Encoder<float>& outputData); + +} // namespace armnn |