candle_core::shape

Function dims1

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