Create directory PATH recursively if it does not exist.
(path)
| 58 | |
| 59 | |
| 60 | def xmkdir(path): |
| 61 | """Create directory PATH recursively if it does not exist.""" |
| 62 | os.makedirs(path, exist_ok=True) |
| 63 | |
| 64 | |
| 65 | def clean_checkpoint(checkpoint_dir, keep_num=2): |
no outgoing calls
no test coverage detected