MCPcopy Create free account
hub / github.com/Mattdl/ContinualPrototypeEvolution / forward

Method forward

model/finetune.py:36–38  ·  view source on GitHub ↗
(self, x, t)

Source from the content-addressed store, hash-verified

34 self.batch_size = args.batch_size # How many to process per update
35
36 def forward(self, x, t):
37 output = self.net(x)
38 return output
39
40 def observe(self, x, t, y):
41 self.train()

Callers 1

observeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected