Skip to main content

validate_shape

Function validate_shape 

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

Validate that a shape and data length are consistent.