code: def get_activation(act):
      """Return activation function."""
      # Lazy load to avoid unused import
      from espnet.nets.pytorch_backend.conformer.swish import Swish
  
      activation_funcs = {
          "hardtanh": torch.nn.Hardtanh,
          "tanh": torch.nn.Tanh,
          "relu": torch.nn.ReLU,
          "selu": torch.nn.SELU,
          "swish": Swish,
      }
  
      return activation_funcs[act]()
  
file_path: espnet/espnet/nets/pytorch_backend/nets_utils.py
imports: import logging
  from typing import Dict
  import numpy
  import torch
label_desc: Use image node_id 13 for calling a global function with example usage: get_activation(act) and returns: activation_funcs