Thank you very much!
And is it the same as C++ for changing the CUDA implementations in /torch/nn/blob/master/lib/THNN/generic/SpatialConvolutionMM.c where dx and dw calculated? I mean is it only for speedup?