View source: R/vision_augment.R
zoom_mat | R Documentation |
Return a random zoom matrix with 'max_zoom' and 'p'
zoom_mat(
x,
min_zoom = 1,
max_zoom = 1.1,
p = 0.5,
draw = NULL,
draw_x = NULL,
draw_y = NULL,
batch = FALSE
)
x |
tensor |
min_zoom |
minimum zoom |
max_zoom |
maximum zoom |
p |
probability |
draw |
draw |
draw_x |
draw x |
draw_y |
draw y |
batch |
batch |
None
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.