|
pulsatrix
|
ComputeGAE()'s two outputs: the advantage estimate per step and the critic's regression target per step. More...
#include <gae.hpp>

Public Attributes | |
| Tensor | advantages |
A_t – the GAE(gamma, lambda) advantage estimate, the actor's per-step weight. | |
| Tensor | returns |
A_t + V(s_t) – the critic's regression target. Deliberately not the raw Monte-Carlo return RolloutBuffer::compute_returns() produces; see ComputeGAE(). | |
ComputeGAE()'s two outputs: the advantage estimate per step and the critic's regression target per step.
.first/.second for two tensors that are emphatically not interchangeable. | Tensor pulsatrix::GAEResult::advantages |
A_t – the GAE(gamma, lambda) advantage estimate, the actor's per-step weight.
| Tensor pulsatrix::GAEResult::returns |
A_t + V(s_t) – the critic's regression target. Deliberately not the raw Monte-Carlo return RolloutBuffer::compute_returns() produces; see ComputeGAE().