clamp_bounding_boxes¶ torchvision.transforms.v2.functional.clamp_bounding_boxes(inpt: Tensor, format: Optional[BoundingBoxFormat] = None, canvas_size: Optional[Tuple[int, int]] = None) → Tensor[源代码]¶ 有关详细信息,请参阅 ClampBoundingBoxes()。