Skip to content

Instantly share code, notes, and snippets.

@benoitdescamps
Created October 1, 2018 11:49
Show Gist options
  • Save benoitdescamps/566890bdc4f8bed57ea6f0fe67eb0d7f to your computer and use it in GitHub Desktop.
Save benoitdescamps/566890bdc4f8bed57ea6f0fe67eb0d7f to your computer and use it in GitHub Desktop.
cluster_spec = tf.train.ClusterSpec({'worker' : ['localhost:2222']})
server = tf.train.Server(cluster_spec)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment