The nvmath.bindings module is experimental and potentially subject to future changes. get_mat_diag_type# nvmath.bindings.cusparse.get_mat_diag_type(intptr_t descr_a) → int[source]# See cusparseGetMatDiagType().