This PR adds functionality to serialize tables having metatables. This includes objects instantiated with classes created via torch.class(). As expected, the metatable is NOT serialized. Includes unit tests for serializing objects from classes contained in both local and global modules.
This PR adds functionality to serialize tables having metatables. This includes objects instantiated with classes created via torch.class(). As expected, the metatable is NOT serialized. Includes unit tests for serializing objects from classes contained in both local and global modules.