yeah, this sounds correct, it’s basically the “rounding up.” So is your goal to match the output of Caffe exactly or is either way fine with you and the question was more about seeing what’s going one? If the former is the case, to achieve this, you would need to create a custom padding layer (or just append a padding vector (1 pixel width) to the images before maxpooling. I suppose setting padding=1 won’t give you the Caffe results because it would add 1 pixel on each side.