library(fastai)
library(magrittr)
= Data_Loaders(train_loader, test_loader)
data
= nn()
nn = Learner(data, Net(), loss_func = nn$functional$nll_loss,
learn opt_func = Adam(), metrics = accuracy, cbs = CudaCallback())
%>% fit_one_cycle(1, 1e-2) learn