| |
| |
|
|
| |
| |
| |
| |
|
|
| void modulated_deform_conv_cuda_forward(THCudaTensor *input, THCudaTensor *weight, |
| THCudaTensor *bias, THCudaTensor *ones, |
| THCudaTensor *offset, THCudaTensor *mask, |
| THCudaTensor *output, THCudaTensor *columns, |
| int kernel_h, 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 deformable_group); |
| void modulated_deform_conv_cuda_backward(THCudaTensor *input, THCudaTensor *weight, |
| THCudaTensor *bias, THCudaTensor *ones, |
| THCudaTensor *offset, THCudaTensor *mask, |
| THCudaTensor *columns, |
| THCudaTensor *grad_input, THCudaTensor *grad_weight, |
| THCudaTensor *grad_bias, THCudaTensor *grad_offset, |
| THCudaTensor *grad_mask, THCudaTensor *grad_output, |
| int kernel_h, int kernel_w, |
| int stride_h, int stride_w, |
| int pad_h, int pad_w, |
| int dilation_h, int dilation_w, |
| int deformable_group); |
|
|
| void deform_psroi_pooling_cuda_forward(THCudaTensor * input, THCudaTensor * bbox, |
| THCudaTensor * trans, |
| THCudaTensor * out, THCudaTensor * top_count, |
| const int no_trans, |
| const float spatial_scale, |
| const int output_dim, |
| const int group_size, |
| const int pooled_size, |
| const int part_size, |
| const int sample_per_part, |
| const float trans_std); |
|
|
| void deform_psroi_pooling_cuda_backward(THCudaTensor * out_grad, |
| THCudaTensor * input, THCudaTensor * bbox, |
| THCudaTensor * trans, THCudaTensor * top_count, |
| THCudaTensor * input_grad, THCudaTensor * trans_grad, |
| const int no_trans, |
| const float spatial_scale, |
| const int output_dim, |
| const int group_size, |
| const int pooled_size, |
| const int part_size, |
| const int sample_per_part, |
| const float trans_std); |
|
|