Text this: Sparsity-preserving gradient utility tools for PyTorch