mlr_pipeops_trafo_adjust_gamma {mlr3torch} | R Documentation |
Adjust Gamma Transformation
Description
Calls torchvision::transform_adjust_gamma
,
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 |
gamma | numeric | - | [0, \infty) |
|
gain | numeric | 1 | (-\infty, \infty) |
|
stages | character | - | train, predict, both | - |
affect_columns | untyped | selector_all() | - | |
[Package mlr3torch version 0.2.1 Index]