put.  pt_to_numpy  < source > ( images: FloatTensor  )    Convert a PyTorch tensor to a NumPy image.  resize  < source > ( image: Union height: int width: int resize_mode: str = 'default'  ) → PIL.Image.Image, np.ndarray or torch.Tensor  Parameters   image (PIL.Image.Image, np.ndarray or torch.Tensor) —
The image input, can be a PIL image, numpy array or pytorch tensor.   height (int) —
The height to resize to.   width (int) —
The width to resi