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

Method lr

example/utility/step_lr.py:20–21  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

18 param_group["lr"] = lr
19
20 def lr(self) -> float:
21 return self.optimizer.param_groups[0]["lr"]

Callers 1

train.pyFile · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected