MCPcopy Create free account
hub / github.com/BorealisAI/scaleformer / forward

Method forward

models/NHitsMS.py:166–170  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

164 self.repeat = RepeatVector(repeats=n_time_in)
165
166 def forward(self, x):
167 # Encode and repeat values to match time
168 x = self.encoder(x)
169 x = self.repeat(x) # [N,S_out] -> [N,S_out,T]
170 return x
171
172# Cell
173class _IdentityBasis(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected