MCPcopy Create free account
hub / github.com/AlayaLab/Hive / forward

Method forward

models/flowsep/diffusers/models/embeddings.py:417–422  ·  view source on GitHub ↗
(self, hidden_states)

Source from the content-addressed store, hash-verified

415 self.norm2 = nn.LayerNorm(time_embed_dim)
416
417 def forward(self, hidden_states):
418 hidden_states = self.norm1(hidden_states)
419 hidden_states = self.pool(hidden_states)
420 hidden_states = self.proj(hidden_states)
421 hidden_states = self.norm2(hidden_states)
422 return hidden_states
423
424class GlobalTimeEmbedding(nn.Module):
425 def __init__(self, encoder_dim: int, time_embed_dim: int):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected