code: def _safe_legacy_load(f):
      return torch.serialization._legacy_load(
          f, map_location=None, pickle_module=safe_pickle
      )
  
file_path: CrypTen/crypten/common/serial.py
imports: import builtins
  import collections
  import inspect
  import io
  import logging
  import pickle
  import torch
label_desc: Use image node_id 7 for calling a global function with example usage: _safe_legacy_load(f) and returns: torch