harvardnlp / pytorch-struct

Fast, general, and tested differentiable structured prediction in PyTorch
http://harvardnlp.github.io/pytorch-struct
MIT License
1.11k stars 93 forks source link

enable gradient in dist.topk() #56

Closed zhaoyanpeng closed 4 years ago

zhaoyanpeng commented 4 years ago

fix #55