code: def __iter__(
      self,
  ) -> tp.Iterator[tp.ArrayLike]:  # unused, but could be useful
      assert (
          self.index == 0
      ), "Reinitialize before iterating again"  # backward compatibility
      assert (
          self.budget is not None
      ), "Iterable does not work if budget is not specified"  # TODO make it work
      return (self() for _ in range(self.budget))
  
imports: import numpy
  from numpy.random import RandomState
  import nevergrad.common.typing
  from nevergrad.common.decorators import Registry
label_desc: Use image node_id 4 for calling the Sampler obj's underlying member method code with example usage: obj.__iter__() and returns: unknown