IQM_Vis.metrics.NLPD_torch.utils.conv

The expert.utils.conv module holds util functions for convolutions, like padding to maintain the size of the image.

Functions

pad(im_size, filt_size, stride)

Returns the amount of padding needed on [height, width] to maintain image size.