21.02
|
Basic function to run cpu::kernels::CpuComparisonKernel. More...
#include <NEElementwiseOperations.h>
Public Member Functions | |
NEElementwiseComparisonStatic () | |
Default Constructor. More... | |
~NEElementwiseComparisonStatic () | |
Default Destructor. More... | |
NEElementwiseComparisonStatic (const NEElementwiseComparisonStatic &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEElementwiseComparisonStatic (NEElementwiseComparisonStatic &&) | |
Default move constructor. More... | |
NEElementwiseComparisonStatic & | operator= (const NEElementwiseComparisonStatic &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
NEElementwiseComparisonStatic & | operator= (NEElementwiseComparisonStatic &&) |
Default move assignment operator. More... | |
void | configure (ITensor *input1, ITensor *input2, ITensor *output) |
Initialise the kernel's inputs, output and conversion policy. More... | |
void | run () override |
Run the kernels contained in the function. More... | |
Public Member Functions inherited from IFunction | |
virtual | ~IFunction ()=default |
Destructor. More... | |
virtual void | prepare () |
Prepare the function for executing. More... | |
Static Public Member Functions | |
static Status | validate (const ITensorInfo *input1, const ITensorInfo *input2, const ITensorInfo *output) |
Static function to check if given info will lead to a valid configuration of cpu::kernels::CpuComparisonKernel. More... | |
Basic function to run cpu::kernels::CpuComparisonKernel.
Definition at line 324 of file NEElementwiseOperations.h.
Default Constructor.
Definition at line 249 of file NEElementwiseOperations.cpp.
References NEElementwiseComparisonStatic< op >::operator=(), and NEElementwiseComparisonStatic< op >::~NEElementwiseComparisonStatic().
|
default |
Default Destructor.
Referenced by NEElementwiseComparisonStatic< op >::NEElementwiseComparisonStatic().
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
default |
Default move constructor.
Initialise the kernel's inputs, output and conversion policy.
[in,out] | input1 | First tensor input. Data types supported: U8/QASYMM8/QASYMM8_SIGNED/S16/F16/S32/F32. |
[in,out] | input2 | Second tensor input. Data types supported: Same as input1 . |
[out] | output | Output tensor. Data types supported: U16/U32. |
Definition at line 261 of file NEElementwiseOperations.cpp.
References ITensor::info().
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
Referenced by NEElementwiseComparisonStatic< op >::NEElementwiseComparisonStatic().
|
default |
Default move assignment operator.
|
overridevirtual |
Run the kernels contained in the function.
For Neon kernels:
For OpenCL kernels:
Implements IFunction.
Definition at line 277 of file NEElementwiseOperations.cpp.
References arm_compute::ACL_DST, arm_compute::ACL_SRC_0, arm_compute::ACL_SRC_1, ITensorPack::add_tensor(), and arm_compute::test::validation::dst.
|
static |
Static function to check if given info will lead to a valid configuration of cpu::kernels::CpuComparisonKernel.
[in] | input1 | First tensor input info. Data types supported: U8/QASYMM8/QASYMM8_SIGNED/S16/F16/S32/F32. |
[in] | input2 | Second tensor input info. Data types supported: Same as input1 . |
[in] | output | Output tensor info. Data types supported: U16/U32. |
Definition at line 271 of file NEElementwiseOperations.cpp.
References CpuElementwiseComparisonStatic< op >::validate().