mlr_pipeopsaugment_rotate function

Rotate Augmentation

Rotate Augmentation

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

Format

R6Class inheriting from PipeOpTaskPreprocTorch.

Parameters

IdTypeDefaultLevelsRange
angleuntyped--
resampleinteger0(Inf,Inf)(-Inf, Inf)
expandlogicalFALSETRUE, FALSE-
centeruntypedNULL-
filluntypedNULL-
stagescharacter-train, predict, both-
affect_columnsuntypedselector_all()-