code: def clip_coords(boxes: np.ndarray, img_shape: tuple):
      # Clip bounding xyxy bounding boxes to image shape (height, width)
      boxes[:, 0].clip(0, img_shape[1])  # x1
      boxes[:, 1].clip(0, img_shape[0])  # y1
      boxes[:, 2].clip(0, img_shape[1])  # x2
      boxes[:, 3].clip(0, img_shape[0])
  
file_path: deep-learning-for-image-processing/pytorch_object_detection/yolov3_spp/load_onnx_test.py
imports: import time
  import cv2
  import onnx
  import onnxruntime
  import numpy
  from matplotlib import pyplot
  from draw_box_utils import draw_box
label_desc: Use image node_id 3 for calling a global function with example usage: clip_coords(boxes, img_shape) without return types