rstudio/keras3

Support Torch for R as backend in keras?

florianhartig opened this issue · 1 comments

Hi,

nor sure if this is a question to the keras3 R package or keras3 as a framework, but I was wondering if there are any options or plans support Torch for R as an alternative to PyTorch when working with keras from R?

Hi, thanks for asking. There are currently no plans to add an R torch backend to Keras. Doing so would be an enormous effort, and in my opinion, somewhat counter productive.

One of the benefits of the reticulate Python integration is that R users get full access to everything in the R community and the Python community. Moving to a pure R backend would neutralize some of that benefit. However, with that said, if you're looking for a keras-like interface that is pure R, you might enjoy https://github.com/mlverse/luz.