mlr_pipeops_trafo_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.

Construction

po("trafo_resize"")

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()

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