aboutsummaryrefslogtreecommitdiff
path: root/src/backends/reference/workloads/Activation.hpp
blob: c8a23114f05146641e38ea1f249a15819a6f5d87 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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