gradient live training

A 2 → h → h → 1 tanh/sigmoid MLP built from scalar Values, trained with full-batch gradient descent on mean squared error. Every gradient comes from loss.backward() on the engine — the heatmap is the net's output over the plane, redrawn as it learns.

Decision boundary: orange ≈ 1, blue ≈ 0, white line at 0.5
Training loss (MSE, log scale) per epoch