Skip to content

Commit 1245074

Browse files
committed
update doc for TFNodeContext
1 parent 484bf90 commit 1245074

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tensorflowonspark/TFSparkNode.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class TFNodeContext:
3333
:worker_num: integer identifier for this executor, per ``nodeRDD = sc.parallelize(range(num_executors), num_executors).``
3434
:job_name: TensorFlow job name (e.g. 'ps' or 'worker') of this TF node, per cluster_spec.
3535
:task_index: integer rank per job_name, e.g. "worker:0", "worker:1", "ps:0".
36-
:cluster_spec: tf.train.ClusterSpec
36+
:cluster_spec: dictionary for constructing a tf.train.ClusterSpec.
3737
:defaultFS: string representation of default FileSystem, e.g. ``file://`` or ``hdfs://<namenode>:8020/``.
3838
:working_dir: the current working directory for local filesystems, or YARN containers.
3939
:mgr: TFManager instance for this Python worker.

0 commit comments

Comments
 (0)