pub fn is_forward_mode_efficient(input_dim: usize, output_dim: usize) -> bool
Check if forward mode is preferred for the given problem dimensions