24.02.1
|
Go to the documentation of this file.
24 #ifndef ARM_COMPUTE_CL_SCALE_KERNEL_H
25 #define ARM_COMPUTE_CL_SCALE_KERNEL_H
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
ARM_COMPUTE_DISALLOW_COPY_ALLOW_MOVE(ClScaleKernel)
DataLayout
[DataLayout enum definition]
void configure(const CLCompileContext &compile_context, ITensorInfo *src, ITensorInfo *dst, const ScaleKernelInfo &info)
Initialise the kernel's inputs, output and interpolation policy.
Common interface for all the OpenCL kernels.
const Window & window() const
The maximum window the kernel can be executed on.
Interface for the scale kernel.
Describe a multidimensional execution window.
Copyright (c) 2017-2024 Arm Limited.
void run_op(ITensorPack &tensors, const Window &window, cl::CommandQueue &queue) override
Enqueue the OpenCL kernel to process the given window on the passed OpenCL command queue.
@ UNKNOWN
Unknown data layout.
Store the tensor's metadata.
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)