class_docstr: The `StandardROIHeads` for TridentNet.
  See :class:`StandardROIHeads`.
class_docstr_tok: ["The","`","StandardROIHeads","`","for","TridentNet",".","See",":","class",":","`","StandardROIHeads","`","."]
code: def __init__(self, cfg, input_shape):
      super(TridentStandardROIHeads, self).__init__(cfg, input_shape)
  
      self.num_branch = cfg.MODEL.TRIDENT.NUM_BRANCH
      self.trident_fast = cfg.MODEL.TRIDENT.TEST_BRANCH_IDX != -1
  
file_path: detectron2/projects/TridentNet/tridentnet/trident_rcnn.py
imports: from detectron2.layers import batched_nms
  from detectron2.modeling import ROI_HEADS_REGISTRY, StandardROIHeads
  from detectron2.modeling.roi_heads.roi_heads import Res5ROIHeads
  from detectron2.structures import Instances
label_desc: Use image node_id 1 to create a new TridentStandardROIHeads object from inherited base classes: StandardROIHeads with example: obj = TridentStandardROIHeads(cfg, input_shape)