desc.io.load

class desc.io.load(load_from, file_format=None)[source]

Load any DESC object from previously saved file.

Parameters:
  • load_from (str or path-like or file instance) – file to initialize from

  • file_format ({'hdf5', 'pickle'} (Default: infer from file name)) – file format of file initializing from

Returns:

obj – The object saved in the file