Dev shares Go file with an entire neural net hardcoded as weight arrays

haydendevs · x · 2026-11-30

The screenshot shows hundreds of lines of hardcoded Float32 weight arrays inside a policy.go file — someone embedded an entire neural network's weights directly into Go source code. The author's tongue-in-cheek 'the design is very human' pokes fun at this gloriously unhinged approach.

Original post →

More from Fun

Fun channel →