mlr_pipeopstrafo_resize: Resizing Transformation

mlr_pipeops_trafo_resizeR Documentation

Resizing Transformation

Description

Calls torchvision::transform_resize, see there for more information on the parameters. The preprocessing is applied to the whole batch.

Format

R6Class inheriting from PipeOpTaskPreprocTorch.

Parameters

Id Type Default Levels
size untyped -
interpolation character 2 Undefined, Bartlett, Blackman, Bohman, Box, Catrom, Cosine, Cubic, Gaussian, Hamming, ...
stages character - train, predict, both
affect_columns untyped selector_all()

mlr3torch documentation built on April 4, 2025, 3:03 a.m.