R Bindings to 'PyTorch'

'R' implementation and interface of the Machine Learning platform 'PyTorch' < https://pytorch.org/> developed in 'Python'. It requires a 'conda' environment with 'torch' and 'torchvision' Python packages to provide 'PyTorch' functions, methods and classes. The key object in 'PyTorch' is the tensor which is in essence a multidimensional array. These tensors are fairly flexible in performing calculations in CPUs as well as 'GPUs' to accelerate tensor operations.


Reference manual

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


0.4.2 by Alfonso R. Reyes, a year ago


Report a bug at https://github.com/f0nzie/rTorch/issues

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

Authors: Alfonso R. Reyes [aut, cre, cph]

Documentation:   PDF Manual  

MIT + file LICENSE license

Imports reticulate, jsonlite, utils, methods, rstudioapi

Suggests testthat, knitr, rmarkdown

System requirements: "conda (python>=3.6 pytorch torchvision cpuonly numpy ( >= 1.14.0) matplotlib pandas -c pytorch); python-minimal, pandoc pandoc-citeproc, qpdf; Python (>=3.6), pytorch (>=1.4), torchvision, cpuonly, numpy ( >= 1.14.0); pandoc (>= 2.0), qpdf ( >= 7.0) on Solaris"

See at CRAN