Return type:
      Any
Warning:
 "torch.load()" unless *weights_only* parameter is set to *True*,
 uses "pickle" module implicitly, which is known to be insecure.
 It is possible to construct malicious pickle data which will
 execute arbitrary code during unpickling. Never load data that
 could have come from an untrusted source in an unsafe mode, or
 that could have been tampered with. **Only load data you trust**.

Note:
 When you call "torch.load()" on a file which contains GPU
 tensors, those tensors will be loaded to GPU by default. You can
 call "torch.load(.., map_location='cpu')" and then
 "load_state_dict()" to avoid GPU RAM surge when loading a model
 checkpoint.

Note:
 By default, we decode byte strings as "utf-8".  This is to avoid
 a common error case "UnicodeDecodeError: 'ascii' codec can't
 decode byte 0x..." when loading files saved by Python 2 in Python
