TfmdDL: TfmdDL

Description Usage Arguments Value

View source: R/vision_core.R

Description

Transformed 'DataLoader'

Usage

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
TfmdDL(
  dataset,
  bs = 64,
  shuffle = FALSE,
  num_workers = NULL,
  verbose = FALSE,
  do_setup = TRUE,
  pin_memory = FALSE,
  timeout = 0,
  batch_size = NULL,
  drop_last = FALSE,
  indexed = NULL,
  n = NULL,
  device = NULL,
  after_batch = NULL,
  ...
)

Arguments

dataset

dataset

bs

batch size

shuffle

shuffle

num_workers

number of workers

verbose

verbose

do_setup

do setup

pin_memory

pin memory

timeout

timeout

batch_size

batch size

drop_last

drop last

indexed

indexed

n

int, n

device

device

after_batch

after_batch

...

additional arguments to pass

Value

None


fastai documentation built on Oct. 25, 2021, 5:08 p.m.