pub fn print_image(image: &[u8; 784], label: u8)Expand description
Print a sample image.
ยงExamples
use rust_mnist::{print_image, Mnist};
let mnist = Mnist::new("examples/MNIST_data/");
// Print one image (the one at index 5).
print_image(&mnist.train_data[5], mnist.train_labels[5]);