24.02.1
|
Go to the documentation of this file.
59 info.min_sizes().size() *
sizeof(
float));
61 info.aspect_ratios().size() *
sizeof(
float));
62 if (!
info.max_sizes().empty())
65 info.max_sizes().size() *
sizeof(
float));
68 auto k = std::make_unique<CLPriorBoxLayerKernel>();
69 k->configure(compile_context, input1, input2, output,
info, &_min, &_max, &_aspect_ratios);
70 _kernel = std::move(k);
Interface for OpenCL tensor.
static CLKernelLibrary & get()
Access the KernelLibrary singleton.
Interface to enqueue OpenCL kernels and get/set the OpenCL CommandQueue and ICLTuner.
static Status validate(const ITensorInfo *input1, const ITensorInfo *input2, const ITensorInfo *output, const PriorBoxLayerInfo &info)
Static function to check if given info will lead to a valid configuration of CLPriorBoxLayerKernel.
static Status validate(const ITensorInfo *input1, const ITensorInfo *input2, const ITensorInfo *output, const PriorBoxLayerInfo &info)
Static function to check if given info will lead to a valid configuration of CLPriorBoxLayer.
static CLScheduler & get()
Access the scheduler singleton.
Copyright (c) 2017-2024 Arm Limited.
Store the tensor's metadata.
ScaleKernelInfo info(interpolation_policy, default_border_mode, PixelValue(), sampling_policy, false)
void configure(const ICLTensor *input1, const ICLTensor *input2, ICLTensor *output, const PriorBoxLayerInfo &info)
Set the input and output tensors.
#define ARM_COMPUTE_LOG_PARAMS(...)
CLPriorBoxLayer()
Constructor.