one_batch: One batch

View source: R/stats.R

one_batchR 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)


fastai documentation built on March 21, 2022, 9:07 a.m.