CryptoNets icon indicating copy to clipboard operation
CryptoNets copied to clipboard

Question about input image padding

Open dnat112 opened this issue 3 years ago • 0 comments

The original CryptoNets paper mentions that padding is applied to the input image for the first network layer. The paper describes this padding as occurring in the upper and left parts of the image. However, it seems like this library adds padding to the lower and right sides instead (even though the padding is set in a field called 'Upperpadding').

Could you please confirm that I am correct in my understanding? I am wondering if I am missing something or if this is just a mistake in the library.

dnat112 avatar Mar 07 '21 22:03 dnat112