code: def get_activation(activation_string):
      if activation_string in ACT2FN:
          return ACT2FN[activation_string]
      else:
          raise KeyError(
              f"function {activation_string} not found in ACT2FN mapping {list(ACT2FN.keys())}"
          )
  
imports: import math
  import warnings
  from collections import OrderedDict
  import torch
  from packaging import version
  from torch import Tensor, nn
  from .utils import logging
label_desc: Use image node_id 1 for calling a global function with example usage: get_activation(activation_string) and returns: ACT2FN