     nInputPlane, inputHeight, inputWidth, batchSize,
     nOutputPlane, outputHeight, outputWidth,
     kH, kW,
-    -padding, dW,
+    -floor(padding/2), dW,
     0, scale
   );
 

    nInputPlane, inputHeight, inputWidth, batchSize,
    nOutputPlane, outputHeight, outputWidth,
    kH, kW,
    -padding, dW,
    0, 1, true
  );
  

    nInputPlane, inputHeight, inputWidth, batchSize,
    nOutputPlane, outputHeight, outputWidth,
    kH, kW,
    -floor(padding/2), dW,
    0, 1, true
  );

