mlr_pipeops_augment_resized_crop | R Documentation |
Calls torchvision::transform_resized_crop
,
see there for more information on the parameters.
The preprocessing is applied to each element of a batch individually.
R6Class
inheriting from PipeOpTaskPreprocTorch
.
Id | Type | Default | Levels | Range |
top | integer | - | (-\infty, \infty) |
|
left | integer | - | (-\infty, \infty) |
|
height | integer | - | (-\infty, \infty) |
|
width | integer | - | (-\infty, \infty) |
|
size | untyped | - | - | |
interpolation | integer | 2 | [0, 3] |
|
stages | character | - | train, predict, both | - |
affect_columns | untyped | selector_all() | - | |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.