#include <vector>

#include <ATen/ATen.h>
#include <ATen/cuda/CUDAContext.h>


at::Tensor
modulated_deform_conv2d_cpu_forward(const at::Tensor &input,
                                    const at::Tensor &weight,
                                    const at::Tensor &bias,
                                    const at::Tensor &offset,
                                    const at::Tensor &mask,
                                    const int kernel_h,
                                    const int kernel_w,
                                    const int stride_h,
                                    const int stride_w,
                                    const int pad_h,
                                    const int pad_w,
                                    const int dilation_h,
                                    const int dilation_w,
                                    const int group,
                                    const int deformable_group,
                                    const int im2col_step)
{
    AT_ERROR("Not implement on cpu");
}

std::vector<at::Tensor>
modulated_deform_conv2d_cpu_backward(const at::Tensor &input,
                                     const at::Tensor &weight,
                                     const at::Tensor &bias,
                                     const at::Tensor &offset,
                                     const at::Tensor &mask,
                                     const at::Tensor &grad_output,
                                     const int kernel_h,
                                     const int kernel_w,
                                     const int stride_h,
                                     const int stride_w,
                                     const int pad_h,
                                     const int pad_w,
                                     const int dilation_h,
                                     const int dilation_w,
                                     const int group,
                                     const int deformable_group,
                                     const int im2col_step)
{
    AT_ERROR("Not implement on cpu");
}

