harvardnlp / namedtensor

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

Added equal, unique and deepcopy functions #75

Closed Sanyuan-Chen closed 5 years ago

Sanyuan-Chen commented 5 years ago

Tried to implement these three functions for namedtensor, hope it can be helpful! :)

srush commented 5 years ago

Let me know if there are any outstanding questions, otherwise would be happy to merge.

Sanyuan-Chen commented 5 years ago

No questions. 👌