code: def clip_coords(boxes, img_shape):
      # Clip bounding xyxy bounding boxes to image shape (height, width)
      boxes[:, 0].clamp_(0, img_shape[1])  # x1
      boxes[:, 1].clamp_(0, img_shape[0])  # y1
      boxes[:, 2].clamp_(0, img_shape[1])  # x2
      boxes[:, 3].clamp_(0, img_shape[0])
  
imports: import glob
  import math
  import os
  import random
  import time
  import cv2
  import matplotlib
  import numpy
  import torch
  import torch.nn
  import torchvision
  from tqdm import tqdm
  from build_utils import torch_utils
label_desc: Use image node_id 6 for calling a global function with example usage: clip_coords(boxes, img_shape) without return types