Hi Nishant,
thank you for the reply and the work behind tsalib. Tbh, I was reluctant to add another dependency such as your package to the project.
Now that pytorch 1.3 has been released, named tensors provide everything I was looking for built-in. https://pytorch.org/blog/pytorch-1-dot-3-adds-mobile-privacy-quantization-and-named-tensors/ 183