Apply a random zoom of at most `max_zoom` with probability `p` to a batch of images

Zoom_(
  min_zoom = 1,
  max_zoom = 1.1,
  p = 0.5,
  draw = NULL,
  draw_x = NULL,
  draw_y = NULL,
  size = NULL,
  mode = "bilinear",
  pad_mode = "reflection",
  batch = FALSE,
  align_corners = TRUE
)

Arguments

min_zoom

minimum zoom

max_zoom

maximum zoom

p

probability

draw

draw

draw_x

draw x

draw_y

draw y

size

size

mode

mode

pad_mode

pad mode

batch

batch

align_corners

align corners or not

Value

None