I got tired of print(x.shape) so I built runtime type hints for Python
let types trickle from runtime to compile time. As a beginner learning to build ML models, I found it annoying to have to keep printing tensor shapes every other line, having to step through the debugger to check where did I mess up the shapes again.
Open source
Reactions (1)
Similar products
by description similarity
Glowstick
github.comtype level tensor shapes in stable rust
Tensor library & inference framework for machine learning
PEP 827
peps.python.orgTS-like type manipulation in Python
InsightFlow
github.comLLM-based tool for parsing information and chatting with it
Axiom
news.ycombinator.comC++ tensor library with NumPy API and Metal GPU support