40 auto k = std::make_unique<kernels::ClQuantizeKernel>();
41 k->configure(compile_context, src, dst);
42 _kernel = std::move(
k);
static CLScheduler & get()
Access the scheduler singleton.
bool empty() const
Checks if pack is empty.
void configure(const CLCompileContext &compile_context, ITensorInfo *src, ITensorInfo *dst)
Set the input and output tensors.
void run(ITensorPack &tensors) override
Run the kernels contained in the function.
Store the tensor's metadata.
static Status validate(const ITensorInfo *src, const ITensorInfo *dst)
Static function to check if given info will lead to a valid configuration.
SimpleTensor< float > src
Copyright (c) 2017-2023 Arm Limited.
Interface to enqueue OpenCL kernels and get/set the OpenCL CommandQueue and ICLTuner.
#define ARM_COMPUTE_ERROR_ON_MSG(cond, msg)
void enqueue_op(ICLKernel &kernel, ITensorPack &tensors, bool flush=true)
Schedule the execution of the passed kernel if possible.
static Status validate(const ITensorInfo *src, const ITensorInfo *dst)
Static function to check if given info will lead to a valid configuration.
#define ARM_COMPUTE_LOG_PARAMS(...)