MCPcopy
hub / github.com/thuml/Transfer-Learning-Library / state_dict

Method state_dict

tllib/self_training/mean_teacher.py:70–71  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

68 self.train(False)
69
70 def state_dict(self):
71 return self.teacher.state_dict()
72
73 def load_state_dict(self, state_dict):
74 self.teacher.load_state_dict(state_dict)

Callers 15

_resnetFunction · 0.80
_reid_resnetFunction · 0.80
deeplabv2_resnet101Function · 0.80
_resnet_with_mix_styleFunction · 0.80
update_bnFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80
mainFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected