class_docstr: `PointRend <https://arxiv.org/abs/1912.08193>`_.
class_docstr_tok: ["`","PointRend","<","https",":","\/\/arxiv.org\/abs\/1912.08193",">","`","_","."]
code: def __init__(self, point_head: ConfigType, *args, **kwargs) -> None:
      super().__init__(*args, **kwargs)
      assert self.with_bbox and self.with_mask
      self.init_point_head(point_head)
  
file_path: mmdetection/mmdet/models/roi_heads/point_rend_roi_head.py
imports: from typing import List, Tuple
  import torch
  import torch.nn.functional
  from mmcv.ops import point_sample, rel_roi_point_to_rel_img_point
  from torch import Tensor
  from mmdet.registry import MODELS
  from mmdet.structures.bbox import bbox2roi
  from mmdet.utils import ConfigType, InstanceList
  from ..task_modules.samplers import SamplingResult
  from ..utils import empty_instances
  from .standard_roi_head import StandardRoIHead
label_desc: Use image node_id 1 to create a new PointRendRoIHead object from inherited base classes: StandardRoIHead with example: obj = PointRendRoIHead(point_head)