class_docstr: 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:
      mode: source box mode. If it is not given, this func will assume it is ``StandardMode()``.
          It follows the same format with ``src_mode`` in :class:`~monai.apps.detection.transforms.array.ConvertBoxMode` .
  
  Example:
      .. code-block:: python
  
          boxes = torch.ones(10,6)
          # convert boxes with format [xmin, xmax, ymin, ymax, zmin, zmax] to [xmin, ymin, zmin, xmax, ymax, zmax]
          box_converter = ConvertBoxToStandardMode(mode="xxyyzz")
          box_converter(boxes)
class_docstr_tok: ["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",":","mode",":","source","box","mode",".","If","it","is","not","given",",","this","func","will","assume","it","is","``","StandardMode","(",")","``",".","It","follows","the","same","format","with","``","src_mode","``","in",":","class",":","`","~monai.apps.detection.transforms.array.ConvertBoxMode","`",".","Example",":","..","code-block",":",":","python","boxes","=","torch.ones","(","10,6",")","#","convert","boxes","with","format","[","xmin",",","xmax",",","ymin",",","ymax",",","zmin",",","zmax","]","to","[","xmin",",","ymin",",","zmin",",","xmax",",","ymax",",","zmax","]","box_converter","=","ConvertBoxToStandardMode","(","mode=","''","xxyyzz","''",")","box_converter","(","boxes",")"]
docstr: 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. The box mode is assumed to be ``StandardMode``
  
  Returns:
      bounding boxes with standard mode, with same data type as ``boxes``, does not share memory with ``boxes``
docstr_tok: ["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",".","The","box","mode","is","assumed","to","be","``","StandardMode","``","Returns",":","bounding","boxes","with","standard","mode",",","with","same","data","type","as","``","boxes","``",",","does","not","share","memory","with","``","boxes","``"]
code: def __call__(self, boxes: NdarrayOrTensor) -> 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. The box mode is assumed to be ``StandardMode``
  
      Returns:
          bounding boxes with standard mode, with same data type as ``boxes``, does not share memory with ``boxes``
      """
      return convert_box_to_standard_mode(boxes, mode=self.mode)
  
imports: from __future__ import annotations
  from typing import Any, Sequence
  import numpy
  import torch
  from monai.config.type_definitions import DtypeLike, NdarrayOrTensor, NdarrayTensor
  from monai.data.box_utils import BoxMode, clip_boxes_to_image, convert_box_mode, convert_box_to_standard_mode, get_spatial_dims, spatial_crop_boxes, standardize_empty_box
  from monai.transforms import Rotate90, SpatialCrop
  from monai.transforms.transform import Transform
  from monai.utils import ensure_tuple, ensure_tuple_rep, fall_back_tuple, look_up_option
  from monai.utils.enums import TransformBackends
  from .box_ops import apply_affine_to_boxes, convert_box_to_mask, convert_mask_to_box, flip_boxes, resize_boxes, rot90_boxes, select_labels, zoom_boxes
label_desc: Use image node_id 2 for calling the ConvertBoxToStandardMode obj's underlying member method code with example usage: obj.__call__(boxes) and returns: convert_box_to_standard_mode