31 namespace experimental
36 : _kernel(), _ctx(ctx), _workspace()
47 run(tensors, _kernel->window());
bool empty() const
Checks if pack is empty.
#define ARM_COMPUTE_ERROR(msg)
Print the given message then throw an std::runtime_error.
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.
MemoryRequirements workspace() const override
Return the memory requirements required by the workspace.
Copyright (c) 2017-2021 Arm Limited.
std::vector< MemoryInfo > MemoryRequirements
#define ARM_COMPUTE_UNUSED(...)
To avoid unused variables warnings.
void run(ITensorPack &tensors) override
Run the kernels contained in the function.
void prepare(ITensorPack &constants) override
Prepare the function for executing.
static constexpr size_t DimY
Alias for dimension 1 also known as Y dimension.
~INEOperator()
Default destructor.
INEOperator(IRuntimeContext *ctx=nullptr)
Constructor.
Describe a multidimensional execution window.
static IScheduler & get()
Access the scheduler singleton.