Skip to content

Files

Latest commit

046a2a1 · May 29, 2020

History

History
This branch is 473 commits behind tensorflow/tfjs-examples:master.

mnist-core

TensorFlow.js Example: MNIST using tfjs-core

This example shows you how to train MNIST only using the [TensorFlow.js core] (https://github.com/tensorflow/tfjs-core) library (not using the layers API).

Note: currently the entire dataset of MNIST images is stored in a PNG image we have sprited, and the code in data.js is responsible for converting it into Tensors. This will become much simpler in the near future.

See this example live!