shape_to_py_tuple

Function shape_to_py_tuple 

Source
pub fn shape_to_py_tuple(
    shape: &[usize],
    py: Python<'_>,
) -> PyResult<Py<PyTuple>>
Expand description

Convert Rust shape Vec to Python tuple