7 ms·
see https://github.com/facebook/fbcunn/blob/master/test/ReferenceConvolutions.cpp#L192 https://github.com/facebook/fbcunn/blob/master/test/Referenc... for a lo
by jhj 10y ago
see https://github.com/facebook/fbcunn/blob/master/test/ReferenceConvolutions.cpp#L192 https://github.com/facebook/fbcunn/blob/master/test/Referenc...
for a loop nest that shows what the forward pass of a 2-d image convnet convolution module does. That's gussied up with convolution stride and padding and a bunch of C++11 mumbo jumbo, but you should be able to see what it is doing.