MCPcopy Create free account
hub / github.com/GeWu-Lab/AnyTouch2 / state_dict

Method state_dict

util/misc.py:273–274  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

271 return norm
272
273 def state_dict(self):
274 return self._scaler.state_dict()
275
276 def load_state_dict(self, state_dict):
277 self._scaler.load_state_dict(state_dict)

Callers 3

convert_clip_checkpointFunction · 0.80
save_checkpointMethod · 0.80
save_modelFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected