ONE - On-device Neural Engine
All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
arm_compute::CLEmbeddingLookup Class Reference

Class to perform EmbeddingLookup operation. More...

#include <CLEmbeddingLookup.h>

Collaboration diagram for arm_compute::CLEmbeddingLookup:

Public Member Functions

void configure (const ICLTensor *input, ICLTensor *output, const ICLTensor *lookups)
 Set the input and output tensors.
 

Detailed Description

Class to perform EmbeddingLookup operation.

Definition at line 61 of file CLEmbeddingLookup.h.

Member Function Documentation

◆ configure()

void CLEmbeddingLookup::configure ( const ICLTensor *  input,
ICLTensor *  output,
const ICLTensor *  lookups 
)

Set the input and output tensors.

Parameters
[in]inputSource tensor. Data types supported: U8/S8/QASYMM8/U16/S16/U32/S32/F16/F32
[out]outputDestination tensor. Data types and data layouts supported: Same as input.
[in]lookupsLookups 1D tensor that values are indices into the first dimension of input.
Returns
N/A

Definition at line 46 of file CLEmbeddingLookup.cpp.

48{
49 auto k = std::make_unique<CLEmbeddingLookupKernel>();
50 k->configure(input, output, lookups);
51 _kernel = std::move(k);
52}

The documentation for this class was generated from the following files: