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

Method step

tllib/alignment/mdd.py:265–269  ·  view source on GitHub ↗

Gradually increase :math:`\lambda` in GRL layer.

(self)

Source from the content-addressed store, hash-verified

263 return outputs
264
265 def step(self):
266 """
267 Gradually increase :math:`\lambda` in GRL layer.
268 """
269 self.grl_layer.step()
270
271 def get_parameters(self, base_lr=1.0) -> List[Dict]:
272 """

Callers 15

calculateFunction · 0.45
trainFunction · 0.45
mainFunction · 0.45
trainFunction · 0.45
trainFunction · 0.45
trainFunction · 0.45
trainFunction · 0.45
trainFunction · 0.45
trainFunction · 0.45
trainFunction · 0.45
trainFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected