xpag.samplers.sampler.DefaultSampler#

class DefaultSampler(*, seed=None)#

Bases: Sampler

Methods

sample

Return a batch of transitions

sample(buffer, batch_size)#

Return a batch of transitions

Return type:

Dict[str, ndarray]