Skip to content

Instantly share code, notes, and snippets.

@hanneshapke
Created March 9, 2020 18:01
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 hanneshapke/35fff39c9ff1e69fc4941de944d8ac41 to your computer and use it in GitHub Desktop.
Save hanneshapke/35fff39c9ff1e69fc4941de944d8ac41 to your computer and use it in GitHub Desktop.
mirrored_strategy = tf.distribute.MirroredStrategy()
with mirrored_strategy.scope():
model = get_model(tf_transform_output=tf_transform_output)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment