MCPcopy Create free account
hub / github.com/KimMeen/Time-LLM / forward

Method forward

layers/Embed.py:26–27  ·  view source on GitHub ↗
(self, x)

Source from the content-addressed store, hash-verified

24 self.register_buffer('pe', pe)
25
26 def forward(self, x):
27 return self.pe[:, :x.size(1)]
28
29
30class TokenEmbedding(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected