Generic container to quickly build `Datasets` and `DataLoaders`
DataBlock(
blocks = NULL,
dl_type = NULL,
getters = NULL,
n_inp = NULL,
item_tfms = NULL,
batch_tfms = NULL,
...
)
input blocks
DL application
how to get dataet
n_inp is the number of elements in the tuples that should be considered part of the input and will default to 1 if tfms consists of one set of transforms
One or several transforms applied to the items before batching them
One or several transforms applied to the batches once they are formed
additional parameters to pass
Block object