mlr_pipeops_trafo_adjust_brightness: Adjust Brightness Transformation

mlr_pipeops_trafo_adjust_brightnessR Documentation

Adjust Brightness Transformation

Description

Calls torchvision::transform_adjust_brightness, 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("trafo_adjust_brightness"")

Parameters

Id Type Default Levels Range
brightness_factor numeric - [0, \infty)
stages character - train, predict, both -
affect_columns untyped selector_all() -

mlr-org/mlr3torch documentation built on April 17, 2025, 8:22 p.m.