mlr_pipeops_augment_random_horizontal_flip: Random Horizontal Flip Augmentation

mlr_pipeops_augment_random_horizontal_flipR Documentation

Random Horizontal Flip Augmentation

Description

Calls torchvision::transform_random_horizontal_flip, see there for more information on the parameters. The preprocessing is applied to each element of a batch individually.

Format

R6Class inheriting from PipeOpTaskPreprocTorch.

Construction

po("augment_random_horizontal_flip"")

Parameters

Id Type Default Levels Range
p numeric 0.5 [0, 1]
stages character - train, predict, both -
affect_columns untyped selector_all() -

mlr-org/mlr3torch documentation built on April 17, 2025, 8:22 p.m.