24.04
|
Basic function to do logical NOT operation. More...
#include <CLLogicalNot.h>
Public Member Functions | |
CLLogicalNot () | |
Default Constructor. More... | |
~CLLogicalNot () | |
Default Destructor. More... | |
CLLogicalNot (const CLLogicalNot &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
CLLogicalNot (CLLogicalNot &&) | |
Default move constructor. More... | |
CLLogicalNot & | operator= (const CLLogicalNot &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
CLLogicalNot & | operator= (CLLogicalNot &&) |
Default move assignment operator. More... | |
void | configure (const ICLTensor *input, ICLTensor *output) |
Initialize the function. More... | |
void | configure (const CLCompileContext &compile_context, const ICLTensor *input, ICLTensor *output) |
Initialize the function. 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 *input, const ITensorInfo *output) |
Static function to check if given info will lead to a valid configuration. More... | |
Basic function to do logical NOT operation.
Definition at line 43 of file CLLogicalNot.h.
CLLogicalNot | ( | ) |
Default Constructor.
Definition at line 41 of file CLLogicalNot.cpp.
|
default |
Default Destructor.
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
default |
Default move constructor.
void configure | ( | const CLCompileContext & | compile_context, |
const ICLTensor * | input, | ||
ICLTensor * | output | ||
) |
Initialize the function.
[in] | compile_context | The compile context to be used. |
[in] | input | Input tensor. Data types supported: U8. |
[out] | output | Output tensor. Data types supported: same as input . |
Definition at line 53 of file CLLogicalNot.cpp.
References ITensor::info(), and arm_compute::test::validation::input.
Initialize the function.
Valid data layouts:
Valid data type configurations:
src | dst |
---|---|
U8 | U8 |
[in] | input | Input tensor. Data types supported: U8. |
[out] | output | Output tensor. Data types supported: same as input . |
Definition at line 48 of file CLLogicalNot.cpp.
References CLKernelLibrary::get(), and arm_compute::test::validation::input.
|
default |
Default move assignment operator.
|
delete |
Prevent instances of this class from being copied (As this class contains pointers)
|
overridevirtual |
Run the kernels contained in the function.
For CPU kernels:
For OpenCL kernels:
Implements IFunction.
Definition at line 66 of file CLLogicalNot.cpp.
References arm_compute::ACL_DST, arm_compute::ACL_SRC, ITensorPack::add_tensor(), and arm_compute::test::validation::pack.
|
static |
Static function to check if given info will lead to a valid configuration.
[in] | input | Tensor input info. Data types supported: U8. |
[in] | output | Output tensor info. Data types supported: same as input . |
Definition at line 61 of file CLLogicalNot.cpp.
References arm_compute::test::validation::input, and ClLogicalNot::validate().
Referenced by arm_compute::test::validation::TEST_CASE().