RolloutMinibatch
python
RolloutMinibatch(observations: torch.Tensor, actions: torch.Tensor, log_probs: torch.Tensor, values: torch.Tensor, advantages: torch.Tensor, returns: torch.Tensor) -> NoneA minibatch of rollout data for PPO training.
Values
actions
python
actions: torch.TensorActions with shape (minibatch_size,).
advantages
python
advantages: torch.TensorGAE advantages, shape (minibatch_size,).
log_probs
python
log_probs: torch.TensorLog probabilities of the actions under the old policy, shape (minibatch_size,).
observations
python
observations: torch.TensorObservations with shape (minibatch_size, *obs_shape).
returns
python
returns: torch.TensorDiscounted returns (advantages + values), shape (minibatch_size,).
values
python
values: torch.TensorValue estimates from the old policy, shape (minibatch_size,).