[PyTorch Mobile] Add an overload for deserialize() that doesn't accept the extra_files map. (#50932)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/50932
After the change to split `_load_for_mobile()` into multiple methods, one which takes in the `extra_files` map, and one which doesn't, we can change the implementation of the `deserialize()` method with different overloads as well. Suggested by raziel on D25968216 (https://github.com/pytorch/pytorch/commit/bb909d27d5a546e72fda8bfe13f06853708635af).
ghstack-source-id: 120185089
Test Plan: Build/Sandcastle.
Reviewed By: JacobSzwejbka
Differential Revision: D26014084
fbshipit-source-id: 914142137346a6246def1acf38a3204dd4c4f52f