code: def _default_get_rngs_state():
      return {
          "random": random.getstate(),
          "numpy.random": numpy.random.get_state(),
          "torch.random": torch.random.get_rng_state(),
      }
  
file_path: nni/nni/contrib/distillation/utils.py
imports: from pathlib import Path
  import pickle
  import random
  from typing import Dict, List
  import numpy
  import torch
label_desc: Use image node_id 6 for calling a global function with example usage: _default_get_rngs_state() and returns: dict