Skip to content

Commit 9fa300e

Browse files
author
Thomas Mulc
committed
new standard is 6 spaces for new line continuation
1 parent ae27422 commit 9fa300e

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

ADAG/ADAG.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@ def main():
5050
local_step = tf.Variable(0,dtype=tf.int32,trainable=False,
5151
name='local_step',collections=['local_non_trainable'])
5252

53-
with tf.device(tf.train.replica_device_setter(
54-
ps_tasks=n_pss,
53+
with tf.device(tf.train.replica_device_setter(ps_tasks=n_pss,
5554
worker_device="/job:%s/task:%d" % (FLAGS.job_name,FLAGS.task_index))):
5655
global_step = tf.Variable(0,dtype=tf.int32,trainable=False,name='global_step')
5756
target = tf.constant(100.,shape=[2],dtype=tf.float32)

0 commit comments

Comments
 (0)