class_docstr: Shuffle the transform Sequence.
docstr: Transform function to apply transforms in random order.
  
  Args:
      results (dict): A result dict contains the results to transform.
  
  Returns:
      dict or None: Transformed results.
docstr_tok: ["Transform","function","to","apply","transforms","in","random","order",".","Args",":","results","(","dict",")",":","A","result","dict","contains","the","results","to","transform",".","Returns",":","dict","or","None",":","Transformed","results","."]
code: def transform(self, results: Dict) -> Optional[Dict]:
      """Transform function to apply transforms in random order.
  
      Args:
          results (dict): A result dict contains the results to transform.
  
      Returns:
          dict or None: Transformed results.
      """
      inds = self._random_permutation()
      for idx in inds:
          t = self.transforms[idx]
          results = t(results)
          if results is None:
              return None
      return results
  
imports: import copy
  from typing import Callable, Dict, List, Optional, Union
  import numpy
  from mmcv.transforms import BaseTransform, Compose
  from mmcv.transforms.utils import cache_random_params, cache_randomness
  from mmdet.registry import TRANSFORMS
label_desc: Use image node_id 2 for calling the RandomOrder obj's underlying member method code with example usage: obj.transform(results) and returns: results, None