mlr_pipeops_preproc_torch.trafo_resize {mlr3torch}R Documentation

PipeOpPreprocTorchTrafoResize

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

[Package mlr3torch version 0.1.0 Index]