pub fn critical_path_analysis(
graph: &EinsumGraph,
weights: &HashMap<usize, f64>,
) -> Option<CriticalPath>Expand description
Find the critical path in the computation graph.
The critical path is the longest path from inputs to outputs, which represents the minimum time required for execution.