blob: 5011616c0cbabae3a70f05360024a9141fe8f031 [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
13template <typename Functor>
É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,
David Beck591cdb72018-09-11 16:37:14 +010017 const TensorShape& inShape1,
18 const TensorShape& outShape,
19 const float* inData0,
20 const float* inData1,
21 float* outData);
22};
23
24} //namespace armnn