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

Method training_step

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

Source from the content-addressed store, hash-verified

102 return self.neural_network(embedding)
103
104 def training_step(self, batch, batch_idx):
105 loss = self.common_step(batch, batch_idx)
106 return loss
107
108 def validation_step(self, batch, batch_idx):
109 loss = self.common_step(batch, batch_idx)

Callers

nothing calls this directly

Calls 1

common_stepMethod · 0.95

Tested by

no test coverage detected