diffusion_rs_common::core::shape

Function dims2

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