public class MNIST
Loads handwritten-digit data as four statically typed, independent NDArrays. Images have shape [samples, 28, 28], normalized to [0, 1] and stored in the requested floating type (Float by default). Labels are one-dimensional Int arrays, never one-hot encoded.
xTrain, yTrain, xTest, yTest = MNIST.load(Path("mnist"))