Adjust Saturation Transformation
Calls torchvision::transform_adjust_saturation
, see there for more information on the parameters. The preprocessing is applied to each element of a batch individually.
R6Class
inheriting from PipeOpTaskPreprocTorch
.
Id | Type | Default | Levels | Range |
saturation_factor | numeric | - | ||
stages | character | - | train, predict, both | - |
affect_columns | untyped | selector_all() | - |
Useful links