Thank you for posting the draft here and asking for feedback!
Just by skimming through the code snippets in tensor_annotations, it looks similar to PyTorch’s named tensors, but this utility would be built into the Python standard now?