|
30 | 30 | #include "training.h" |
31 | 31 |
|
32 | 32 |
|
33 | | -// Execute complete model pipeline for specified neuron type. |
34 | | -// This template function orchestrates the entire machine learning pipeline for neural networks, including dataset |
35 | | -// processing, network construction, training, inference, and evaluation. It serves as the core execution engine |
36 | | -// for both AltAI and BLIFAT neuron models. |
| 33 | +/** |
| 34 | + * @brief Execute complete model pipeline for specified neuron type. |
| 35 | + * |
| 36 | + * @details This template function orchestrates the entire machine learning pipeline for neural networks, including |
| 37 | + * dataset processing, network construction, training, inference, and evaluation. It serves as the core execution |
| 38 | + * engine for both AltAI and BLIFAT neuron models. |
| 39 | + * |
| 40 | + * @tparam Neuron neuron type for neuron model specification. |
| 41 | + * |
| 42 | + * @param model_desc model description containing configuration parameters and paths. |
| 43 | + */ |
37 | 44 | template <typename Neuron> |
38 | 45 | void run_model(const ModelDescription& model_desc) |
39 | 46 | { |
@@ -61,10 +68,17 @@ void run_model(const ModelDescription& model_desc) |
61 | 68 | } |
62 | 69 |
|
63 | 70 |
|
64 | | -// Main application entry point. |
65 | | -// This function serves as the primary execution point for the MNIST neural network learning application. |
66 | | -// It handles command-line argument parsing, configuration validation, user interaction, and routes execution to |
67 | | -// the appropriate neuron model. |
| 71 | +/** |
| 72 | + * @brief Main application entry point. |
| 73 | + * |
| 74 | + * @details This function serves as the primary execution point for the MNIST neural network learning application. |
| 75 | + * It handles command-line argument parsing, configuration validation, user interaction, and routes execution to |
| 76 | + * the appropriate neuron model. |
| 77 | + * |
| 78 | + * @param argc argument count. |
| 79 | + * @param argv arguments values. |
| 80 | + * @return ret code. |
| 81 | + */ |
68 | 82 | int main(int argc, char** argv) |
69 | 83 | { |
70 | 84 | // Parse command-line arguments and validate configuration. |
|
0 commit comments