Canon

How to read a tensor

Six pages was the plan. Four stand here as a nave; diagrams stay schematic until the workbench grows hands.

Broadcasting

When two shapes meet, the trailing axes must equal or be 1. A mismatch is not a mystery — it is a broken colonnade. Interactive mismatch highlighting is planned.

Einsum

Subscripts name axes. Repeated letters contract; omitted letters reduce. The live diagram (nodes as polygons, edges as sums) remains behind the veil.

Embeds

iframe and a tiny JS widget will freeze a tensor view into docs. Free embeds carry a TensorGon watermark; Pro removes it. The shell route already exists.

Limits

This layout build caps arrays at 4096 elements and draws only the trailing plane of higher-rank tensors. WebGPU and .npy land later.

Held for later

Attention-head walkthrough

A worked QKᵀ example with temperature and causal mask will occupy this alcove — not in the layout cut.