def gather(reference, indices):
 return tf.gather(reference, indices)

def gather ( reference , indices ) : return tf . gather ( reference , indices )
gathers variables from different gpus on a specified device .