class_docstr: Lazy Random State class.
  
  
  This is a class to initialize the random state just before use to prevent
  duplication of the same random state when deepcopy is applied to the instance of sampler.
class_docstr_tok: ["Lazy","Random","State","class",".","This","is","a","class","to","initialize","the","random","state","just","before","use","to","prevent","duplication","of","the","same","random","state","when","deepcopy","is","applied","to","the","instance","of","sampler","."]
code: def __init__(self, seed: int | None = None) -> None:
      self._rng: numpy.random.RandomState | None = None
      if seed is not None:
          self.rng.seed(seed=seed)
  
imports: from __future__ import annotations
  import numpy
label_desc: Use image node_id 1 to create a new LazyRandomState object  with example: obj = LazyRandomState(seed)