class_docstr: Reorder the bytes in a 1-dimensional buffer.
class_docstr_tok: ["Reorder","the","bytes","in","a","1-dimensional","buffer","."]
code: def __init__(self, opts: argparse.Namespace, *args, **kwargs) -> None:
      super().__init__(opts=opts, *args, **kwargs)
      self.mode = getattr(opts, "image_augmentation.shuffle_bytes.mode")
      self.stride = getattr(
          opts, "image_augmentation.shuffle_bytes.stride"
      )
      window_size = getattr(
          opts, "image_augmentation.shuffle_bytes.window_size"
      )
      self.window_shuffle = torch.randperm(window_size)
  
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 1 to create a new ShuffleBytes object from inherited base classes: BaseTransformation with example: obj = ShuffleBytes(opts)