blob: 8099f3279a87cb37d93a217b7bac0f09877a4a7d [file] [log] [blame]
David Beck591cdb72018-09-11 16:37:14 +01001//
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
10namespace armnn
11{
12
kevmay012b4d88e2019-01-24 14:05:09 +000013template <typename Functor, typename dataTypeInput, typename dataTypeOutput>
Éanna Ó Catháind57415d2018-11-28 16:24:38 +000014struct ElementwiseFunction
David Beck591cdb72018-09-11 16:37:14 +010015{
Éanna Ó Catháind57415d2018-11-28 16:24:38 +000016 ElementwiseFunction(const TensorShape& inShape0,
FrancisMurtagh30cdfca2018-12-18 12:57:35 +000017 const TensorShape& inShape1,
18 const TensorShape& outShape,
kevmay012b4d88e2019-01-24 14:05:09 +000019 const dataTypeInput* inData0,
20 const dataTypeInput* inData1,
21 dataTypeOutput* outData);
David Beck591cdb72018-09-11 16:37:14 +010022};
23
24} //namespace armnn