24.02
|
Go to the documentation of this file.
36 std::unique_ptr<kernels::NELogicalKernel> kernel{
nullptr};
40 struct NELogicalAnd::Impl :
public LogicalArgs
53 _impl->kernel = std::make_unique<kernels::NELogicalKernel>();
72 struct NELogicalOr::Impl :
public LogicalArgs
85 _impl->kernel = std::make_unique<kernels::NELogicalKernel>();
104 struct NELogicalNot::Impl :
public LogicalArgs
117 _impl->kernel = std::make_unique<kernels::NELogicalKernel>();
NELogicalOr()
Constructor.
NELogicalAnd()
Constructor.
virtual void schedule_op(ICPPKernel *kernel, const Hints &hints, const Window &window, ITensorPack &tensors)=0
Runs the kernel in the same thread as the caller synchronously.
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 NELogicalOr.
Interface for CPU tensor.
void configure(const ITensor *input1, const ITensor *input2, ITensor *output)
Initialise the kernel's inputs and output.
static Status validate(const ITensorInfo *input1, const ITensorInfo *input2, const ITensorInfo *output, LogicalOperation op)
Static function to check if given info will lead to a valid configuration of NELogicalKernel.
void run() override
Run the kernels contained in the function.
#define ARM_COMPUTE_ERROR_ON_NULLPTR(...)
void run() override
Run the kernels contained in the function.
virtual ITensorInfo * info() const =0
Interface to be implemented by the child class to return the tensor's metadata.
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 NELogicalAnd.
static Status validate(const ITensorInfo *input, const ITensorInfo *output)
Static function to check if given info will lead to a valid configuration of NELogicalNot.
~NELogicalOr()
Destructor.
static IScheduler & get()
Access the scheduler singleton.
static constexpr size_t DimY
Alias for dimension 1 also known as Y dimension.
NELogicalNot()
Constructor.
void configure(const ITensor *input, ITensor *output)
Initialise the kernel's inputs and output.
~NELogicalNot()
Destructor.
Copyright (c) 2017-2024 Arm Limited.
void configure(const ITensor *input1, const ITensor *input2, ITensor *output)
Initialise the kernel's inputs and output.
~NELogicalAnd()
Destructor.
Store the tensor's metadata.
void run() override
Run the kernels contained in the function.
#define ARM_COMPUTE_LOG_PARAMS(...)