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,如若转载,请注明出处:http://panchuang.net/2017/08/10/hello-distributed-tensorflow/

发表评论

电子邮件地址不会被公开。

联系我们

400-800-8888

在线咨询:点击这里给我发消息

邮件:admin@example.com

工作时间:周一至周五,9:30-18:30,节假日休息