torch.jit.load
torch.jit.load(f, map_location=None, _extra_files=None)
Load a "ScriptModule" or "ScriptFunction" previously saved with
   "torch.jit.save"
All previously saved modules, no matter their device, are first
   loaded onto CPU, and then are moved to the devices they were saved
   from. If this fails (e.g. because the run time system doesn't have
   certain devices), an exception is raised.
Parameters:
      * f -- a file-like object (has to implement read, readline,
        tell, and seek), or a string containing a file name
  * **map_location** (*string** or **torch.device*) -- A
    simplified version of "map_location" in *torch.jit.save* used
    to dynamically remap storages to an alternative set of
    devices.

  * **_extra_files** (*dictionary of filename to content*) -- The
    extra filenames given in the map would be loaded and their
    content would be stored in the provided map.

Returns:
      A "ScriptModule" object.