Function sample_minibatch
Source pub fn sample_minibatch(buffer: &RolloutBuffer, indices: &[usize]) -> Minibatch
Expand description
Sample a minibatch from the rollout buffer
§Arguments
buffer - Source rollout buffer
indices - Indices of samples to include in the batch
§Returns
Minibatch data suitable for training