MCPcopy Create free account
hub / github.com/MorvanZhou/NLP-Tutorials / train

Function train

pytorch/transformer.py:229–262  ·  view source on GitHub ↗
(emb_dim=32,n_layer=3,n_head=4)

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

transformer.pyFile · 0.70

Calls 4

idx2strMethod · 0.95
stepMethod · 0.95
translateMethod · 0.95
TransformerClass · 0.70

Tested by

no test coverage detected