mlr_pipeops_trafo_reshape | R Documentation |
Reshapes the tensor according to the parameter shape
, by calling torch_reshape()
.
This preprocessing function is applied batch-wise.
R6Class
inheriting from PipeOpTaskPreprocTorch
.
shape
:: integer()
The desired output shape. The first dimension is the batch dimension and should usually be -1
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.