code: def get_activation(act_opt, create_cls=True):
      if is_dict(act_opt):
          act_opt = dict(act_opt)
          act = getattr(torch.nn, act_opt["name"])
          del act_opt["name"]
          args = dict(act_opt)
      else:
          act = getattr(torch.nn, act_opt)
          args = {}
  
      if create_cls:
          return act(**args)
      else:
          return act
  
label_desc: Use image node_id 1 for calling a global function with example usage: get_activation(act_opt, create_cls) and returns: act, act