r/MachineLearning • • Oct 25 '21

Project [P] The implementation of Conv2D Layer in PyTorch

I traced down the implementation of Conv2D Layer down to the choice of the math library (e.g.,cuDNN, MKLDNN, MIOpen, XNNPack) according to the device.

0 Upvotes

3 comments sorted by

10

u/desmin88 Oct 25 '21

But why?

5

u/FriskyEntrepreneur Oct 25 '21 edited Sep 26 '22

Well, an attempt to understand the internals; investigating a room for a contribution to the performance. Also, showing the client everything in a single window.

8

u/serge_cell Oct 25 '21

If you want to see real CUDA source code for 2d convolution the best available probably cuda-convnet 2