transform_hflip function

Horizontally flip a PIL Image or Tensor