code: def fastrcnn_2fc_head(feature):
      """
      Args:
          feature (any shape):
  
      Returns:
          2D head feature
      """
      dim = cfg.FPN.FRCNN_FC_HEAD_DIM
      init = tfv1.variance_scaling_initializer()
      hidden = FullyConnected(
          "fc6",
          feature,
          dim,
          kernel_initializer=init,
          activation=tf.nn.relu,
      )
      hidden = FullyConnected(
          "fc7",
          hidden,
          dim,
          kernel_initializer=init,
          activation=tf.nn.relu,
      )
      return hidden
  
imports: import tensorflow
  from tensorpack import tfv1
  from tensorpack.models import Conv2D, FullyConnected, layer_register
  from tensorpack.tfutils.argscope import argscope
  from tensorpack.tfutils.scope_utils import under_name_scope
  from tensorpack.tfutils.summary import add_moving_summary
  from tensorpack.utils.argtools import memoized_method
  from config import config
  from utils.box_ops import pairwise_iou
  from .model_box import decode_bbox_target, encode_bbox_target
  from .backbone import GroupNorm
label_desc: Use image node_id 6 for calling a global function with example usage: fastrcnn_2fc_head(feature) and returns: hidden