tensorflow 2.8.0
-
Updated default Tensorflow version installed by
install_tensorflow()to 2.8. -
as_tensor()gains ashapeargument, can be used to fill or reshape tensors.
Scalars can be recycled to a tensor of arbitraryshape, otherwise
supplied objects are reshaped using row-major (C-style) semantics. -
install_tensorflow()now provides experimental support for Arm Macs,
with the following restrictions:- "conda" is the only supported installation method.
- requests for non-default or older tensorflow versions are not supported.
-
install_tensorflow()default conda_python_version changes from 3.7 to NULL. -
tf.TensorShape()'s gainformat()andprint()S3 methods. -
[method for slicing tensors now acceptsNAas a synonym for a missing orNULLspec.
For examplex[NA:3]is now valid, equivalent tox[:3]in Python.