code: def is_located_in(points, bboxes):
      """Are points located in bboxes.
  
      Args:
        points (Tensor): Points, shape: (m, 2).
        bboxes (Tensor): Bounding boxes, shape: (n, 4).
  
      Return:
        Tensor: Flags indicating if points are located in bboxes, shape: (m, n).
      """
      assert points.size(1) == 2
      assert bboxes.size(1) == 4
      return (
          (points[:, 0].unsqueeze(1) > bboxes[:, 0].unsqueeze(0))
          & (points[:, 0].unsqueeze(1) < bboxes[:, 2].unsqueeze(0))
          & (points[:, 1].unsqueeze(1) > bboxes[:, 1].unsqueeze(0))
          & (points[:, 1].unsqueeze(1) < bboxes[:, 3].unsqueeze(0))
      )
  
file_path: insightface/detection/scrfd/mmdet/core/bbox/assigners/center_region_assigner.py
imports: import torch
  from ..builder import BBOX_ASSIGNERS
  from ..iou_calculators import build_iou_calculator
  from .assign_result import AssignResult
  from .base_assigner import BaseAssigner
label_desc: Use image node_id 2 for calling a global function with example usage: is_located_in(points, bboxes) and returns: unknown