MCPcopy Create free account
hub / github.com/clinicalml/TabLLM / test_step

Method test_step

t-few/src/models/EncoderDecoder.py:300–302  ·  view source on GitHub ↗
(self, batch, batch_idx)

Source from the content-addressed store, hash-verified

298 return metrics
299
300 def test_step(self, batch, batch_idx):
301 batch_output = self.predict(batch)
302 return batch_output
303
304 def test_epoch_end(self, outputs):
305 metrics = self.validation_test_shared_preparation(outputs, self.config.test_score_file)

Callers

nothing calls this directly

Calls 1

predictMethod · 0.95

Tested by

no test coverage detected