(*args: Any, **kwargs: Any)
| 454 | |
| 455 | |
| 456 | def CLI(*args: Any, **kwargs: Any) -> Any: |
| 457 | from jsonargparse import CLI, set_config_read_mode, set_docstring_parse_options |
| 458 | |
| 459 | set_docstring_parse_options(attribute_docstrings=True) |
| 460 | set_config_read_mode(urls_enabled=True) |
| 461 | |
| 462 | kwargs.setdefault('as_positional', False) |
| 463 | |
| 464 | return CLI(*args, **kwargs) |
| 465 | |
| 466 | |
| 467 | def save_hyperparameters(function: callable, checkpoint_dir: Path) -> None: |
no outgoing calls
no test coverage detected