- tensorflow: 2.17.0
- recommender 0.7.2 tensorflow/recommenders#713
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