| 68 | } |
| 69 | |
| 70 | int deform_conv_backward_input(at::Tensor input, at::Tensor offset, |
| 71 | at::Tensor gradOutput, at::Tensor gradInput, |
| 72 | at::Tensor gradOffset, at::Tensor weight, |
| 73 | at::Tensor columns, int kW, int kH, int dW, |
| 74 | int dH, int padW, int padH, int dilationW, |
| 75 | int dilationH, int group, |
| 76 | int deformable_group, int im2col_step) { |
| 77 | if (input.device().is_cuda()) { |
| 78 | #ifdef WITH_CUDA |
| 79 | return deform_conv_backward_input_cuda(input, offset, gradOutput, |
| 80 | gradInput, gradOffset, weight, columns, kW, kH, dW, dH, padW, padH, |
| 81 | dilationW, dilationH, group, deformable_group, im2col_step); |
| 82 | #else |
| 83 | AT_ERROR("deform conv is not compiled with GPU support"); |
| 84 | #endif |
| 85 | } |
| 86 | AT_ERROR("deform conv is not implemented on CPU"); |
| 87 | } |
| 88 | |
| 89 | int deform_conv_backward_parameters( |
| 90 | at::Tensor input, at::Tensor offset, at::Tensor gradOutput, |
nothing calls this directly
no test coverage detected