xpag.samplers.sampler.Sampler#

class Sampler(*, seed=None)#

Bases: ABC

Methods

sample

Return a batch of transitions

abstract sample(buffer, batch_size)#

Return a batch of transitions

Return type:

Dict[str, Union[ndarray, Array]]