MCPcopy Create free account
hub / github.com/NVlabs/DiffPure / update

Method update

score_sde/models/ema.py:40–59  ·  view source on GitHub ↗

Update currently maintained parameters. Call this every time the parameters are updated, such as the result of the `optimizer.step()` call. Args: parameters: Iterable of `torch.nn.Parameter`; usually the same set of parameters used to initialize this object.

(self, parameters)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 7

__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
__init__Method · 0.45
step_fnFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected