tabensemb.model.AutoGluon.save_kwargs#
method
- AutoGluon.save_kwargs(d: Dict | None = None, ignore: List[str] | None = None)#
Save all args and kwargs of the caller except for those in
ignore. It will trace back to the top caller that has the same method name and the same class ofselfas that of the current frame. For example, in nested __init__ calls of inherited classes, it will trace back to the first __init__ call and record kwargs layer by layer until it reaches the current caller.- Parameters:
- d
The dictionary to save params.
- ignore
kwargs names to be ignored
- Returns:
- dict
The dictionary with the recorded kwargs
Notes
It will be automatically called in
__init__().