This function will install Keras along with a selected backend, including all Python dependencies.
Arguments
- envname
Name of or path to a Python virtual environment
- ...
reserved for future compatibility.
- extra_packages
Additional Python packages to install alongside Keras
- python_version
Passed on to
reticulate::virtualenv_starter()
- backend
Which backend(s) to install. Accepted values include
"tensorflow"
,"jax"
and"torch"
- gpu
whether to install a GPU capable version of the backend.
- restart_session
Whether to restart the R session after installing (note this will only occur within RStudio).