def METHOD_NAME(self, img, mod):
    channels, height, width = img.shape
    out_height = self.ceil_modulo(height, mod)
    out_width = self.ceil_modulo(width, mod)
    return np.pad(
        img, ((0, 0), (0, out_height - height), (0, out_width - width)),
        mode='symmetric')