Package: luz 0.5.2.9000
luz: Higher Level 'API' for 'torch'
A high level interface for 'torch' providing utilities to reduce the the amount of code needed for common tasks, abstract away torch details and make the same code work on both the 'CPU' and 'GPU'. It's flexible enough to support expressing a large range of models. It's heavily inspired by 'fastai' by Howard et al. (2020) <doi:10.48550/arXiv.2002.04688>, 'Keras' by Chollet et al. (2015) and 'PyTorch Lightning' by Falcon et al. (2019) <doi:10.5281/zenodo.3828935>.
Authors:
luz_0.5.2.9000.tar.gz
luz_0.5.2.9000.zip(r-4.7)luz_0.5.2.9000.zip(r-4.6)luz_0.5.2.9000.zip(r-4.5)
luz_0.5.2.9000.tgz(r-4.6-any)luz_0.5.2.9000.tgz(r-4.5-any)
luz_0.5.2.9000.tar.gz(r-4.7-any)luz_0.5.2.9000.tar.gz(r-4.6-any)
luz_0.5.2.9000.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
card.svg |card.png
luz/json (API)
NEWS
| # Install 'luz' in R: |
| install.packages('luz', repos = c('https://mlverse.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/mlverse/luz/issues
Pkgdown/docs site:https://mlverse.github.io
Last updated from:e148679b42. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 169 | ||
| source / vignettes | OK | 240 | ||
| linux-release-x86_64 | OK | 151 | ||
| macos-release-arm64 | OK | 121 | ||
| macos-oldrel-arm64 | OK | 96 | ||
| windows-devel | OK | 142 | ||
| windows-release | OK | 108 | ||
| windows-oldrel | OK | 106 | ||
| wasm-release | OK | 126 |
Exports:%>%acceleratoras_dataloaderevaluatefitget_metricslr_finderluz_callbackluz_callback_auto_resumeluz_callback_csv_loggerluz_callback_early_stoppingluz_callback_gradient_clipluz_callback_interruptluz_callback_keep_best_modelluz_callback_lr_schedulerluz_callback_metricsluz_callback_mixed_precisionluz_callback_mixupluz_callback_model_checkpointluz_callback_profileluz_callback_progressluz_callback_resume_from_checkpointluz_callback_tfeventsluz_callback_train_validluz_loadluz_load_checkpointluz_load_model_weightsluz_metricluz_metric_accuracyluz_metric_binary_accuracyluz_metric_binary_accuracy_with_logitsluz_metric_binary_aurocluz_metric_maeluz_metric_mseluz_metric_multiclass_aurocluz_metric_rmseluz_metric_setluz_saveluz_save_model_weightsnn_mixup_lossnnf_mixupset_hparamsset_opt_hparamssetup
Dependencies:bitbit64callrclicorocrayondescfarverfsgenericsgluehmsjsonlitelabelinglifecyclemagrittrpkgconfigprettyunitsprocessxprogresspspurrrR6RColorBrewerRcpprlangsafetensorsscalestorchvctrsviridisLitewithrzeallot
Accelerator API
Rendered fromaccelerator.Rmdusingknitr::rmarkdownon May 28 2026.Last update: 2022-05-03
Started: 2021-05-24
Custom loops with luz
Rendered fromcustom-loop.Rmdusingknitr::rmarkdownon May 28 2026.Last update: 2023-05-14
Started: 2021-05-10
Get started with luz
Rendered fromget-started.Rmdusingknitr::rmarkdownon May 28 2026.Last update: 2023-04-14
Started: 2021-04-23
