Remix.run Logo
▲ SideQuark 5 hours ago

You can subdivide any shape into square shapes, and you get the same bound. You only thinking of rectangles, but that rectangle is a square and some leftover, then recurse on the leftover.

Matrix multiplications are recursive on shapes. Play with it by hand a while.

It's how AI accelerators can process tensors with a fixed size matmul silicon block.