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

Method forward

locationencoder/locationencoder.py:100–102  ·  view source on GitHub ↗
(self, lonlats)

Source from the content-addressed store, hash-verified

98 return self.loss_fn(self, lonlats, label)
99
100 def forward(self, lonlats):
101 embedding = self.positional_encoder(lonlats)
102 return self.neural_network(embedding)
103
104 def training_step(self, batch, batch_idx):
105 loss = self.common_step(batch, batch_idx)

Callers 2

predict_stepMethod · 0.95
test_stepMethod · 0.95

Calls

no outgoing calls

Tested by 1

test_stepMethod · 0.76