import tensorflow as tf

    """
    vec_pairs = tf.gather(vecs, gather_inds)
    vec_len = int(vec_pairs.get_shape()[2]) * 2
    vec_pairs = tf.reshape(vec_pairs, [-1, vec_len])
    return vec_pairs

