import tensorflow as tf

        An operation that will update var_matrix when run in a Session
    '''
    selected_rows = tf.nn.embedding_lookup(var_matrix, indices)
    row_norms = tf.sqrt(tf.reduce_sum(tf.square(selected_rows), 1))
