'Adds a Saver for all variables in the graph.'

def add_saver(self):

    logging.info('Saving    non-quantized    variables:\n DCTB %s', '\n DCTB '.join([x.name for x in tf.global_variables() if ('quantized' not in x.name)]))
    self.saver = tf.train.Saver(var_list=[x for x in tf.global_variables() if ('quantized' not in x.name)], write_version=saver_pb2.SaverDef.V1)
