Created
October 18, 2020 19:47
-
-
Save alexbrillant/0a133d4bdab95a380704d593beca03c8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
data = data.prefetch(tf.data.experimental.AUTOTUNE) | |
data = data.cache(filename='tf_data_cache_filename') | |
data = data.shuffle() | |
data = data.batch(batch_size=batch_size, drop_remainder=True) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment