scipy.sparse.dia_matrix.get_shape

dia_matrix.get_shape()[source]

Get shape of a matrix.