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