xref: /aosp_15_r20/external/armnn/src/backends/reference/workloads/Gather.hpp (revision 89c4ff92f2867872bb9e2354d150bf0c8c502810)
1 //
2 // Copyright © 2017 Arm Ltd and Contributors. All rights reserved.
3 // SPDX-License-Identifier: MIT
4 //
5 
6 #pragma  once
7 
8 #include "armnn/Tensor.hpp"
9 
10 #include "BaseIterator.hpp"
11 #include "Decoders.hpp"
12 #include "Encoders.hpp"
13 
14 namespace armnn
15 {
16 
17 void Gather(const TensorInfo& paramsInfo,
18             const TensorInfo& indicesInfo,
19             const TensorInfo& outputInfo,
20             Decoder<float>& params,
21             const int32_t* indices,
22             Encoder<float>& output,
23             const int32_t = 0);
24 
25 } //namespace armnn
26