MCPcopy Create free account
hub / github.com/davda54/sam / load_state_dict

Method load_state_dict

sam.py:61–63  ·  view source on GitHub ↗
(self, state_dict)

Source from the content-addressed store, hash-verified

59 return norm
60
61 def load_state_dict(self, state_dict):
62 super().load_state_dict(state_dict)
63 self.base_optimizer.param_groups = self.param_groups

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected