code: def get_initializer(init_op, seed=None, init_weight=None):
      """Create an initializer. init_weight is only for uniform."""
      if init_op == "uniform":
          assert init_weight
          return tf.random_uniform_initializer(
              -init_weight, init_weight, seed=seed
          )
      elif init_op == "glorot_normal":
          return tf.keras.initializers.glorot_normal(seed=seed)
      elif init_op == "glorot_uniform":
          return tf.keras.initializers.glorot_uniform(seed=seed)
      else:
          raise ValueError("Unknown init_op %s" % init_op)
  
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 1 for calling a global function with example usage: get_initializer(init_op, seed, init_weight) and returns: tf, tf, tf