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

Method forward

diffusers/src/diffusers/models/embeddings.py:1258–1262  ·  view source on GitHub ↗
(self, image_embeds: torch.Tensor)

Source from the content-addressed store, hash-verified

1256 self.image_norm = nn.LayerNorm(time_embed_dim)
1257
1258 def forward(self, image_embeds: torch.Tensor):
1259 # image
1260 time_image_embeds = self.image_proj(image_embeds)
1261 time_image_embeds = self.image_norm(time_image_embeds)
1262 return time_image_embeds
1263
1264
1265class ImageHintTimeEmbedding(nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected