struct ReplayBuffer {
&FloatTensor obs;
&FloatTensor next;
&FloatTensor action;
&FloatTensor reward;
&FloatTensor terminal;
unsigned long slots;
unsigned long size;
unsigned long pos;
unsigned long obsDim;
}Fields
[slots, obsDim]
[slots, obsDim]
[slots]
[slots]
[slots]
Methods
§
void push(
const &FloatTensor obs,
unsigned long action,
float reward,
const &FloatTensor next,
int terminal,
)source · definition= drop()