diff options
Diffstat (limited to 'src/backends/reference/workloads/Activation.hpp')
-rw-r--r-- | src/backends/reference/workloads/Activation.hpp | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/backends/reference/workloads/Activation.hpp b/src/backends/reference/workloads/Activation.hpp new file mode 100644 index 0000000000..c8a23114f0 --- /dev/null +++ b/src/backends/reference/workloads/Activation.hpp @@ -0,0 +1,20 @@ +// +// Copyright © 2017 Arm Ltd. All rights reserved. +// SPDX-License-Identifier: MIT +// + +#include <armnn/Tensor.hpp> +#include <armnn/Types.hpp> + +namespace armnn +{ + +/// Performs the ActivationFunction elementwise on the inputs to give the outputs. +void Activation(const float* in, + float* out, + const TensorInfo& tensorInfo, + ActivationFunction function, + float a, + float b); + +} //namespace armnn |