pub fn checked_num_elements(shape: &[usize]) -> Option<usize>
Product of the dimensions, or None on overflow. Rank 0 gives 1.
None