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