#pragma once #include #include struct FashionMNISTSet { // Images as floats in [0,1], row-major, size = N * 784 std::vector images; // Labels in {0..9}, size = N std::vector labels; size_t N = 0; }; // Loads the entire Fashion-MNIST dataset from the binary files FashionMNISTSet load_fashion_mnist_data(const std::string& data_dir, bool is_train);