MCPcopy Create free account
hub / github.com/buaacxf/VIPTR / __call__

Method __call__

optimizer.py:61–62  ·  view source on GitHub ↗
(self, optimizer)

Source from the content-addressed store, hash-verified

59 self.warmup_epoch = warmup_epoch
60
61 def __call__(self, optimizer):
62 return lr_scheduler.LambdaLR(optimizer, self.lambda_func, self.last_epoch)
63
64 def lambda_func(self, current_step):
65 if current_step < self.warmup_epoch:

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected