code: def convert_box_to_standard_mode(
      boxes: NdarrayOrTensor,
      mode: str | BoxMode | type[BoxMode] | None = None,
  ) -> NdarrayOrTensor:
      """
      Convert given boxes to standard mode.
      Standard mode is "xyxy" or "xyzxyz",
      representing box format of [xmin, ymin, xmax, ymax] or [xmin, ymin, zmin, xmax, ymax, zmax].
  
      Args:
          boxes: source bounding boxes, Nx4 or Nx6 torch tensor or ndarray.
          mode: source box mode. If it is not given, this func will assume it is ``StandardMode()``.
              It follows the same format with ``mode`` in :func:`~monai.data.box_utils.get_boxmode`.
  
      Returns:
          bounding boxes with standard mode, with same data type as ``boxes``, does not share memory with ``boxes``
  
      Example:
          .. code-block:: python
  
              boxes = torch.ones(10,6)
              # The following two lines are equivalent
              # They convert boxes with format [xmin, xmax, ymin, ymax, zmin, zmax] to [xmin, ymin, zmin, xmax, ymax, zmax]
              convert_box_to_standard_mode(boxes=boxes, mode="xxyyzz")
              convert_box_mode(boxes=boxes, src_mode="xxyyzz", dst_mode="xyzxyz")
      """
      return convert_box_mode(
          boxes=boxes, src_mode=mode, dst_mode=StandardMode()
      )
  
imports: from __future__ import annotations
  import inspect
  import warnings
  from abc import ABC, abstractmethod
  from collections.abc import Callable, Sequence
  from copy import deepcopy
  import numpy
  import torch
  from monai.config.type_definitions import NdarrayOrTensor, NdarrayTensor
  from monai.utils import look_up_option
  from monai.utils.enums import BoxModeName
  from monai.utils.type_conversion import convert_data_type, convert_to_dst_type
label_desc: Use image node_id 5 for calling a global function with example usage: convert_box_to_standard_mode(boxes, mode) and returns: convert_box_mode