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

Method forward

model/gem.py:129–131  ·  view source on GitHub ↗
(self, x, t)

Source from the content-addressed store, hash-verified

127 self.nc_per_task = n_outputs # shared_head
128
129 def forward(self, x, t):
130 output = self.net(x)
131 return output
132
133 def observe(self, x, t, y):
134 # update memory

Callers 1

observeMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected