MCPcopy Create free account
hub / github.com/cubiq/ComfyUI_IPAdapter_plus / forward

Method forward

image_proj_models.py:205–207  ·  view source on GitHub ↗
(self, image_embeds)

Source from the content-addressed store, hash-verified

203 )
204
205 def forward(self, image_embeds):
206 clip_extra_context_tokens = self.proj(image_embeds)
207 return clip_extra_context_tokens
208
209class MLPProjModelFaceId(nn.Module):
210 def __init__(self, cross_attention_dim=768, id_embeddings_dim=512, num_tokens=4):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected