zoom_mat: Zoom_mat

Description Usage Arguments Value

View source: R/vision_augment.R

Description

Return a random zoom matrix with 'max_zoom' and 'p'

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
zoom_mat(
  x,
  min_zoom = 1,
  max_zoom = 1.1,
  p = 0.5,
  draw = NULL,
  draw_x = NULL,
  draw_y = NULL,
  batch = FALSE
)

Arguments

x

tensor

min_zoom

minimum zoom

max_zoom

maximum zoom

p

probability

draw

draw

draw_x

draw x

draw_y

draw y

batch

batch

Value

None


fastai documentation built on July 28, 2021, 5:06 p.m.