code: def get_head(data, version_input, num_filter):
      bn_mom = config.bn_mom
      workspace = config.workspace
      kwargs = {"bn_mom": bn_mom, "workspace": workspace}
      data = data - 127.5
      data = data * 0.0078125
      # data = mx.sym.BatchNorm(data=data, fix_gamma=True, eps=2e-5, momentum=bn_mom, name='bn_data')
      if version_input == 0:
          body = Conv(
              data=data,
              num_filter=num_filter,
              kernel=(7, 7),
              stride=(2, 2),
              pad=(3, 3),
              no_bias=True,
              name="conv0",
              workspace=workspace,
          )
          body = mx.sym.BatchNorm(
              data=body,
              fix_gamma=False,
              eps=2e-5,
              momentum=bn_mom,
              name="bn0",
          )
          body = Act(data=body, act_type=config.net_act, name="relu0")
          body = mx.sym.Pooling(
              data=body,
              kernel=(3, 3),
              stride=(2, 2),
              pad=(1, 1),
              pool_type="max",
          )
      else:
          body = data
          _num_filter = min(num_filter, 64)
          body = Conv(
              data=body,
              num_filter=_num_filter,
              kernel=(3, 3),
              stride=(1, 1),
              pad=(1, 1),
              no_bias=True,
              name="conv0",
              workspace=workspace,
          )
          body = mx.sym.BatchNorm(
              data=body,
              fix_gamma=False,
              eps=2e-5,
              momentum=bn_mom,
              name="bn0",
          )
          body = Act(data=body, act_type=config.net_act, name="relu0")
          # body = residual_unit_v3(body, _num_filter, (2, 2), False, name='head', **kwargs)
          body = residual_unit_v1l(
              body,
              _num_filter,
              (2, 2),
              False,
              name="head",
              bottle_neck=False,
          )
      return body
  
file_path: insightface/recognition/partial_fc/mxnet/symbol/symbol_utils.py
imports: import sys
  import os
  import mxnet
  from default import config
label_desc: Use image node_id 7 for calling a global function with example usage: get_head(data, version_input, num_filter) and returns: body