code: def infer_shape(self, in_shape):
      labels_shape = in_shape[1]
      # print('in_rpn_ohem', in_shape[0], in_shape[1], in_shape[2], file=sys.stderr)
      anchor_weight_shape = [labels_shape[0], labels_shape[1], 1]
      # print('in_rpn_ohem', labels_shape, anchor_weight_shape)
  
      return in_shape, [
          labels_shape,
          anchor_weight_shape,
          [labels_shape[0], 1],
      ]
  
file_path: insightface/detection/retinaface/rcnn/PY_OP/rpn_fpn_ohem3.py
imports: from __future__ import print_function
  import sys
  import mxnet
  import numpy
  from distutils.util import strtobool
  from ..config import config, generate_config
label_desc: Use image node_id 4 for calling the RPNFPNOHEM3Prop obj's underlying member method code with example usage: obj.infer_shape(in_shape) and returns: in_shape,  list