ONE - On-device Neural Engine
|
Class to to run CLGatherKernel. More...
#include <CLGatherEx.h>
Public Member Functions | |
void | configure (const ICLTensor *input, const ICLTensor *indices, ICLTensor *output, int axis=0) |
Initialise the kernel's inputs, output and convertion policy. | |
Static Public Member Functions | |
static Status | validate (const ITensorInfo *input, const ITensorInfo *indices, const ITensorInfo *output, int axis=0) |
Static function to check if given info will lead to a valid configuration of CLGatherEx. | |
Class to to run CLGatherKernel.
Definition at line 62 of file CLGatherEx.h.
void CLGatherEx::configure | ( | const ICLTensor * | input, |
const ICLTensor * | indices, | ||
ICLTensor * | output, | ||
int | axis = 0 |
||
) |
Initialise the kernel's inputs, output and convertion policy.
[in] | input | An input tensor. Data types supported: U8/QASYMM8/S32/F32. |
[in] | indices | An indexes tensor. Data types supported: S32. |
[out] | output | The output tensor, Data types supported: same as input . |
[in] | axis | (Optional) The axis in input to gather indices from. Defaults to 0 |
Definition at line 50 of file CLGatherEx.cpp.
|
static |
Static function to check if given info will lead to a valid configuration of CLGatherEx.
[in] | input | An input tensor. Data types supported: U8/QASYMM8/S32/F32. |
[in] | indices | An indexes tensor. Data types supported: S32. |
[out] | output | The output tensor, Data types supported: same as input . |
[in] | axis | (Optional) The axis in input to gather indices from. Defaults to 0 |
Definition at line 58 of file CLGatherEx.cpp.
References arm_compute::CLGatherExKernel::validate().