diff options
Diffstat (limited to 'src/backends/reference/workloads/ElementwiseFunction.hpp')
-rw-r--r-- | src/backends/reference/workloads/ElementwiseFunction.hpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/backends/reference/workloads/ElementwiseFunction.hpp b/src/backends/reference/workloads/ElementwiseFunction.hpp index 8099f3279a..9eb003d5f9 100644 --- a/src/backends/reference/workloads/ElementwiseFunction.hpp +++ b/src/backends/reference/workloads/ElementwiseFunction.hpp @@ -5,20 +5,21 @@ #pragma once +#include "BaseIterator.hpp" #include <armnn/Tensor.hpp> namespace armnn { -template <typename Functor, typename dataTypeInput, typename dataTypeOutput> +template <typename Functor, typename DecoderOp, typename EncoderOp> struct ElementwiseFunction { ElementwiseFunction(const TensorShape& inShape0, const TensorShape& inShape1, const TensorShape& outShape, - const dataTypeInput* inData0, - const dataTypeInput* inData1, - dataTypeOutput* outData); + DecoderOp& inData0, + DecoderOp& inData1, + EncoderOp& outData); }; } //namespace armnn |