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?
We can not automatically test whether your codeβs logic is correct or not since thatβs your own implementation. But you can write test case to run your code to check whether the output result is what you want.