(self, checkpoints_dir: typing.Union[str, pathlib.Path], load_checkpoints_to_cpu: bool = False)
| 75 | |
| 76 | class UnpackedNemoCheckpointDir: |
| 77 | def __init__(self, checkpoints_dir: typing.Union[str, pathlib.Path], load_checkpoints_to_cpu: bool = False): |
| 78 | self._checkpoints_dir = pathlib.Path(checkpoints_dir) |
| 79 | self._load_checkpoints_to_cpu = load_checkpoints_to_cpu |
| 80 | |
| 81 | @property |
| 82 | @functools.lru_cache |
nothing calls this directly
no outgoing calls
no test coverage detected