'Args:
sess (tf.Session): a session object
vars_to_update: a collection of variables to update'

def __init__(self, sess, vars_to_update):

    self.sess = sess
    self.name_map = {v.name: v for v in vars_to_update}
