MCPcopy Create free account
hub / github.com/Alpha-VLLM/LLaMA2-Accessory / forward

Method forward

Large-DiT-ImageNet/models.py:81–84  ·  view source on GitHub ↗
(self, t)

Source from the content-addressed store, hash-verified

79 return embedding
80
81 def forward(self, t):
82 t_freq = self.timestep_embedding(t, self.frequency_embedding_size)
83 t_emb = self.mlp(t_freq.to(self.mlp[0].weight.dtype))
84 return t_emb
85
86
87class ParallelLabelEmbedder(nn.Module):

Callers

nothing calls this directly

Calls 1

timestep_embeddingMethod · 0.95

Tested by

no test coverage detected