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
原创文章,作者:fendouai,如若转载,请注明出处:https://panchuang.net/2017/08/10/hello-distributed-tensorflow/