Horizontally flip a PIL Image or Tensor

transform_hflip(img)

Arguments

img

A magick-image, array or torch_tensor.