class_docstr: Clamp bounding boxes to their corresponding image dimensions.
  
  The clamping is done according to the bounding boxes' ``canvas_size`` meta-data.
code: def _transform(
      self, inpt: tv_tensors.BoundingBoxes, params: Dict[str, Any]
  ) -> tv_tensors.BoundingBoxes:
      return F.clamp_bounding_boxes(inpt)
  
file_path: vision/torchvision/transforms/v2/_meta.py
imports: from typing import Any, Dict, Union
  from torchvision import tv_tensors
  from torchvision.transforms.v2 import functional, Transform
label_desc: Use image node_id 1 for calling the ClampBoundingBoxes obj's underlying member method code with example usage: obj._transform(inpt, params) and returns: F