code: def get_activation(name="LeakyReLU"):
      if name == "silu":
          module = nn.Silu()
      elif name == "relu":
          module = nn.ReLU()
      elif name in ["LeakyReLU", "leakyrelu", "lrelu"]:
          module = nn.LeakyReLU(0.1)
      elif name is None:
          module = nn.Identity()
      else:
          raise AttributeError("Unsupported act type: {}".format(name))
      return module
  
imports: import paddle
  import paddle.nn
  import paddle.nn.functional
  from ppdet.core.workspace import register
  from paddle import ParamAttr
  from paddle.nn.initializer import KaimingNormal
  from paddle.nn.initializer import Normal, Constant
  from ..bbox_utils import batch_distance2bbox
  from ..losses import GIoULoss
  from ..initializer import bias_init_with_prob, constant_, normal_
  from ..assigners.utils import generate_anchors_for_grid_cell
  from ppdet.modeling.backbones.cspresnet import ConvBNLayer, RepVggBlock
  from ppdet.modeling.ops import get_static_shape, get_act_fn
  from ppdet.modeling.layers import MultiClassNMS
label_desc: Use image node_id 1 for calling a global function with example usage: get_activation(name) and returns: module