Added an interpolate function that preserves the deformation field by using tensor interpolation from PyTorch. In case of upsampling the convergence is not guaranteed but it works better in general than other methods. For detailed information on the interpolation methods available refer to https://pytorch.org/docs/stable/generated/torch.nn.functional.interpolate.html
Added an interpolate function that preserves the deformation field by using tensor interpolation from PyTorch. In case of upsampling the convergence is not guaranteed but it works better in general than other methods. For detailed information on the interpolation methods available refer to https://pytorch.org/docs/stable/generated/torch.nn.functional.interpolate.html