Skip to main content

generated_len

Function generated_len 

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

The number of items in an array of shape that a function makes. A Limit error past MAX_GENERATED_ELEMENTS, or where the array would take the process past its memory guard’s limit (memory::admit).