mlr_pipeops_augment_rotate {mlr3torch} | R Documentation |
Rotate Augmentation
Description
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
Id | Type | Default | Levels | Range |
angle | untyped | - | - | |
resample | integer | 0 | (-\infty, \infty) |
|
expand | logical | FALSE | TRUE, FALSE | - |
center | untyped | NULL | - | |
fill | untyped | NULL | - | |
stages | character | - | train, predict, both | - |
affect_columns | untyped | selector_all() | - | |
[Package mlr3torch version 0.2.1 Index]