Learner: Learner

View source: R/GAN.R

LearnerR Documentation

Learner

Description

Learner

Usage

Learner(...)

Arguments

...

parameters to pass

Value

None

Examples

## Not run: 

model = LitModel()

data = Data_Loaders(model$train_dataloader(), model$val_dataloader())$cuda()

learn = Learner(data, model, loss_func = F$cross_entropy, opt_func = Adam,
                metrics = accuracy)


## End(Not run)


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