CRAN/E | torch

torch

Tensors and Neural Networks with 'GPU' Acceleration

Installation

About

Provides functionality to define and train neural networks similar to 'PyTorch' by Paszke et al (2019) but written entirely in R using the 'libtorch' library. Also supports low-level tensor operations and 'GPU' acceleration.

torch.mlverse.org/docs
github.com/mlverse/torch
System requirements LibTorch (https://pytorch.org/); Only x86_64 platforms are currently supported except for ARM system running macOS.
Bug report File report

Key Metrics

Version 0.12.0
Published 2023-12-15 131 days ago
Needs compilation? yes
License MIT
License File
CRAN checks torch results

Downloads

Yesterday 237 0%
Last 7 days 1.069 -20%
Last 30 days 4.805 +8%
Last 90 days 13.565 -7%
Last 365 days 54.707 +4%

Maintainer

Maintainer

Daniel Falbel

daniel@rstudio.com

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

Material

README
NEWS
Reference manual
Package source

In Views

MachineLearning

Vignettes

Distributions
Extending Autograd
Indexing tensors
Installation
Loading data
Python to R
Serialization
Creating tensors
TorchScript
Using autograd

macOS

r-release

arm64

r-oldrel

arm64

r-release

x86_64

r-oldrel

x86_64

Windows

r-devel

x86_64

r-release

x86_64

r-oldrel

x86_64

Old Sources

torch archive

Imports

Rcpp
R6
withr
rlang
methods
utils
stats
bit64
magrittr
tools
coro ≥ 1.0.2
callr
cli ≥ 3.0.0
glue
ellipsis
desc
safetensors ≥ 0.1.1
jsonlite

Suggests

testthat ≥ 3.0.0
covr
knitr ≥ 1.36
rmarkdown
palmerpenguins
mvtnorm
numDeriv
katex

LinkingTo

Rcpp

Reverse Imports

BKTR
brulee
causalOT
cito
engression
glmnetr
innsight
lambdaTS
luz
madgrad
PLNmodels
proteus
RGAN
scDHA
SCFA
sits
spinner
tabnet
topicmodels.etm
torchaudio
torchdatasets
torchopt
torchvision
torchvisionlib

Reverse Suggests

bundle
GPUmatrix
safetensors
targets
vetiver

Reverse LinkingTo

causalOT
torchvisionlib