Skip to content

Commit 1726aff

Browse files
author
Talia Chopra
committed
documentation: typo fix sm distributed model parallel api docs
1 parent 6e36366 commit 1726aff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/api/training/smp_versions/v1.1.0/smd_model_parallel_tensorflow.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ TensorFlow API
8181
[...]
8282
x = tf.constant(1.2)                     # placed in partition 0
8383
with smp.partition(1):
84-
    y = tf.add(x, tf.constant(2.3.1))      # placed in partition 1
84+
    y = tf.add(x, tf.constant(2.3))      # placed in partition 1
8585
    with smp.partition(3):
8686
        z = tf.reduce_sum(y)             # placed in partition 3
8787

doc/api/training/smp_versions/v1.2.0/smd_model_parallel_tensorflow.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ TensorFlow API
7979
[...]
8080
x = tf.constant(1.2)                     # placed in partition 0
8181
with smp.partition(1):
82-
    y = tf.add(x, tf.constant(2.3.1))      # placed in partition 1
82+
    y = tf.add(x, tf.constant(2.3))      # placed in partition 1
8383
    with smp.partition(3):
8484
        z = tf.reduce_sum(y)             # placed in partition 3
8585

0 commit comments

Comments
 (0)