one_batch {fastai}R Documentation

One batch

Description

One batch

Usage

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

Arguments

object

data loader

convert

to R matrix

...

additional parameters to pass

Value

tensor

Examples


## Not run: 

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


## End(Not run)


[Package fastai version 2.2.2 Index]