| 400 | } |
| 401 | |
| 402 | Status ClIm2ColKernel::validate(const ITensorInfo *src, |
| 403 | const ITensorInfo *dst, |
| 404 | const Size2D &kernel_dims, |
| 405 | const PadStrideInfo &conv_info, |
| 406 | bool has_bias, |
| 407 | const Size2D &dilation, |
| 408 | unsigned int num_groups) |
| 409 | { |
| 410 | ARM_COMPUTE_RETURN_ON_ERROR(validate_arguments(src, dst, kernel_dims, conv_info, has_bias, dilation, num_groups)); |
| 411 | Im2ColConfiguration im2col_config = |
| 412 | configure_opencl_kernel(src, kernel_dims, conv_info, has_bias, dilation, num_groups); |
| 413 | ARM_COMPUTE_RETURN_ON_ERROR(validate_and_configure_window(src->clone().get(), dst->clone().get(), kernel_dims, |
| 414 | conv_info, has_bias, dilation, |
| 415 | im2col_config.num_elems_processed_per_iteration, |
| 416 | im2col_config.is_padding_required_nchw, num_groups) |
| 417 | .first); |
| 418 | return Status{}; |
| 419 | } |
| 420 | |
| 421 | void ClIm2ColKernel::run_op(ITensorPack &tensors, const Window &window, cl::CommandQueue &queue) |
| 422 | { |
nothing calls this directly
no test coverage detected