mlverse/torch

R Interface to Torch

What it solves

It provides a native R interface to the PyTorch library, allowing R users to build and train machine learning models without needing a separate Python installation.

How it works

The package enables the creation of torch tensors from R objects and provides access to PyTorch's core functionality, including an autograd system for calculating derivatives automatically.

Who it’s for

Data scientists and researchers using the R programming language who want to implement deep learning and machine learning workflows.

Highlights

  • Native R implementation of PyTorch functionality
  • Support for tensor operations and conversion between R arrays and torch tensors
  • Built-in autograd feature for automatic differentiation
  • CUDA support for GPU acceleration

Related

  • Project
  • Project
  • Project
  • Project
  • Project