|
ONE - On-device Neural Engine
|
Class to perform HashtableLookup operation. More...
#include <NEHashtableLookup.h>

Public Member Functions | |
| void | configure (const ITensor *lookups, const ITensor *keys, const ITensor *input, ITensor *output, ITensor *hits) |
| Set the input and output tensors. | |
Static Public Member Functions | |
| static Status | validate (const ITensorInfo *lookups, const ITensorInfo *keys, const ITensorInfo *input, const ITensorInfo *output, const ITensorInfo *hits) |
Class to perform HashtableLookup operation.
Definition at line 63 of file NEHashtableLookup.h.
| void NEHashtableLookup::configure | ( | const ITensor * | lookups, |
| const ITensor * | keys, | ||
| const ITensor * | input, | ||
| ITensor * | output, | ||
| ITensor * | hits | ||
| ) |
Set the input and output tensors.
| [in] | lookups | Lookups 1D tensor that values are indices into the first dimension of input. Data types supported: S32 |
| [in] | keys | Keys 1D tensor. keys and input pair represent a map. Data types supported: S32 |
| [in] | input | Source tensor. Data types supported: U8/S8/QASYMM8/U16/S16/U32/S32/F16/F32 |
| [out] | output | Destination tensor. Data types and data layouts supported: Same as input. |
| [out] | hits | Hits 1D tensor. A boolean tensor that indicates whether the lookup hits (True) or not (False). Data types supported: U8/QASYMM8 |
Definition at line 47 of file NEHashtableLookup.cpp.
|
static |
Static function to check if given info will lead to a valid configuration of NECopy
| [in] | lookups | Lookups 1D tensor info. Data types supported: S32 |
| [in] | keys | Keys 1D tensor info. keys and input pair represent a map. Data types supported: S32 |
| [in] | input | Source tensor info. Data types supported: U8/S8/QASYMM8/U16/S16/U32/S32/F16/F32 |
| [in] | output | Destination tensor info. Data types and data layouts supported: Same as input. |
| [in] | hits | Hits 1D tensor info. A boolean tensor that indicates whether the lookup hits (True) or not (False). Data types supported: U8/QASYMM8 |
Definition at line 55 of file NEHashtableLookup.cpp.
References arm_compute::NEHashtableLookupKernel::validate().