pulsatrix
Loading...
Searching...
No Matches
polyak_update.hpp File Reference

Soft (Polyak / exponential-moving-average) target-network update, as used by SAC. More...

Include dependency graph for polyak_update.hpp:

Go to the source code of this file.

Namespaces

namespace  pulsatrix
 

Functions

void pulsatrix::PolyakUpdate (Module &source, Module &destination, float tau)
 Soft target-network update (Lillicrap et al. 2016 / Haarnoja et al. 2018): destination_param[i] = tau * source_param[i] + (1 - tau) * destination_param[i], element-wise and in place.
 

Detailed Description

Soft (Polyak / exponential-moving-average) target-network update, as used by SAC.