class_docstr: Grid roi head for Grid R-CNN.
  
  https://arxiv.org/abs/1811.12030
docstr: Dummy forward function.
code: def forward_dummy(self, x, proposals):
      """Dummy forward function."""
      # bbox head
      outs = ()
      rois = bbox2roi([proposals])
      if self.with_bbox:
          bbox_results = self._bbox_forward(x, rois)
          outs = outs + (
              bbox_results["cls_score"],
              bbox_results["bbox_pred"],
          )
  
      # grid head
      grid_rois = rois[:100]
      grid_feats = self.grid_roi_extractor(
          x[: self.grid_roi_extractor.num_inputs], grid_rois
      )
      if self.with_shared_head:
          grid_feats = self.shared_head(grid_feats)
      grid_pred = self.grid_head(grid_feats)
      outs = outs + (grid_pred,)
  
      # mask head
      if self.with_mask:
          mask_rois = rois[:100]
          mask_results = self._mask_forward(x, mask_rois)
          outs = outs + (mask_results["mask_pred"],)
      return outs
  
file_path: insightface/detection/scrfd/mmdet/models/roi_heads/grid_roi_head.py
imports: import torch
  from mmdet.core import bbox2result, bbox2roi
  from ..builder import HEADS, build_head, build_roi_extractor
  from .standard_roi_head import StandardRoIHead
label_desc: Use image node_id 4 for calling the GridRoIHead obj's underlying member method code with example usage: obj.forward_dummy(x, proposals) and returns: outs