Warp: Warp

View source: R/vision_augment.R

WarpR Documentation

Warp

Description

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

Usage

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


fastai documentation built on June 22, 2024, 11:15 a.m.