MCPcopy Create free account
hub / github.com/deepbrainai-research/float / forward

Method forward

models/float/FMT.py:123–126  ·  view source on GitHub ↗
(self, t: torch.Tensor)

Source from the content-addressed store, hash-verified

121 return embedding
122
123 def forward(self, t: torch.Tensor) -> torch.Tensor:
124 t_freq = self.timestep_embedding(t, self.frequency_embedding_size)
125 t_emb = self.mlp(t_freq)
126 return t_emb
127
128class SequenceEmbed(nn.Module):
129 def __init__(

Callers

nothing calls this directly

Calls 1

timestep_embeddingMethod · 0.95

Tested by

no test coverage detected