code: def crop_boxes(
      boxes: torch.Tensor, x_offset: int, y_offset: int
  ) -> torch.Tensor:
      """
      Peform crop on the bounding boxes given the offsets.
      Args:
          boxes (torch.Tensor): bounding boxes to peform crop. The dimension
              is `num boxes` x 4.
          x_offset (int): cropping offset in the x axis.
          y_offset (int): cropping offset in the y axis.
      Returns:
          cropped_boxes (torch.Tensor): the cropped boxes with dimension of
              `num boxes` x 4.
      """
      cropped_boxes = copy.deepcopy(boxes)
      cropped_boxes[:, [0, 2]] = boxes[:, [0, 2]] - x_offset
      cropped_boxes[:, [1, 3]] = boxes[:, [1, 3]] - y_offset
  
      return cropped_boxes
  
imports: import copy
  import math
  from typing import Tuple
  import numpy
  import torch
label_desc: Use image node_id 14 for calling a global function with example usage: crop_boxes(boxes, x_offset, y_offset) and returns: cropped_boxes