MCPcopy
hub / github.com/OpenMotionLab/MotionGPT / test_step

Method test_step

mGPT/models/base.py:30–33  ·  view source on GitHub ↗
(self, batch, batch_idx)

Source from the content-addressed store, hash-verified

28 return self.allsplit_step("val", batch, batch_idx)
29
30 def test_step(self, batch, batch_idx):
31 outputs = self.allsplit_step("test", batch, batch_idx)
32 self.test_step_outputs.append(outputs)
33 return outputs
34
35 def predict_step(self, batch, batch_idx):
36 return self.forward(batch)

Callers

nothing calls this directly

Calls 1

allsplit_stepMethod · 0.80

Tested by

no test coverage detected