David Beck | 591cdb7 | 2018-09-11 16:37:14 +0100 | [diff] [blame] | 1 | // |
| 2 | // Copyright © 2017 Arm Ltd. All rights reserved. |
| 3 | // SPDX-License-Identifier: MIT |
| 4 | // |
| 5 | |
| 6 | #pragma once |
| 7 | |
| 8 | #include <armnn/Tensor.hpp> |
| 9 | |
| 10 | namespace armnn |
| 11 | { |
| 12 | |
| 13 | template <typename Functor> |
Éanna Ó Catháin | d57415d | 2018-11-28 16:24:38 +0000 | [diff] [blame] | 14 | struct ElementwiseFunction |
David Beck | 591cdb7 | 2018-09-11 16:37:14 +0100 | [diff] [blame] | 15 | { |
Éanna Ó Catháin | d57415d | 2018-11-28 16:24:38 +0000 | [diff] [blame] | 16 | ElementwiseFunction(const TensorShape& inShape0, |
David Beck | 591cdb7 | 2018-09-11 16:37:14 +0100 | [diff] [blame] | 17 | const TensorShape& inShape1, |
| 18 | const TensorShape& outShape, |
| 19 | const float* inData0, |
| 20 | const float* inData1, |
| 21 | float* outData); |
| 22 | }; |
| 23 | |
| 24 | } //namespace armnn |