pub fn parse_block_schedule(
spec: &str,
n_layer: usize,
) -> Result<Vec<usize>, PriorError>Expand description
Parses a comma-separated recurrent-depth block schedule string.
ยงErrors
Returns PriorError::Validation if the schedule is empty, contains non-integers,
exceeds n_layer, or fails to use every physical block 0..n_layer.