lium-lst / nmtpytorch

Sequence-to-Sequence Framework in PyTorch
Other
392 stars 51 forks source link

Move ctx transformations out of attention #15

Closed ozancaglayan closed 4 years ago

ozancaglayan commented 6 years ago

These transformations can be computed at once instead of each timestep for efficiency.