Skip to content

Commit

Permalink
Update R/PipeOpTaskPreprocTorch.R
Browse files Browse the repository at this point in the history
  • Loading branch information
sebffischer authored Jan 23, 2024
1 parent 0af2f7a commit 1570059
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/PipeOpTaskPreprocTorch.R
Original file line number Diff line number Diff line change
Expand Up @@ -421,6 +421,7 @@ create_ps = function(fn) {
#' If "infer", the output shape function is inferred and calculates the output shapes as follows:
#' For an input shape of (NA, ...) a meta-tensor of shape (1, ...) is created and the preprocessing function is
#' applied. Afterwards the batch dimension (1) is replaced with NA and the shape is returned.
#' If the first dimension is not `NA`, the output shape of applying the preprocessing function is returned.
#'
#' This should be correct in most cases, but might fail in some edge cases.
#' @param param_set ([`ParamSet`] or `NULL`)\cr
Expand Down

0 comments on commit 1570059

Please sign in to comment.