Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Tencent/NeuralNLP-NeuralClassifier
/ warmup_linear
Function
warmup_linear
model/optimizer.py:50–53 ·
view source on GitHub ↗
(x, warmup=0.002)
Source
from the content-addressed store, hash-verified
48
49
50
def
warmup_linear(x, warmup=0.002):
51
if
x < warmup:
52
return
x / warmup
53
return
1.0 - x
54
55
56
SCHEDULES = {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected