aboutsummaryrefslogtreecommitdiff
path: root/src/backends/reference/workloads/Activation.hpp
blob: b7fd50c54cc527cda00dad9e734808d37d3636c8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//
// Copyright © 2017 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//

#include "BaseIterator.hpp"

#include <armnn/Tensor.hpp>
#include <armnn/Types.hpp>

namespace armnn
{
float Activation(float in,
                 ActivationFunction function,
                 float a,
                 float b);

void Activation(Decoder<float>& in,
                Encoder<float>& out,
                const TensorInfo& tensorInfo,
                ActivationFunction function,
                float a,
                float b);

} //namespace armnn