Skip to content

Instantly share code, notes, and snippets.

@sayakpaul
Last active April 29, 2020 03:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save sayakpaul/0b7bcb771822617459ec893757f15f3a to your computer and use it in GitHub Desktop.
Save sayakpaul/0b7bcb771822617459ec893757f15f3a to your computer and use it in GitHub Desktop.
strategy = tf.distribute.MirroredStrategy()
with strategy.scope():
model = get_training_model()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment