xpag.buffers.buffer.DefaultBuffer#
- class DefaultBuffer(buffer_size, sampler)#
Bases:
BufferMethods
init_bufferInserts a transition in the buffer
loadpre_sampleUses the sampler to returns a batch of transitions
save- insert(step)#
Inserts a transition in the buffer
- sample(batch_size)#
Uses the sampler to returns a batch of transitions