scipy.sparse
dia_matrix.
rint
Element-wise rint.
See numpy.rint for more information.
scipy.sparse.dia_matrix.reshape
scipy.sparse.dia_matrix.set_shape