MCPcopy Create free account
hub / github.com/RolnickLab/climart / test_step

Method test_step

climart/models/base_model.py:255–256  ·  view source on GitHub ↗
(self, batch: Any, batch_idx: int, dataloader_idx: int = None)

Source from the content-addressed store, hash-verified

253 self._start_test_epoch_time = time.time()
254
255 def test_step(self, batch: Any, batch_idx: int, dataloader_idx: int = None):
256 return self._evaluation_step(batch, batch_idx)
257
258 def test_epoch_end(self, outputs: List[Any]) -> dict:
259 test_time = time.time() - self._start_test_epoch_time

Callers

nothing calls this directly

Calls 1

_evaluation_stepMethod · 0.95

Tested by

no test coverage detected