MCPcopy Create free account
hub / github.com/huggingface/transformers / test_step

Method test_step

examples/lightning_base.py:129–130  ·  view source on GitHub ↗
(self, batch, batch_nb)

Source from the content-addressed store, hash-verified

127 self.logger.log_metrics(lrs)
128
129 def test_step(self, batch, batch_nb):
130 return self.validation_step(batch, batch_nb)
131
132 def test_epoch_end(self, outputs):
133 return self.validation_end(outputs)

Callers

nothing calls this directly

Calls 1

validation_stepMethod · 0.45

Tested by

no test coverage detected