MCPcopy Create free account
hub / github.com/DragonisCV/RAM / deform_conv_backward_input

Function deform_conv_backward_input

ram/ops/dcn/src/deform_conv_ext.cpp:70–87  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

68}
69
70int 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
89int deform_conv_backward_parameters(
90 at::Tensor input, at::Tensor offset, at::Tensor gradOutput,

Callers

nothing calls this directly

Calls 1

Tested by

no test coverage detected