SciPy

scipy.sparse.bsr_matrix.set_shapeΒΆ

bsr_matrix.set_shape(shape)[source]ΒΆ