MCPcopy Create free account
hub / github.com/Yonv1943/Python / soft_update

Method soft_update

ElegantRL/agent.py:116–123  ·  view source on GitHub ↗

soft update a target network via current network `nn.Module target_net` target network update via a current network, it is more stable `nn.Module current_net` current network update via an optimizer

(target_net, current_net, tau)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 5

update_netMethod · 0.45
update_netMethod · 0.45
update_netMethod · 0.45
update_netMethod · 0.45
update_netMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected