knitr::opts_chunk$set( collapse = TRUE, comment = "#>" )
library(rTorch)
Install Anaconda3. Preferably, the latest for 64-bit architecture
Test that your Anaconda installation is running properly
Get into an R console via R-GUI or RStudio and install rTorch
Install PyTorch in its own conda
environment
Test that rTorch and PyTorch are running as expected
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.