23.11
|
#include <CLLogicalAnd.h>
Public Member Functions | |
CLLogicalAnd ()=default | |
Default Constructor. More... | |
void | configure (const CLCompileContext &compile_context, ITensorInfo *input1, ITensorInfo *input2, ITensorInfo *output) |
Initialise the kernel's inputs, output and conversion policy. More... | |
void | run (ITensorPack &tensors) override |
Run the kernels contained in the function. More... | |
![]() | |
ICLOperator (IRuntimeContext *ctx=nullptr) | |
Constructor. More... | |
ICLOperator (const ICLOperator &)=delete | |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
ICLOperator (ICLOperator &&)=default | |
Default move constructor. More... | |
ICLOperator & | operator= (const ICLOperator &)=delete |
Prevent instances of this class from being copied (As this class contains pointers) More... | |
ICLOperator & | operator= (ICLOperator &&)=default |
Default move assignment operator. 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... | |
![]() | |
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 arm_compute::opencl::kernels::ClLogicalBinaryKernel. More... | |
Definition at line 100 of file CLLogicalAnd.h.
|
default |
Default Constructor.
void configure | ( | const CLCompileContext & | compile_context, |
ITensorInfo * | input1, | ||
ITensorInfo * | input2, | ||
ITensorInfo * | output | ||
) |
Initialise the kernel's inputs, output and conversion policy.
[in] | compile_context | The compile context to be used. |
[in,out] | input1 | First tensor input. Data types supported: U8. The input tensor is [in, out] because its TensorInfo might be modified inside the kernel in case of broadcasting of dimension 0. |
[in,out] | input2 | Second tensor input. Data types supported: same as input1 . The input tensor is [in, out] because its TensorInfo might be modified inside the kernel in case of broadcasting of dimension 0. |
[out] | output | Output tensor. Data types supported: same as input1 . |
Definition at line 37 of file CLLogicalAnd.cpp.
References arm_compute::And, and ARM_COMPUTE_LOG_PARAMS.
|
overridevirtual |
Run the kernels contained in the function.
[in] | tensors | Vector that contains the tensors to operate on. |
Implements IOperator.
Definition at line 53 of file CLLogicalAnd.cpp.
References ICLOperator::run().
|
static |
Static function to check if given info will lead to a valid configuration of arm_compute::opencl::kernels::ClLogicalBinaryKernel.
[in] | input1 | First tensor input info. Data types supported: U8. |
[in] | input2 | Second tensor input info. Data types supported: same as input1 . |
[in] | output | Output tensor info. Data types supported: same as input1 . |
Definition at line 48 of file CLLogicalAnd.cpp.
References arm_compute::And, and ClLogicalBinaryKernel::validate().
Referenced by CLLogicalAnd::validate().