fix_dimsimplif: (INTERNAL) Corrects a dimension simplification bug from the...

fix_dimsimplifR Documentation

(INTERNAL) Corrects a dimension simplification bug from the torch package

Description

(INTERNAL) Issue was raised to the torch maintainers and should be fixed, deprecating this function.

Usage

fix_dimsimplif(dl_i, ..., responses = TRUE)

Arguments

dl_i

batch object from an itteration over a torch::dataloader().

...

dimension(s) of the covariate object (excluding the first "batch" dimension)

responses

Bolean indicating whether the batch object dl_i is a covariates-response pair.

Value

The fixed dl_i object


EQRN documentation built on April 4, 2025, 12:45 a.m.