code: def load(file_or_path):
      
      # This is the pickling pain when changing _src -> src
      import sys
      import inspect
      sys.modules['GPy.kern._src'] = kern.src
      for name, module in inspect.getmembers(kern.src):
          if not name.startswith('_'):
              sys.modules['GPy.kern._src.{}'.format(name)] = module
      sys.modules['GPy.inference.optimization'] = inference.optimization
      import paramz
      return paramz.load(file_or_path)
docs: Load a previously pickled model, using `m.pickle('path/to/file.pickle)'
  
      :param file_name: path/to/file.pickle