scirs2_neural/training/progress_monitor.rs
1//! Progress monitoring utilities
2
3/// Configuration for progress monitoring
4#[derive(Debug, Clone)]
5pub struct ProgressMonitorConfig {
6 /// Whether to show progress bar
7 pub show_progress: bool,
8 /// Update frequency
9 pub update_frequency: usize,
10}
11
12impl Default for ProgressMonitorConfig {
13 fn default() -> Self {
14 Self {
15 show_progress: true,
16 update_frequency: 1,
17 }
18 }
19}