Warp: Warp

Description Usage Arguments Value

View source: R/vision_augment.R

Description

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

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
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 Oct. 25, 2021, 5:08 p.m.