code: def quantize_checkpoint(session, ckpt_path):
      """Quantize current loaded model and saves checkpoint in ckpt_path"""
      save_list = [
          tsr
          for tsr in tf.global_variables()
          if tsr not in tf.trainable_variables()
      ]
      saver = tf.train.Saver(save_list)
      session.run(
          tf.variables_initializer(
              tf.get_collection(_QUANTIZATION_COLLECTION)
          )
      )
      saver.save(session, ckpt_path)
      utils.print_out("Saved quantized checkpoint as %s" % ckpt_path)
  
imports: from __future__ import print_function
  import collections
  import os
  import time
  import numpy
  import six
  import tensorflow
  from tensorflow.python.ops import lookup_ops
  from .utils import misc_utils, vocab_utils, iterator_utils
label_desc: Use image node_id 18 for calling a global function with example usage: quantize_checkpoint(session, ckpt_path) without return types