ONE - On-device Neural Engine
|
Class to execute TopKV2 operation. More...
#include <CLTopKV2.h>
Public Member Functions | |
CLTopKV2 () | |
Construct a new CLTopKV2 object. | |
CLTopKV2 (const CLTopKV2 &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) | |
CLTopKV2 & | operator= (const CLTopKV2 &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) | |
CLTopKV2 (CLTopKV2 &&)=default | |
Construct a new CLTopKV2 object by using copy constructor. | |
CLTopKV2 & | operator= (CLTopKV2 &&)=default |
Assign a CLTopKV2 object. | |
void | configure (ICLTensor *input, int k, ICLTensor *values, ICLTensor *indices, int total_bits=32, int bits=4) |
Initialise the kernel's inputs and outputs. | |
void | run () override |
Run the kernels contained in the function Depending on the value of the following environment variables it works differently: | |
Class to execute TopKV2 operation.
Definition at line 60 of file CLTopKV2.h.
arm_compute::CLTopKV2::CLTopKV2 | ( | ) |
Construct a new CLTopKV2 object.
Definition at line 51 of file CLTopKV2.cpp.
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
default |
Construct a new CLTopKV2 object by using copy constructor.
[in] | CLTopKV2 | object to move |
void arm_compute::CLTopKV2::configure | ( | ICLTensor * | input, |
int | k, | ||
ICLTensor * | values, | ||
ICLTensor * | indices, | ||
int | total_bits = 32 , |
||
int | bits = 4 |
||
) |
Initialise the kernel's inputs and outputs.
[in] | input | Input image. Data types supported: U8/S16/F32. |
[in] | k | The value of k . |
[out] | values | Top k values. Data types supported: S32 if input type is U8/S16, F32 if input type is F32. |
[out] | indices | Indices related to top k values. Data types supported: S32 if input type is U8/S16, F32 if input type is F32. |
Definition at line 63 of file CLTopKV2.cpp.
References _GROUPS, _HISTOSPLIT, and _ITEMS.
Assign a CLTopKV2 object.
[in] | CLTopKV2 | object to assign. This object will be moved. |
Prevent instances of this class from being copied (As this class contains pointers)
|
override |
Run the kernels contained in the function Depending on the value of the following environment variables it works differently:
Definition at line 147 of file CLTopKV2.cpp.
Referenced by package.infer.session::inference().