extract_shape

Function extract_shape 

Source
pub fn extract_shape(shape_obj: &Bound<'_, PyAny>) -> PyResult<Vec<usize>>
Expand description

Convert Python objects to shape vector