4 ms·
This is not statically checked but it's a step in the right direction: https://pytorch.org/docs/stable/named_tensor.html https://pytorch.org/docs/stable/named_t
by atorodius 6y ago
This is not statically checked but it's a step in the right direction: https://pytorch.org/docs/stable/named_tensor.html https://pytorch.org/docs/stable/named_tensor.html
- MiroF 6y agoYeah, I actually helped work on the inspo for that project https://github.com/harvardnlp/namedtensor https://github.com/harvardnlp/namedtensor . From what I've been able to tell, (no shade to the Pytorch team which has many different priorities) work has been somewhat slow going on the port. Further, this is dynamic type checking as you mentioned.
- atorodius 6y agoI see, interesting! Yeah statically checking this would be way more awesome still