class_docstr: This is the BaseConfig class which defines all the useful loading and saving methods
  of the configs
class_docstr_tok: ["This","is","the","BaseConfig","class","which","defines","all","the","useful","loading","and","saving","methods","of","the","configs"]
docstr: Transforms object into a Python dictionnary
  
  Returns:
      (dict): The dictionnary containing all the parameters
docstr_tok: ["Transforms","object","into","a","Python","dictionnary","Returns",":","(","dict",")",":","The","dictionnary","containing","all","the","parameters"]
code: def to_dict(self) -> dict:
      """Transforms object into a Python dictionnary
  
      Returns:
          (dict): The dictionnary containing all the parameters"""
      return asdict(self)
  
file_path: benchmark_VAE/src/pythae/config.py
imports: import json
  import os
  import warnings
  from dataclasses import asdict, field
  from typing import Any, Dict, Union
  from pydantic import ValidationError
  from pydantic.dataclasses import dataclass
label_desc: Use image node_id 5 for calling the BaseConfig obj's underlying member method code with example usage: obj.to_dict() and returns: asdict