To
Torchtyping
Type annotations and dynamic checking for a tensor's shape, dtype, names, etc.
About Torchtyping
Type annotations and dynamic checking for a tensor's shape, dtype, names, etc. Torchtyping is an open-source project by patrick-kidger, first published in March 2021. It is written mainly in Python. Areas it covers: Named Tensors, Python Typing, PyTorch, Shape, Tensors, Typing. Source code: https://github.com/patrick-kidger/torchtyping
Highlights
- Named Tensors
- Python Typing
- PyTorch
- Shape
- Tensors
- Typing