MCPcopy Create free account
hub / github.com/YesianRohn/TextSSR / forward

Method forward

diffusers/src/diffusers/models/embeddings.py:1226–1231  ·  view source on GitHub ↗
(self, hidden_states)

Source from the content-addressed store, hash-verified

1224 self.norm2 = nn.LayerNorm(time_embed_dim)
1225
1226 def forward(self, hidden_states):
1227 hidden_states = self.norm1(hidden_states)
1228 hidden_states = self.pool(hidden_states)
1229 hidden_states = self.proj(hidden_states)
1230 hidden_states = self.norm2(hidden_states)
1231 return hidden_states
1232
1233
1234class TextImageTimeEmbedding(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected