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 [source]¶
See
ConvertBoundingBoxFormat()
for details.