tensorflow: [2.13.0; sys_platform != 'darwin' or platform_machine != 'arm64'](https://github.com/tensorflow/tensorflow/releases/tag/v2.13.0; sys_platform != 'darwin' or platform_machine != 'arm64')
pip install tensorflow # pip install tensorflow-macos
- Dataset:
-
batch
: Combines consecutive elements of this dataset into batches.dataset = tf.data.Dataset.range(8) dataset = dataset.batch(3) list(dataset.as_numpy_iterator()) [array([0, 1, 2]), array([3, 4, 5]), array([6, 7])]
-
pip install tensorboard
tensorboard --logdir /tmp/my_working_dir/log
UserWarning: Could not import the lzma module. Your installed Python is incomplete. Attempting to use lzma compression will result in a RuntimeError.
warnings.warn(msg)
brew install xz