47 auto k = std::make_unique<CLROIAlignLayerKernel>();
48 k->configure(compile_context, input, rois, output, pool_info);
49 _kernel = std::move(k);
#define ARM_COMPUTE_RETURN_ON_ERROR(status)
Checks if a status contains an error and returns it.
static CLKernelLibrary & get()
Access the KernelLibrary singleton.
Store the tensor's metadata.
Copyright (c) 2017-2021 Arm Limited.
void configure(const ICLTensor *input, const ICLTensor *rois, ICLTensor *output, const ROIPoolingLayerInfo &pool_info)
Set the input and output tensors.
Interface for OpenCL tensor.
ROI Pooling Layer Information class.
static Status validate(const ITensorInfo *input, const ITensorInfo *rois, ITensorInfo *output, const ROIPoolingLayerInfo &pool_info)
Static function to check if given info will lead to a valid configuration of CLROIAlignLayerKernel.
static Status validate(const ITensorInfo *input, const ITensorInfo *rois, ITensorInfo *output, const ROIPoolingLayerInfo &pool_info)
Static function to check if given info will lead to a valid configuration of CLROIAlignLayer.