Skip to main content

element_count

Function element_count 

Source
pub fn element_count(shape: &[usize]) -> Result<usize, Error>
Expand description

The number of items in an array of shape. A Limit error when shape has more than MAX_RANK axes, or more items than a usize counts.