class documentation

Transform that resizes the PIL image or torch Tensor, if necessary, so that its maximum dimensions are at most the specified size.

Parameters
max_output_sizedesired maximum output dimensions. Can either be a (max_height, max_width) tuple or a single max_dim
interpolationoptional interpolation mode. Passed directly to torchvision:torchvision.transforms.functional.resize
Method __call__ Undocumented
Method __init__ Undocumented
Instance Variable interpolation Undocumented
Instance Variable max_output_size Undocumented
Instance Variable _kwargs Undocumented
def __call__(self, pil_image_or_tensor): (source)

Undocumented

def __init__(self, max_output_size, interpolation=None): (source)

Undocumented

interpolation: None = (source)

Undocumented

max_output_size = (source)

Undocumented

Undocumented