24.02.1
|
Go to the documentation of this file.
47 auto k = std::make_unique<kernels::ClScaleKernel>();
50 _kernel = std::move(k);
static Status validate(const ITensorInfo *src, const ITensorInfo *dst, const ScaleKernelInfo &info)
Static function to check if given info will lead to a valid configuration.
SimpleTensor< float > src
void configure(const CLCompileContext &compile_context, ITensorInfo *src, ITensorInfo *dst, const ScaleKernelInfo &info)
Initialize the function's source, destination, interpolation type and border_mode.
void run(ITensorPack &tensors) override
Run the kernels contained in the function.
bool empty() const
Checks if pack is empty.
#define ARM_COMPUTE_ERROR_ON_NULLPTR(...)
#define ARM_COMPUTE_ERROR_ON_MSG(cond, msg)
Interface to enqueue OpenCL kernels and get/set the OpenCL CommandQueue and ICLTuner.
void tune_kernel_static(ICLKernel &kernel)
Tunes OpenCL kernel.
static Status validate(const ITensorInfo *src, const ITensorInfo *dst, const ScaleKernelInfo &info)
Static function to check if given info will lead to a valid configuration.
static CLScheduler & get()
Access the scheduler singleton.
Copyright (c) 2017-2024 Arm Limited.
void enqueue_op(ICLKernel &kernel, ITensorPack &tensors, bool flush=true)
Schedule the execution of the passed kernel if possible.
Store the tensor's metadata.
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)
#define ARM_COMPUTE_LOG_PARAMS(...)