Implement pickle support for sparse tensors and torch.layout instances (#27062)
Summary:
Resolves issue https://github.com/pytorch/pytorch/issues/16667 and https://github.com/OpenMined/PySyft/issues/2326
Pull Request resolved: https://github.com/pytorch/pytorch/pull/27062
Differential Revision: D17762932
Pulled By: ezyang
fbshipit-source-id: dd99c1f4ac8eb2286eb55aa20ce973f60ce7b7e1