aboutsummaryrefslogtreecommitdiff
path: root/src/backends/reference/workloads/ElementwiseFunction.hpp
blob: 8099f3279a87cb37d93a217b7bac0f09877a4a7d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
//
// Copyright © 2017 Arm Ltd. All rights reserved.
// SPDX-License-Identifier: MIT
//

#pragma once

#include <armnn/Tensor.hpp>

namespace armnn
{

template <typename Functor, typename dataTypeInput, typename dataTypeOutput>
struct ElementwiseFunction
{
    ElementwiseFunction(const TensorShape& inShape0,
                        const TensorShape& inShape1,
                        const TensorShape& outShape,
                        const dataTypeInput* inData0,
                        const dataTypeInput* inData1,
                        dataTypeOutput* outData);
};

} //namespace armnn