I was trying to look at the underlying implementation of nn.Conv2d and ended up at ConvForward::apply of convolution.cpp .
I wanted to check if there are test cases or examples using which I can directly play around with torch/csrc code .
I was trying to look at the underlying implementation of nn.Conv2d and ended up at ConvForward::apply of convolution.cpp .
I wanted to check if there are test cases or examples using which I can directly play around with torch/csrc code .
Hi,
The ConvForward
cpp class is directly exposed to python at torch._C._functions.ConvNd
and is used here.
There is no example right now on how to use this function directly from cpp.
What do you want to do with it?
@albanD thnks for the reply .
I was just curious to understand the underlying implementation .
I thought it would be easy if there was something directly exposed in cpp .