original_docstring: 
      Find the Jaccard Overlap (IoU) of every box combination between two sets of boxes that are in boundary coordinates.
  
      :param set_1: set 1, a tensor of dimensions (n1, 4)
      :param set_2: set 2, a tensor of dimensions (n2, 4)
      :return: Jaccard Overlap of each of the boxes in set 1 with respect to each of the boxes in set 2, a tensor of dimensions (n1, n2)
      
docstring: Find the Jaccard Overlap (IoU) of every box combination between two sets of boxes that are in boundary coordinates.
docstring_tokens: Find the Jaccard Overlap ( IoU ) of every box combination between two sets of boxes that are in boundary coordinates .
code: def find_jaccard_overlap(set_1, set_2):
      """
      Find the Jaccard Overlap (IoU) of every box combination between two sets of boxes that are in boundary coordinates.
  
      :param set_1: set 1, a tensor of dimensions (n1, 4)
      :param set_2: set 2, a tensor of dimensions (n2, 4)
      :return: Jaccard Overlap of each of the boxes in set 1 with respect to each of the boxes in set 2, a tensor of dimensions (n1, n2)
      """
  
      # Find intersections
      intersection = find_intersection(set_1, set_2)  # (n1, n2)
  
      # Find areas of each box in both sets
      areas_set_1 = (set_1[:, 2] - set_1[:, 0]) * (set_1[:, 3] - set_1[:, 1])  # (n1)
      areas_set_2 = (set_2[:, 2] - set_2[:, 0]) * (set_2[:, 3] - set_2[:, 1])  # (n2)
  
      # Find the union
      # PyTorch auto-broadcasts singleton dimensions
      union = areas_set_1.unsqueeze(1) + areas_set_2.unsqueeze(0) - intersection  # (n1, n2)
  
      return intersection / union
code_tokens: def find_jaccard_overlap ( set_1 , set_2 ) : intersection = find_intersection ( set_1 , set_2 ) areas_set_1 = ( set_1 [ : , 2 ] - set_1 [ : , 0 ] ) * ( set_1 [ : , 3 ] - set_1 [ : , 1 ] ) areas_set_2 = ( set_2 [ : , 2 ] - set_2 [ : , 0 ] ) * ( set_2 [ : , 3 ] - set_2 [ : , 1 ] ) union = areas_set_1 . unsqueeze ( 1 ) + areas_set_2 . unsqueeze ( 0 ) - intersection return intersection / union
short_docstring: Find the Jaccard Overlap (IoU) of every box combination between two sets of boxes that are in boundary coordinates.
short_docstring_tokens: Find the Jaccard Overlap ( IoU ) of every box combination between two sets of boxes that are in boundary coordinates .
comment: """
      Find the Jaccard Overlap (IoU) of every box combination between two sets of boxes that are in boundary coordinates.
  
      :param set_1: set 1, a tensor of dimensions (n1, 4)
      :param set_2: set 2, a tensor of dimensions (n2, 4)
      :return: Jaccard Overlap of each of the boxes in set 1 with respect to each of the boxes in set 2, a tensor of dimensions (n1, n2)
      """$SEP$# Find intersections$SEP$# (n1, n2)$SEP$# Find areas of each box in both sets$SEP$# (n1)$SEP$# (n2)$SEP$# Find the union$SEP$# PyTorch auto-broadcasts singleton dimensions$SEP$# (n1, n2)