MCPcopy Create free account
hub / github.com/Xflick/EEND_PyTorch / NoamScheduler

Class NoamScheduler

eend/pytorch_backend/models.py:17–43  ·  view source on GitHub ↗

See https://arxiv.org/pdf/1706.03762.pdf lrate = d_model**(-0.5) * \ min(step_num**(-0.5), step_num*warmup_steps**(-1.5)) Args: d_model: int The number of expected features in the encoder inputs. warmup_steps: int The number of steps t

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

trainFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected