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.
More from Fun
- Claude-made chart ranks Canadian cities by cost and fun — pvncher · 2026-11-30
- AI agent builds a pure-C ImGui live-reload dev environment on a Steam Deck — yacineMTB · 2026-11-30
- Glowing mushroom sprouts circuits: a striking cyberpunk-style AI-generated image — VoidStateKate · 2026-11-30
- Is there a word for tasks where interleaved processes deadlock each other? A homemaker's algorithmic question — relic_radiation · 2026-11-30
- Eerily polished "slaycraft" witch video showcases AI character generation — UndergroundSlay · 2026-11-30
- SF's AI boom drives a shortage of elite private chefs earning $200k+ — jbarbier · 2026-11-30