Shapes are the type system of ML, and nobody checks them for you
Originally published at cchinchilla.dev . Part 3 of From code to weights, a 12-part series on ML fundamentals for engineers. Part 2 ended on a signature. A batch of sequences of embedding rows is a tensor of shape [B, T, d] . That line is the closest thing this stack has to a type. This post reads…
Read the full story at DEV Community — Machine Learning ↗
Timeline · 1 report
- 2026-09-24 13:00 · DEV Community — Machine Learning
Shapes are the type system of ML, and nobody checks them for you