candle_core::shape

Function dims2

Source
pub fn dims2(dims: &[usize]) -> Result<(usize, usize)>