mlr_pipeops_preproc_torch.augment_crop {mlr3torch} | R Documentation |
PipeOpPreprocTorchAugmentCrop
Description
Calls torchvision::transform_crop
,
see there for more information on the parameters.
The preprocessing is applied row wise (no batch dimension).
Format
R6Class
inheriting from PipeOpTaskPreprocTorch
.
Parameters
Id | Type | Default | Levels | Range |
top | integer | - | (-\infty, \infty) |
|
left | integer | - | (-\infty, \infty) |
|
height | integer | - | (-\infty, \infty) |
|
width | integer | - | (-\infty, \infty) |
|
stages | character | - | train, predict, both | - |
affect_columns | untyped | selector_all() | - | |
[Package mlr3torch version 0.1.0 Index]