code: def activation_by_str(a: str):
      if a is None:
          return
      elif a == "leaky_relu":
          return leaky_relu()
      else:
          return getattr(keras.activations, a)
  
label_desc: Use image node_id 1 for calling a global function with example usage: activation_by_str(a) and returns: leaky_relu, getattr