Calculates the required amounts of padding along each axis of the input and output, so that the Unet works and has the given shape as output shape :param shape: Desired output shape :return: Padding along each axis (total): (Input frequency, input time)
(self, shape)