MCPcopy Create free account
hub / github.com/TencentARC/BrushNet / forward

Method forward

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

Source from the content-addressed store, hash-verified

502 self.norm2 = nn.LayerNorm(time_embed_dim)
503
504 def forward(self, hidden_states):
505 hidden_states = self.norm1(hidden_states)
506 hidden_states = self.pool(hidden_states)
507 hidden_states = self.proj(hidden_states)
508 hidden_states = self.norm2(hidden_states)
509 return hidden_states
510
511
512class TextImageTimeEmbedding(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected