21.02
|
Basic function to run cpu::kernels::CpuComparisonKernel. More...
#include <CpuElementwise.h>
Public Member Functions | |
void | configure (const ITensorInfo *input1, const ITensorInfo *input2, ITensorInfo *output) |
Initialise the kernel's inputs, output and conversion policy. More... | |
Public Member Functions inherited from INEOperator | |
INEOperator (IRuntimeContext *ctx=nullptr) | |
Constructor. More... | |
INEOperator (const INEOperator &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
INEOperator (INEOperator &&)=default | |
Default move constructor. More... | |
INEOperator & | operator= (const INEOperator &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
INEOperator & | operator= (INEOperator &&)=default |
Default move assignment operator. More... | |
~INEOperator () | |
Default destructor. More... | |
void | run (ITensorPack &tensors) override |
Run the kernels contained in the function. More... | |
void | prepare (ITensorPack &constants) override |
Prepare the function for executing. More... | |
MemoryRequirements | workspace () const override |
Return the memory requirements required by the workspace. More... | |
Public Member Functions inherited from IOperator | |
virtual | ~IOperator ()=default |
Destructor. 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 198 of file CpuElementwise.h.
void configure | ( | const ITensorInfo * | input1, |
const ITensorInfo * | input2, | ||
ITensorInfo * | output | ||
) |
Initialise the kernel's inputs, output and conversion policy.
[in,out] | input1 | First tensor input info. Data types supported: QASYMM8/QASYMM8_SIGNED/S16/F16/S32/F32. |
[in,out] | input2 | Second tensor input info. Data types supported: Same as input1 . |
[out] | output | Output tensor info. Data types supported: U16/U32. |
Definition at line 92 of file CpuElementwise.cpp.
|
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: 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 100 of file CpuElementwise.cpp.
References CpuComparisonKernel::validate().
Referenced by NEElementwiseComparisonStatic< op >::validate().