code: def get(identifier, hyperparams={}):
      """Get the regularizer specified by the identifier.
  
      Parameters
      ----------
      identifier: str or tf.keras.regularizer or a callable
          Name of the regularizer to use (with default parameters) or instance of `tf.keras.regularizer` or a
          callable function.
  
      Returns
      -------
      regularizer: tf.keras.regularizer
          Regularizer instance of the `tf.keras.regularizer` class.
  
      """
      if isinstance(identifier, str) and identifier == "l3":
          hyperparams["p"] = 3
          identifier = partial(
              LP_regularizer, regularizer_parameters=hyperparams
          )
          identifier = tf.keras.regularizers.get(identifier)
          identifier.__name__ = "LP"
      elif isinstance(identifier, str) and identifier == "LP":
          identifier = partial(
              LP_regularizer, regularizer_parameters=hyperparams
          )
          identifier = tf.keras.regularizers.get(identifier)
          identifier.__name__ = "LP"
      return identifier
  
imports: from functools import partial
  import tensorflow
label_desc: Use image node_id 2 for calling a global function with example usage: get(identifier, hyperparams) and returns: identifier