class_docstr: Convert bounding box coordinates to the given ``format``, eg from "CXCYWH" to "XYXY".
  
  Args:
      format (str or tv_tensors.BoundingBoxFormat): output bounding box format.
          Possible values are defined by :class:`~torchvision.tv_tensors.BoundingBoxFormat` and
          string values match the enums, e.g. "XYXY" or "XYWH" etc.
code: def __init__(
      self, format: Union[str, tv_tensors.BoundingBoxFormat]
  ) -> None:
      super().__init__()
      if isinstance(format, str):
          format = tv_tensors.BoundingBoxFormat[format]
      self.format = format
  
file_path: vision/torchvision/transforms/v2/_meta.py
imports: from typing import Any, Dict, Union
  from torchvision import tv_tensors
  from torchvision.transforms.v2 import functional, Transform
label_desc: Use image node_id 1 to create a new ConvertBoundingBoxFormat object from inherited base classes: Transform with example: obj = ConvertBoundingBoxFormat(format)