harvardnlp / namedtensor

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

Add support for tensor abbreviations and better addressing #104

Open EndingCredits opened 3 years ago

EndingCredits commented 3 years ago

Mainly for reference as this library isn't being maintained anymore, but this addresses two issues

Adding abbreviations for dimension names https://github.com/harvardnlp/namedtensor/issues/103#issue-464568229

Making it easier to refer to dimensions https://github.com/harvardnlp/namedtensor/issues/102#issuecomment-508701487