padding Padding is the practice of adding pixels around an input image to preserve its dimensions, while enabling a convolutional layer in a CNN model to be the same size as the actual input. Related Terms CNN GAN accuracy adversarial machine learning Adversarial ML Threat Matrix