He Ran a CNN Inside a PDF: 26,698 Parameters, No Python, Pure Acrobat JS

cneuralnetwork · x · 2026-11-07

A developer packed a PyTorch-trained MNIST digit classifier directly into a 546 KB PDF: 26,698 learned parameters, two conv layers, and JavaScript that runs the forward pass. Once opened in Acrobat Reader, prediction needs no Python, browser, API, or network connection — and it runs quite accurately.

Related event: Developer Runs a CNN Inside a PDF File(2 posts)→

Original post →

More from coding & agent

coding & agent channel →