class_docstr: Base class for RoI extractor.
  
  Args:
      roi_layer (dict): Specify RoI layer type and arguments.
      out_channels (int): Output channels of RoI layers.
      featmap_strides (int): Strides of input feature maps.
code: def __init__(self, roi_layer, out_channels, featmap_strides):
      super(BaseRoIExtractor, self).__init__()
      self.roi_layers = self.build_roi_layers(
          roi_layer, featmap_strides
      )
      self.out_channels = out_channels
      self.featmap_strides = featmap_strides
      self.fp16_enabled = False
  
file_path: insightface/detection/scrfd/mmdet/models/roi_heads/roi_extractors/base_roi_extractor.py
imports: from abc import ABCMeta, abstractmethod
  import torch
  import torch.nn
  from mmcv import ops
label_desc: Use image node_id 1 to create a new BaseRoIExtractor object from inherited base classes: nn with example: obj = BaseRoIExtractor(roi_layer, out_channels, featmap_strides)