How can I call the im2col function within my own convolution layer?
In SpatialDilatedConvolution it is called in the following way:
THNN_(col2im)(
  THTensor_(data)(gradColumns),
  nInputPlane, inputHeight, inputWidth, outputHeight, outputWidth,
  kH, kW, padH, padW, dH, dW,
  dilationH, dilationW,
  THTensor_(data)(gradInput_n)
);

But I’m only considering Float type, so can how can I call this function? Something like THNN_Float_im2col?
Are there any header files I need to import?