(cls, ckpt_dir: str)
| 519 | |
| 520 | @classmethod |
| 521 | def from_checkpoint(cls, ckpt_dir: str): |
| 522 | return cls.from_json_file(os.path.join(ckpt_dir, 'config.json')) |
| 523 | |
| 524 | def to_json_file(self, config_file: str): |
| 525 | with open(config_file, 'w') as f: |
nothing calls this directly
no test coverage detected