code: def get_initializer(initializer_config, seed=None):
      """Get variable initializer.
  
      Args:
          - initializer_config: Configuration for initializer.
  
      Returns:
          initializer: Instantiated variable initializer.
      """
  
      if "type" not in initializer_config:
          raise ValueError("Initializer missing type.")
  
      if initializer_config.type not in VALID_INITIALIZERS:
          raise ValueError(
              'Initializer "{}" is not valid.'.format(
                  initializer_config.type
              )
          )
  
      config = initializer_config.copy()
      initializer = VALID_INITIALIZERS[config.pop("type")]
      config["seed"] = seed
  
      return initializer(**config)
  
imports: import tensorflow
label_desc: Use image node_id 3 for calling a global function with example usage: get_initializer(initializer_config, seed) and returns: initializer