Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DropEdge/DropEdge
/ get_lr
Function
get_lr
src/train_new.py:156–158 ·
view source on GitHub ↗
(optimizer)
Source
from the content-addressed store, hash-verified
154
155
156
def
get_lr(optimizer):
157
for
param_group in optimizer.param_groups:
158
return
param_group[
'lr'
]
159
160
161
# define the training function.
Callers
1
train
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected