get_data_param_dtype#
-
nvmath.
bindings. cudss. get_data_param_dtype(int attr)[source]# Get the Python data type of the corresponding DataParam attribute.
- Parameters:
attr (DataParam) – The attribute to query.
- Returns:
The data type of the queried attribute.
Note
This API has no C counterpart and is a convenient helper for allocating memory for
data_get(),data_set().