Skip to main content

validate_shape

Function validate_shape 

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

Validates that data_len matches the element count implied by shape.