MCPcopy Create free account
hub / github.com/AMAP-ML/Eevee / forward

Method forward

models/training.py:50–54  ·  view source on GitHub ↗
(self, data)

Source from the content-addressed store, hash-verified

48
49
50 def forward(self, data):
51 inputs = self.forward_preprocess(data)
52 models = {name: getattr(self.pipe, name) for name in self.pipe.in_iteration_models} # todo
53 loss = self.pipe.training_loss(**models, **inputs)
54 return loss
55
56
57 def switch_pipe_to_training_mode(

Callers

nothing calls this directly

Calls 2

forward_preprocessMethod · 0.95
training_lossMethod · 0.80

Tested by

no test coverage detected