blob: b7fd50c54cc527cda00dad9e734808d37d3636c8 [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
telsoa014fcda012018-03-09 14:13:49 +000025} //namespace armnn