get_bounding_boxes¶ torchvision.transforms.v2.get_bounding_boxes(flat_inputs: list[Any]) → BoundingBoxes[源代码]¶ 返回输入中的边界框。 假定只有一个 BoundingBoxes 对象存在。