Serializes this instance to a Python dictionary. Returns: :obj:`Dict[str, any]`: Dictionary of all the attributes that make up this configuration instance,
(self)
| 355 | return serializable_config_dict |
| 356 | |
| 357 | def to_dict(self): |
| 358 | """ |
| 359 | Serializes this instance to a Python dictionary. |
| 360 | |
| 361 | Returns: |
| 362 | :obj:`Dict[str, any]`: Dictionary of all the attributes that make up this configuration instance, |
| 363 | """ |
| 364 | output = copy.deepcopy(self.__dict__) |
| 365 | if hasattr(self.__class__, "model_type"): |
| 366 | output["model_type"] = self.__class__.model_type |
| 367 | return output |
| 368 | |
| 369 | def to_json_string(self, use_diff=True): |
| 370 | """ |
no outgoing calls
no test coverage detected