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 June 22, 2024, 11:15 a.m.