py_shape_to_vec

Function py_shape_to_vec 

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

Convert Python shape tuple to Rust Vec<usize>