def resize_back(self, images: Tensor, target_images: Tensor) -> Tensor:
        """Resize the input images back to the original size of target images.

        Args:
            images: The input images to be resized.
            target_images: The target images whose size is used as the reference for resizing.

        Returns:
            The resized images.

        """
        if isinstance(target_images, Tensor):
            return resize(images, target_images.shape[-2:])
        raise RuntimeError
Resize the input images back to the original size of target images.

        Args:
            images: The input images to be resized.
            target_images: The target images whose size is used as the reference for resizing.

        Returns:
            The resized images.

        
kornia/models/_hf_models/hf_onnx_community.py