Learn XOR.

The smallest nonlinear classic: two inputs, three hidden neurons, and one output. WebGPU performs online training until the four corners of the truth table separate cleanly.

initializing WebGPU
2 inputs
1 output
Epoch0 / 2500
Accuracy—
Train time—
Backend—

Compiling the XOR model…