code: def create_seed_generator(
      seed: tp.Optional[int],
  ) -> tp.Iterator[tp.Optional[int]]:
      """Create a stream of seeds, independent from the standard random stream.
      This is designed to be used in experiment plans generators, fore reproducibility.
  
      Parameter
      ---------
      seed: int or None
          the initial seed
  
      Yields
      ------
      int or None
          potential new seeds, or None if the initial seed was None
      """
      generator = (
          None if seed is None else np.random.RandomState(seed=seed)
      )
      while True:
          yield None if generator is None else generator.randint(
              2**32, dtype=np.uint32
          )
  
imports: import sys
  import time
  import random
  import numbers
  import warnings
  import traceback
  import nevergrad.common.typing
  import typing
  import numpy
  from nevergrad.parametrization import parameter
  from nevergrad.common import decorators
  from nevergrad.common import errors
  from ..functions import base
  from ..optimization import base
  from ..optimization.optimizerlib import registry
  from .None import execution
label_desc: Use image node_id 2 for calling a global function with example usage: create_seed_generator(seed) without return types