How xchereau/mapetiteia works
MAPETITEIA is a small MNIST neural-network evaluation program. Its main workflow loads the bundled image and label data, initializes a randomly weighted network, copies its parameters into matrices, and computes performance on the test set. The CUDA implementation is present in the tree but was not excerpted, so its internal execution details are not shown.
Main entry points: main.c Application entry · get_mnist_vector.c Dataset loading and display · neural_types.c Network allocation · get_matrix.c Weight and bias matrices
Components 8
MNIST input
- MNIST binaries
get_mnist_data - Dataset loading and display
get_mnist_data/get_mnist_vector.c
Network model
- Network allocation
neural_network/neural_types.c - Network data types
neural_network/neural_types.h - Weight and bias matrices
get_weight_bias_matrix/get_matrix.c
Evaluation
- Application entry
main.c - Performance computation
neural_network/compute_neural_network.cu
Other components
- Program user
Connections 9
- Program user → Application entry: runs
- Application entry → Dataset loading and display: loads and displays
main.c - Application entry → MNIST binaries: selects data files
main.c - Dataset loading and display → MNIST binaries: reads
get_mnist_data/get_mnist_vector.c - Application entry → Network allocation: initializes and frees
main.c - Network allocation → Network data types: implements
neural_network/neural_types.c - Application entry → Weight and bias matrices: allocates from network
main.c - Weight and bias matrices → Network data types: copies parameters
get_weight_bias_matrix/get_matrix.c - Application entry → Performance computation: computes test performance
main.c