blob: 1bf2f558167236c510256e5f91d0798f05e9f5eb [file] [log] [blame]
Laurent Carlier749294b2020-06-01 09:03:17 +01001//
telsoa014fcda012018-03-09 14:13:49 +00002// 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
telsoa014fcda012018-03-09 14:13:49 +000025} //namespace armnn