class_docstr: Implementation of Region Proposal Network.
class_docstr_tok: ["Implementation","of","Region","Proposal","Network","."]
docstr: Test function without test time augmentation.
  
  Args:
      imgs (list[torch.Tensor]): List of multiple images
      img_metas (list[dict]): List of image information.
      rescale (bool, optional): Whether to rescale the results.
          Defaults to False.
  
  Returns:
      list[np.ndarray]: proposals
docstr_tok: ["Test","function","without","test","time","augmentation",".","Args",":","imgs","(","list","[","torch.Tensor","]",")",":","List","of","multiple","images","img_metas","(","list","[","dict","]",")",":","List","of","image","information",".","rescale","(","bool",",","optional",")",":","Whether","to","rescale","the","results",".","Defaults","to","False",".","Returns",":","list","[","np.ndarray","]",":","proposals"]
code: def simple_test(self, img, img_metas, rescale=False):
      """Test function without test time augmentation.
  
      Args:
          imgs (list[torch.Tensor]): List of multiple images
          img_metas (list[dict]): List of image information.
          rescale (bool, optional): Whether to rescale the results.
              Defaults to False.
  
      Returns:
          list[np.ndarray]: proposals
      """
      x = self.extract_feat(img)
      proposal_list = self.rpn_head.simple_test_rpn(x, img_metas)
      if rescale:
          for proposals, meta in zip(proposal_list, img_metas):
              proposals[:, :4] /= proposals.new_tensor(
                  meta["scale_factor"]
              )
  
      return [proposal.cpu().numpy() for proposal in proposal_list]
  
file_path: insightface/detection/scrfd/mmdet/models/detectors/rpn.py
imports: import mmcv
  from mmcv.image import tensor2imgs
  from mmdet.core import bbox_mapping
  from ..builder import DETECTORS, build_backbone, build_head, build_neck
  from .base import BaseDetector
label_desc: Use image node_id 6 for calling the RPN obj's underlying member method code with example usage: obj.simple_test(img, img_metas, rescale) and returns: unknown