class_docstr: Reorder the bytes in a 1-dimensional buffer.
class_docstr_tok: ["Reorder","the","bytes","in","a","1-dimensional","buffer","."]
code: def add_arguments(
      cls, parser: argparse.ArgumentParser
  ) -> argparse.ArgumentParser:
      group = parser.add_argument_group(title=cls.__name__)
  
      group.add_argument(
          "--image-augmentation.shuffle-bytes.enable",
          action="store_true",
          help="Use {}. This flag is useful when you want to study the effect of different "
          "transforms.".format(cls.__name__),
      )
      group.add_argument(
          "--image-augmentation.shuffle-bytes.mode",
          default="reverse",
          help="The mode to use when shuffling bytes. Defaults to 'reverse'.",
          choices=(
              "reverse",
              "random_shuffle",
              "cyclic_half_length",
              "stride",
              "window_shuffle",
          ),
      )
      group.add_argument(
          "--image-augmentation.shuffle-bytes.stride",
          type=int,
          default=1024,
          help="The stride of the window used in shuffling operations that are windowed. Defaults to 1024.",
      )
      group.add_argument(
          "--image-augmentation.shuffle-bytes.window-size",
          type=int,
          default=1024,
          help="The size of the window used in shuffling operations that are windowed. Defaults to 1024.",
      )
      return parser
  
imports: import argparse
  import io
  from typing import Dict, Union
  import numpy
  import torch
  from PIL import Image
  from data.transforms import TRANSFORMATIONS_REGISTRY, BaseTransformation
label_desc: Use image node_id 3 for calling the ShuffleBytes obj's underlying member method code with example usage: obj.add_arguments(cls, parser) and returns: parser