#include <NEEmbeddingLookupKernel.h>
|
| static Status | validate (const ITensorInfo *input, const ITensorInfo *output, const ITensorInfo *lookups) |
| |
NEON kernel to perform EmbeddingLookup operation
Definition at line 52 of file NEEmbeddingLookupKernel.h.
◆ NEEmbeddingLookupKernel() [1/3]
| arm_compute::NEEmbeddingLookupKernel::NEEmbeddingLookupKernel |
( |
| ) |
|
◆ NEEmbeddingLookupKernel() [2/3]
Prevent instances of this class from being copied (As this class contains pointers).
◆ NEEmbeddingLookupKernel() [3/3]
Allow instances of this class to be moved
◆ configure()
| void arm_compute::NEEmbeddingLookupKernel::configure |
( |
const ITensor * |
input, |
|
|
ITensor * |
output, |
|
|
const ITensor * |
lookups |
|
) |
| |
Initialize the kernel's input, output.
- Parameters
-
| [in] | input | Source tensor. Data types supported: U8/S8/QASYMM8/U16/S16/F16/U32/S32/F32. |
| [out] | output | Destination tensor. Data types supported: same as input. |
| [in] | lookups | Lookups are 1D tensor that values are indices into the first dimension of input. |
◆ name()
| const char * arm_compute::NEEmbeddingLookupKernel::name |
( |
| ) |
const |
|
inlineoverride |
◆ operator=() [1/2]
Prevent instances of this class from being copied (As this class contains pointers).
◆ operator=() [2/2]
Allow instances of this class to be moved
◆ run()
| void arm_compute::NEEmbeddingLookupKernel::run |
( |
const Window & |
window, |
|
|
const ThreadInfo & |
info |
|
) |
| |
|
override |
◆ validate()
| static Status arm_compute::NEEmbeddingLookupKernel::validate |
( |
const ITensorInfo * |
input, |
|
|
const ITensorInfo * |
output, |
|
|
const ITensorInfo * |
lookups |
|
) |
| |
|
static |
Static function to check if given info will lead to a valid configuration of NEEmbeddingLookupKernel
- Parameters
-
| [in] | input | Source tensor. Data types supported: U8/S8/QASYMM8/U16/S16/F16/U32/S32/F32. |
| [in] | output | Destination tensor. Data types supported: same as input. |
| [in] | lookups | Lookups info. Data types supported: S32. |
- Returns
- a status
The documentation for this class was generated from the following file: