blob: ffe3c5fc5d61adce2c0a9e6d2142b59ce40cd675 [file] [log] [blame]
telsoa014fcda012018-03-09 14:13:49 +00001//
2// Copyright © 2017 Arm Ltd. All rights reserved.
David Beckecb56cd2018-09-05 12:52:57 +01003// SPDX-License-Identifier: MIT
telsoa014fcda012018-03-09 14:13:49 +00004//
5
Nattapat Chaimanowongae2c5f02019-04-24 16:19:57 +01006#include "BaseIterator.hpp"
7
telsoa014fcda012018-03-09 14:13:49 +00008#include <armnn/Tensor.hpp>
9#include <armnn/Types.hpp>
10
11namespace armnn
12{
Nattapat Chaimanowongae2c5f02019-04-24 16:19:57 +010013float Activation(float in,
14 ActivationFunction function,
15 float a,
16 float b);
telsoa014fcda012018-03-09 14:13:49 +000017
Nattapat Chaimanowongae2c5f02019-04-24 16:19:57 +010018void Activation(Decoder<float>& in,
19 Encoder<float>& out,
20 const TensorInfo& tensorInfo,
21 ActivationFunction function,
22 float a,
23 float b);
24
25// This is still used by Reference LSTM implementation
telsoa014fcda012018-03-09 14:13:49 +000026void Activation(const float* in,
27 float* out,
28 const TensorInfo& tensorInfo,
29 ActivationFunction function,
30 float a,
31 float b);
telsoa014fcda012018-03-09 14:13:49 +000032} //namespace armnn