Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/DeepRec-AI/DeepRec
/ linear_decay
Function
linear_decay
tensorflow/contrib/compiler/tests/powersign_test.py:34–36 ·
view source on GitHub ↗
(step)
Source
from the content-addressed store, hash-verified
32
33
def
py_linear_decay_fn(decay_steps):
34
def
linear_decay(step):
35
step = min(step, decay_steps)
36
return
float(decay_steps - step) / decay_steps
37
return
linear_decay
38
39
Callers
nothing calls this directly
Calls
1
min
Function · 0.50
Tested by
no test coverage detected