I’m wondering if there is a way to save some small amount of arbitrary meta data header to a torch file when using torch.save( file_path)
. Something that would allow me to query the file before loading, for example by running % head torchfile.pt
from the command line which might allow me to embed a version for the class I’ve constructed.