Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("torch")

0.13.0 by Daniel Falbel, 6 months ago


https://torch.mlverse.org/docs, https://github.com/mlverse/torch


Report a bug at https://github.com/mlverse/torch/issues


Browse source code at https://github.com/cran/torch


Authors: Daniel Falbel [aut, cre, cph] , Javier Luraschi [aut] , Dmitriy Selivanov [ctb] , Athos Damiani [ctb] , Christophe Regouby [ctb] , Krzysztof Joachimiak [ctb] , Hamada S. Badr [ctb] , Sebastian Fischer [ctb] , RStudio [cph]


Documentation:   PDF Manual  


MIT + file LICENSE license


Imports Rcpp, R6, withr, rlang, methods, utils, stats, bit64, magrittr, tools, coro, callr, cli, glue, ellipsis, desc, safetensors, jsonlite

Suggests testthat, covr, knitr, rmarkdown, palmerpenguins, mvtnorm, numDeriv, katex

Linking to Rcpp

System requirements: LibTorch (https://pytorch.org/); Only x86_64 platforms are currently supported except for ARM system running macOS.


Imported by BKTR, PLNmodels, RGAN, SEMdeep, brulee, causalOT, circlus, cito, crumble, engression, geodl, glmnetr, innsight, lambdaTS, luz, madgrad, nFunNN, proteus, scDHA, sits, spinner, tabnet, topicmodels.etm, torchaudio, torchdatasets, torchopt, torchvision, torchvisionlib.

Depended on by mlr3torch.

Suggested by GPUmatrix, bundle, nn2poly, safetensors, targets, vetiver.


See at CRAN