blob: c8a23114f05146641e38ea1f249a15819a6f5d87 [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
6#include <armnn/Tensor.hpp>
7#include <armnn/Types.hpp>
8
9namespace armnn
10{
11
telsoa01c577f2c2018-08-31 09:22:23 +010012/// Performs the ActivationFunction elementwise on the inputs to give the outputs.
telsoa014fcda012018-03-09 14:13:49 +000013void Activation(const float* in,
14 float* out,
15 const TensorInfo& tensorInfo,
16 ActivationFunction function,
17 float a,
18 float b);
19
20} //namespace armnn