MCPcopy Create free account
hub / github.com/TorchSSL/TorchSSL / get_epoch

Method get_epoch

custom_writer.py:70–71  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

68 self.mode = mode
69
70 def get_epoch(self) -> int:
71 return self.epoch
72
73 def get_keys(self, epoch: int = None) -> Tuple[str, ...]:
74 """Returns keys1 e.g. train,eval."""

Callers 2

get_keysMethod · 0.95
get_keys2Method · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected