Thanks @albanD
One more thing, and very important, is how do I understand this line of code addClass<ConvForward, ConvCtor>(module, ConvClass, "ConvNd", conv_forward_properties); , because I plan to learn C and understand the logic of each function in Torch Neural Network library.
I have to admit at this moment I have not learnt C language, so could you just give me a basic idea of what does this line of code do?
Thanks a lot!