Hello, I am new at pytorch extension.  I want some advice in pytorch extension development. Assume I propose a new convolution kernel (for example, assume I am the first one who propose the deformable conv  ), and I have to implement it in cuda and C++.
As the deformable conv is complex,
(1) how can I know if my implement is right?
(2) how can I know if the gradient (in backward) is right?
Any helpful experience is ok.