MCPcopy Create free account
hub / github.com/MoonInTheRiver/DiffSinger / __setstate__

Method __setstate__

modules/parallel_wavegan/optimizers/radam.py:23–25  ·  view source on GitHub ↗

Set state.

(self, state)

Source from the content-addressed store, hash-verified

21 super(RAdam, self).__init__(params, defaults)
22
23 def __setstate__(self, state):
24 """Set state."""
25 super(RAdam, self).__setstate__(state)
26
27 def step(self, closure=None):
28 """Run one step."""

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected