telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 1 | // |
| 2 | // Copyright © 2017 Arm Ltd. All rights reserved. |
David Beck | ecb56cd | 2018-09-05 12:52:57 +0100 | [diff] [blame] | 3 | // SPDX-License-Identifier: MIT |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 4 | // |
| 5 | |
| 6 | #include <armnn/Tensor.hpp> |
| 7 | #include <armnn/Types.hpp> |
| 8 | |
| 9 | namespace armnn |
| 10 | { |
| 11 | |
telsoa01 | c577f2c | 2018-08-31 09:22:23 +0100 | [diff] [blame] | 12 | /// Performs the ActivationFunction elementwise on the inputs to give the outputs. |
telsoa01 | 4fcda01 | 2018-03-09 14:13:49 +0000 | [diff] [blame] | 13 | void Activation(const float* in, |
| 14 | float* out, |
| 15 | const TensorInfo& tensorInfo, |
| 16 | ActivationFunction function, |
| 17 | float a, |
| 18 | float b); |
| 19 | |
| 20 | } //namespace armnn |