Learner | R Documentation |
Learner
Learner(...)
... |
parameters to pass |
None
## 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)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.