Skip to content

Instantly share code, notes, and snippets.

@girija2204
Created July 23, 2020 04:05
Show Gist options
  • Save girija2204/045576b03dd6fc1abdd05592dff8d7d1 to your computer and use it in GitHub Desktop.
Save girija2204/045576b03dd6fc1abdd05592dff8d7d1 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).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