Module conversion

Module conversion 

Source
Expand description

Data conversion utilities for Python-Rust interop

Functionsยง

extract_shape
Convert Python objects to shape vector
parse_device_string
Convert device string to DeviceType
parse_dtype_string
Convert dtype string to DType
python_list_to_vec
Convert Python list to Vec