Apply a random dihedral transformation to a batch of images with a probability `p`

Apply a random dihedral transformation to a batch of images with a probability `p`

Dihedral(
  p = 0.5,
  draw = NULL,
  size = NULL,
  mode = "bilinear",
  pad_mode = "reflection",
  align_corners = NULL,
  batch = FALSE
)

Dihedral(
  p = 0.5,
  draw = NULL,
  size = NULL,
  mode = "bilinear",
  pad_mode = "reflection",
  align_corners = NULL,
  batch = FALSE
)

Arguments

p

probability

draw

draw

size

size

mode

mode

pad_mode

padding mode

align_corners

align corners

batch

batch

Value

None

None