MCPcopy
hub / github.com/ermongroup/ddim / load_state_dict

Method load_state_dict

models/ema.py:48–49  ·  view source on GitHub ↗
(self, state_dict)

Source from the content-addressed store, hash-verified

46 return self.shadow
47
48 def load_state_dict(self, state_dict):
49 self.shadow = state_dict

Callers 3

trainMethod · 0.95
sampleMethod · 0.95
ema_copyMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected