Issue with using sparse matrix representation for a pruned model

Similar thread discussing the same.

This link shows how to actually remove the weights via structured pruning.