mlr_pipeops_augment_hflip: Horizontal Flip Augmentation

mlr_pipeops_augment_hflipR Documentation

Horizontal Flip Augmentation

Description

Calls torchvision::transform_hflip, 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_hflip"")

Parameters

Id Type Default Levels
stages character - train, predict, both
affect_columns untyped selector_all()

mlr3torch documentation built on Aug. 26, 2025, 5:09 p.m.