MNISTLoader for node.js implemented