tensorflow 2.13.0
-
install_tensorflow()changes:- Installs TensorFlow v2.13 by default now.
- The
envnameargument new default is"r-tensorflow". This means that
unless theenvnameargument supplied,install_tensorflow()will now
install into the"r-tensorflow"environment, bootstrapping a venv of
that name if necessary. - gains a
new_envargument. IfTRUE, any existing environment
specified byenvnameis deleted and created anew. Defaults toTRUEif
envname is"r-tensorflow",FALSEotherwise. - If running on Linux, now detects if NVIDIA GPUs on Linux are installed,
and if so, and installs cuDNN (via pip), configures symlinks for tensorflow
to find cuDNN, and emits additional instructions for how to install the necessary CUDA
drivers to enable GPU usage. Set new argconfigure_cudnn = FALSEto disable. pip_ignore_installeddefault is nowFALSEagain.- On Arm Macs (M1/M2), the default tensorflow package is once again installed,
rather thantensorflow-macosandtensorflow-metal.
-
New
pillar:type_sum()method for Tensors, giving a
more informative printout of Tensors in R tracebacks and tibbles.