Hello! I know there is some difference in how Pytorch and Tensorflow pad their convolutions but that doesn’t seem to be the case here. Can you give us the printouts of the results? Is the difference very small, like each value is off by 0.00001 or is it totally out of whack?
It seems that you thought of the difference in how the input is represented differently in Pytorch & Tensorflow -convert 1 x D x W x H => 1 x W x H x D. It might help you to load (or rather create in numpy) a very small fake image instead, that is just 5x5 in height width to realize what is happening