View source: R/transforms-generics.R
| transform_random_apply | R Documentation |
Apply a list of transformations randomly with a given probability
transform_random_apply(img, transforms, p = 0.5)
img |
A |
transforms |
(list or tuple): list of transformations. |
p |
(float): probability. |
Other combining_transforms:
transform_five_crop(),
transform_random_choice(),
transform_random_order(),
transform_resized_crop(),
transform_ten_crop()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.