harvardnlp / namedtensor

Named Tensor implementation for Torch
http://nlp.seas.harvard.edu/NamedTensor
MIT License
443 stars 42 forks source link

PR for chunk, and fixing other functions to use tensor._new #78

Closed tynanseltzer closed 5 years ago

tynanseltzer commented 5 years ago

Updated PR for chunk, along with changing topk and stack to use the tensor._new convention

srush commented 5 years ago

Accepting even though the test failed.