Running a CNN Inside a PDF: MNIST Classifier in 546KB, No Python Needed

cneuralnetwork · x · 2026-11-07

The author trained an MNIST CNN in PyTorch (2 conv layers, 26,698 parameters) and embedded the forward-pass JavaScript into a 546KB PDF, letting Acrobat Reader classify hand-drawn digits entirely inside the document—no Python, browser, API, or network required.

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

Original post →

More from Fun

Fun channel →