narpra01 | 4951d84 | 2019-01-18 16:53:53 +0000 | [diff] [blame] | 1 | // |
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 | |||||
10 | namespace armnn | ||||
11 | { | ||||
12 | |||||
13 | template <typename T> | ||||
14 | void Gather(const TensorInfo& paramsInfo, | ||||
15 | const TensorInfo& indicesInfo, | ||||
16 | const TensorInfo& outputInfo, | ||||
17 | const T* params, | ||||
18 | const int32_t* indices, | ||||
19 | T* output); | ||||
20 | |||||
21 | } //namespace armnn |