def iter_sample(draws, step, start=None, trace=None, chain=0, tune=None, model=None, random_seed=(-1)):
 sampling = _iter_sample(draws, step, start, trace, chain, tune, model, random_seed)
 for (i, strace) in enumerate(sampling):
  (yield MultiTrace([strace[:(i + 1)]]))

def iter_sample ( draws , step , start = None , trace = None , chain = 0 , tune = None , model = None , random_seed = ( - 1 ) ) : sampling = _iter_sample ( draws , step , start , trace , chain , tune , model , random_seed ) for ( i , strace ) in enumerate ( sampling ) : ( yield MultiTrace ( [ strace [ : ( i + 1 ) ] ] ) )
generator that returns a trace on each iteration using the given step method .