code: def get_activation_by_name(name):
      activations = {
          "relu": nn.ReLU(),
          "sigmoid": nn.Sigmoid(),
          "tanh": nn.Tanh(),
      }
  
      if name in activations.keys():
          return activations[name]
  
      else:
          raise ValueError(name, "is not a valid activation function")
  
label_desc: Use image node_id 1 for calling a global function with example usage: get_activation_by_name(name) and returns: activations