SortedDL: SortedDL

View source: R/text_data.R

SortedDLR Documentation

SortedDL

Description

A 'DataLoader' that goes throught the item in the order given by 'sort_func'

Usage

SortedDL(
  dataset,
  sort_func = NULL,
  res = NULL,
  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
)

Arguments

dataset

dataset

sort_func

sort_func

res

res

bs

bs

shuffle

shuffle

num_workers

num_workers

verbose

verbose

do_setup

do_setup

pin_memory

pin_memory

timeout

timeout

batch_size

batch_size

drop_last

drop_last

indexed

indexed

n

n

device

device

Value

None


fastai documentation built on June 22, 2024, 11:15 a.m.