class_docstr: Simplest base roi head including one bbox head and one mask head.
class_docstr_tok: ["Simplest","base","roi","head","including","one","bbox","head","and","one","mask","head","."]
docstr: Dummy forward function.
docstr_tok: ["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"],
          )
      # 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
  
imports: import torch
  from mmdet.core import bbox2result, bbox2roi, build_assigner, build_sampler
  from ..builder import HEADS, build_head, build_roi_extractor
  from .base_roi_head import BaseRoIHead
  from .test_mixins import BBoxTestMixin, MaskTestMixin
label_desc: Use image node_id 5 for calling the StandardRoIHead obj's underlying member method code with example usage: obj.forward_dummy(x, proposals) and returns: outs