aboutsummaryrefslogtreecommitdiff
path: root/src/armnn/backends/RefWorkloads/Activation.hpp
blob: 4ee604b462cbd02d8ffa9f2edd2bd2236f4a571b (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.
// See LICENSE file in the project root for full license information.
//

#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