Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

DataBlock

DataBlock


Description

Generic container to quickly build 'Datasets' and 'DataLoaders'

Usage

DataBlock(
  blocks = NULL,
  dl_type = NULL,
  getters = NULL,
  n_inp = NULL,
  item_tfms = NULL,
  batch_tfms = NULL,
  ...
)

Arguments

blocks

input blocks

dl_type

DL application

getters

how to get dataet

n_inp

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

item_tfms

One or several transforms applied to the items before batching them

batch_tfms

One or several transforms applied to the batches once they are formed

...

additional parameters to pass

Value

Block object


fastai

Interface to 'fastai'

v2.0.7
Apache License 2.0
Authors
Turgut Abdullayev [ctb, cre, cph, aut]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.