https://cdanielaam.medium.com/padding-in-cnns-preserving-spatial-information-and-preventing-information-loss-dc8b58e4436f