code: def Act(data, act_type, name):
      if act_type == "prelu":
          body = mx.sym.LeakyReLU(
              data=data, act_type="prelu", name=name
          )
      else:
          body = mx.symbol.Activation(
              data=data, act_type=act_type, name=name
          )
      return body
  
file_path: insightface/recognition/partial_fc/mxnet/symbol/resnet.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import sys
  import os
  import mxnet
  import numpy
  from symbol import symbol_utils
  from default import config
label_desc: Use image node_id 2 for calling a global function with example usage: Act(data, act_type, name) and returns: body