Learner

Learner(...)

Arguments

...

parameters to pass

Value

None

Examples

if (FALSE) {

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)

}