Skip to content

Instantly share code, notes, and snippets.

@girija2204
Created July 23, 2020 04:07
Show Gist options
  • Save girija2204/0518ae7a5e5caabd28d035ca22111284 to your computer and use it in GitHub Desktop.
Save girija2204/0518ae7a5e5caabd28d035ca22111284 to your computer and use it in GitHub Desktop.
train_tensor_slices = train_tensor_slices.batch(128).map(normalize,num_parallel_calls=tf.data.experimental.AUTOTUNE).cache().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