← Latest products

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

14 stars · GitHubexternal site

Visit github.comexternal site

Reactions (1)

Similar products

by description similarity

  1. Glowstick

    github.com

    type level tensor shapes in stable rust

    Hacker News53 pts

  2. Tensor library & inference framework for machine learning

    Hacker News119 pts

  3. PEP 827

    peps.python.org

    TS-like type manipulation in Python

    Hacker News7 pts

  4. InsightFlow

    github.com

    LLM-based tool for parsing information and chatting with it

    Hacker News20 pts

  5. Axiom

    news.ycombinator.com

    C++ tensor library with NumPy API and Metal GPU support

    Hacker News5 pts