Thanks rasbt. Someone mentioned

Differences in implementation of Pooling  - In keras, the half-windows are discarded. Caffe will put additional output for half-windows.
Differences in Padding schemes  - The ‘same’ padding in keras can sometimes result in different padding values for top-bottom (or left-right). caffe always pad evenly on both sides so the top-bottom (or left-right) padding values are always equal.

This is another one for caffe and tensorflow. I guess the pytorch follows the rule of caffe

  
      stackoverflow.com
  
  
      
    
  

  Tensorflow's asymmetric padding assumptions 6



  tensorflow, padding, caffe, convolution



  asked by
  
  
    TimZaman
  
  on 10:24AM - 21 Mar 17 UTC