code: def infer_shape(self, in_shape):
      cls_pred_shape = in_shape[1]
      bs = cls_pred_shape[0]
      num_anchors = cls_pred_shape[2]
      # print('in_rpn_ohem', in_shape[0], in_shape[1], in_shape[2], file=sys.stderr)
      # print('in_rpn_ohem', labels_shape, anchor_weight_shape)
      cls_label_shape = [bs, num_anchors]
  
      return in_shape, [
          cls_label_shape,
          in_shape[4],
          [bs, num_anchors, 1],
          [bs, 1],
      ]
  
imports: from __future__ import print_function
  import sys
  import mxnet
  import numpy
  import datetime
  from distutils.util import strtobool
  from ..config import config, generate_config
  from ..processing.generate_anchor import generate_anchors, anchors_plane
  from ..processing.bbox_transform import bbox_overlaps, bbox_transform, landmark_transform
label_desc: Use image node_id 4 for calling the CascadeRefineProp obj's underlying member method code with example usage: obj.infer_shape(in_shape) and returns: in_shape,  list