Skip to content

Instantly share code, notes, and snippets.

@girija2204
Created July 23, 2020 04:03
Show Gist options
  • Save girija2204/f72eb5e4d388b3f7ce192fafa5628f60 to your computer and use it in GitHub Desktop.
Save girija2204/f72eb5e4d388b3f7ce192fafa5628f60 to your computer and use it in GitHub Desktop.
train_tensor_slices = train_tensor_slices.batch(128).map(normalize).prefetch(buffer_size=tf.data.experimental.AUTOTUNE)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment