Apply single transformation randomly picked from a list

transform_random_choice(img, transforms)

Arguments

img

A magick-image, array or torch_tensor.

transforms

(list or tuple): list of transformations.