torchcvnn.transforms.SpatialResize

class torchcvnn.transforms.SpatialResize(size)[source]

Resize a complex tensor to a given size. The resize is performed in the image space using a Bicubic interpolation.

Parameters:

size – The target size of the resized tensor.

__init__(size)[source]

Methods

__init__(size)