Hello distributed TensorFlow! 你好分布式 TensorFlow

To see a simple TensorFlow cluster in action, execute the following:

来看一个简单的 tensorflow 集群,运行下面的代码:

Start a TensorFlow server as a single-process “cluster”.

$ python
import tensorflow as tf
c = tf.constant(“Hello, distributed TensorFlow!”)
server = tf.train.Server.create_local_server()
sess = tf.Session(server.target) # Create a session on the server.
sess.run(c)
‘Hello, distributed TensorFlow!’

https://www.tensorflow.org/deploy/distributed

Related posts

Leave a Comment