validate_shape

Function validate_shape 

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

Validate that a shape is valid (all dimensions > 0)