tensorflow 2.13.0
-
install_tensorflow()
changes:- Installs TensorFlow v2.13 by default now.
- The
envname
argument new default is"r-tensorflow"
. This means that
unless theenvname
argument supplied,install_tensorflow()
will now
install into the"r-tensorflow"
environment, bootstrapping a venv of
that name if necessary. - gains a
new_env
argument. IfTRUE
, any existing environment
specified byenvname
is deleted and created anew. Defaults toTRUE
if
envname is"r-tensorflow"
,FALSE
otherwise. - 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 = FALSE
to disable. pip_ignore_installed
default is nowFALSE
again.- On Arm Macs (M1/M2), the default tensorflow package is once again installed,
rather thantensorflow-macos
andtensorflow-metal
.
-
New
pillar:type_sum()
method for Tensors, giving a
more informative printout of Tensors in R tracebacks and tibbles.