MCPcopy Create free account
hub / github.com/MarcCoru/locationencoder / predict_step

Method predict_step

locationencoder/locationencoder.py:113–116  ·  view source on GitHub ↗
(self, batch, batch_idx)

Source from the content-addressed store, hash-verified

111 return {"val_loss":loss}
112
113 def predict_step(self, batch, batch_idx):
114 lonlats, label = batch
115 prediction_logits = self.forward(lonlats)
116 return prediction_logits, lonlats, label
117
118 def test_step(self, batch, batch_idx):
119 lonlats, label = batch

Callers

nothing calls this directly

Calls 1

forwardMethod · 0.95

Tested by

no test coverage detected