MCPcopy Index your code
hub / github.com/JetBrains-Research/code2seq / test_step

Method test_step

code2seq/model/code2class.py:76–77  ·  view source on GitHub ↗
(self, batch: BatchedLabeledPathContext, batch_idx: int)

Source from the content-addressed store, hash-verified

74 return self._shared_step(batch, "val")
75
76 def test_step(self, batch: BatchedLabeledPathContext, batch_idx: int) -> Dict: # type: ignore
77 return self._shared_step(batch, "test")
78
79 # ========== ON EPOCH END ==========
80

Callers

nothing calls this directly

Calls 1

_shared_stepMethod · 0.95

Tested by

no test coverage detected