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()。