Mighty rollout buffer
mighty.mighty_replay.mighty_rollout_buffer
#
Mighty rollout buffer.
MightyRolloutBuffer
#
MightyRolloutBuffer(
buffer_size: int,
obs_shape,
act_dim,
device: str = "auto",
gae_lambda: float = 1,
gamma: float = 0.99,
n_envs: int = 1,
)
Bases: MightyBuffer
Rollout buffer used in on-policy algorithms like A2C/PPO.