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.12.0 by Daniel Falbel, 4 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] , 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, brulee, causalOT, cito, engression, glmnetr, innsight, lambdaTS, luz, madgrad, proteus, scDHA, sits, spinner, tabnet, topicmodels.etm, torchaudio, torchdatasets, torchopt, torchvision, torchvisionlib.

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


See at CRAN