torch_concepts.data.io.save_pickle

save_pickle(obj: Any, filename: str) str[source]

Save object to file as pickle.

Parameters:
  • obj – Object to be saved.

  • filename – Where to save the file.

Returns:

The absolute path to the saved pickle.

Return type:

str