class_docstr: A semantic segmentation head that combines a head set in `POINT_HEAD.COARSE_SEM_SEG_HEAD_NAME`
  and a point head set in `MODEL.POINT_HEAD.NAME`.
class_docstr_tok: ["A","semantic","segmentation","head","that","combines","a","head","set","in","`","POINT_HEAD.COARSE_SEM_SEG_HEAD_NAME","`","and","a","point","head","set","in","`","MODEL.POINT_HEAD.NAME","`","."]
file_path: detectron2/projects/PointRend/point_rend/semantic_seg.py
imports: import numpy
  from typing import Dict
  import torch
  from torch import nn
  from torch.nn import functional
  from detectron2.layers import ShapeSpec, cat
  from detectron2.modeling import SEM_SEG_HEADS_REGISTRY
  from .point_features import get_uncertain_point_coords_on_grid, get_uncertain_point_coords_with_randomness, point_sample
  from .point_head import build_point_head
label_desc: Use image node_id 2 for calling the PointRendSemSegHead obj's underlying member method code with example usage: obj._init_point_head(cfg, input_shape) without return types