Apply perspective warping with `magnitude` and `p` on a batch of matrices

Warp(
  magnitude = 0.2,
  p = 0.5,
  draw_x = NULL,
  draw_y = NULL,
  size = NULL,
  mode = "bilinear",
  pad_mode = "reflection",
  batch = FALSE,
  align_corners = TRUE
)

Arguments

magnitude

magnitude

p

probability

draw_x

draw x

draw_y

draw y

size

size

mode

mode

pad_mode

padding mode

batch

batch

align_corners

align corners

Value

None