torchvision.transforms.v2.functional.convert_bounding_box_format¶
- torchvision.transforms.v2.functional.convert_bounding_box_format(inpt: Tensor, old_format: Optional[BoundingBoxFormat] = None, new_format: Optional[BoundingBoxFormat] = None, inplace: bool = False) Tensor [原始碼]¶
詳情請參閱
ConvertBoundingBoxFormat()
。