pad_and_resize

hybrid_learning.datasets.transforms.image_transforms.pad_and_resize(img, img_size, interpolation='bilinear')[source]

Pad and resize an image. For details see PadAndResize.

Parameters