How to write scipy CSR matrix to checkpoint?

I have scipy matrix, I want to write this as a checkpoint.

I am new to Pytorch, please suggest to me the possible way to write scipy matrix to checkpoint.

Add this array as a new entry to a dict and save it via torch.save.

@ptrblck thank you for the answer. It will work.