one_batch: One batch

Description Usage Arguments Value Examples

View source: R/stats.R

Description

One batch

Usage

1
one_batch(object, convert = FALSE, ...)

Arguments

object

data loader

convert

to R matrix

...

additional parameters to pass

Value

tensor

Examples

1
2
3
4
5
6
7
## Not run: 

# get batch from data loader
batch = dls %>% one_batch()


## End(Not run)

fastai documentation built on July 28, 2021, 5:06 p.m.