aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/tensorflow.i
diff options
context:
space:
mode:
authorGravatar Derek Murray <mrry@google.com>2016-04-07 18:54:14 -0800
committerGravatar TensorFlower Gardener <gardener@tensorflow.org>2016-04-07 20:02:02 -0700
commit6d838744c43ccaaa821bfcdfb8e2b1d39fa21f45 (patch)
treef1c75f6b16566518cb5f71f76a7690780be148d3 /tensorflow/python/tensorflow.i
parenta402964895cc3234821b59deebc43aeea6f0d4f3 (diff)
Clean up the interface to the distributed runtime from Python
This is a breaking change! The following classes have been renamed: tf.GrpcServer -> tf.train.Server tf.ClusterSpec -> tf.train.ClusterSpec tf.ServerDef -> tf.train.ServerDef tf.JobDef -> tf.train.JobDef tf.ClusterDef -> tf.train.ClusterDef The constructor for tf.train.Server is more permissive and now accepts tf.train.ClusterSpec, tf.train.ClusterDef, and dictionary inputs for specifying the cluster part of the server. For consistency, the server library moves from python/client to python/training. Change: 119335624
Diffstat (limited to 'tensorflow/python/tensorflow.i')
-rw-r--r--tensorflow/python/tensorflow.i3
1 files changed, 2 insertions, 1 deletions
diff --git a/tensorflow/python/tensorflow.i b/tensorflow/python/tensorflow.i
index 5ff8cf3fe3..be333d3025 100644
--- a/tensorflow/python/tensorflow.i
+++ b/tensorflow/python/tensorflow.i
@@ -29,7 +29,8 @@ limitations under the License.
%include "tensorflow/python/client/events_writer.i"
%include "tensorflow/python/client/tf_session.i"
-%include "tensorflow/python/client/server_lib.i"
%include "tensorflow/python/client/device_lib.i"
+%include "tensorflow/python/training/server_lib.i"
+
%include "tensorflow/python/framework/python_op_gen.i"