code: def get_act_fn(name="relu"):
      """Activation Function Factory
      Fetching activation fns by name with this function allows export or torch script friendly
      functions to be returned dynamically based on current config.
      """
      if name in _OVERRIDE_FN:
          return _OVERRIDE_FN[name]
      use_me = not (
          config.is_exportable()
          or config.is_scriptable()
          or config.is_no_jit()
      )
      if use_me and name in _ACT_FN_ME:
          # If not exporting or scripting the model, first look for a memory optimized version
          # activation with custom autograd, then fallback to jit scripted, then a Python or Torch builtin
          return _ACT_FN_ME[name]
      if config.is_exportable() and name in ("silu", "swish"):
          # FIXME PyTorch SiLU doesn't ONNX export, this is a temp hack
          return swish
      use_jit = not (config.is_exportable() or config.is_no_jit())
      # NOTE: export tracing should work with jit scripted components, but I keep running into issues
      if (
          use_jit and name in _ACT_FN_JIT
      ):  # jit scripted models should be okay for export/scripting
          return _ACT_FN_JIT[name]
      return _ACT_FN_DEFAULT[name]
  
file_path: gen-efficientnet-pytorch/geffnet/activations/__init__.py
imports: from geffnet import config
  from geffnet.activations.activations_me import *
  from geffnet.activations.activations_jit import *
  from geffnet.activations.activations import *
  import torch
label_desc: Use image node_id 7 for calling a global function with example usage: get_act_fn(name) and returns: _ACT_FN_DEFAULT, _OVERRIDE_FN, _ACT_FN_ME, swish, _ACT_FN_JIT