MCPcopy Create free account
hub / github.com/OpenImagingLab/FlashVSR / forward

Method forward

diffsynth/models/sdxl_ipadapter.py:37–40  ·  view source on GitHub ↗
(self, hidden_states)

Source from the content-addressed store, hash-verified

35 self.to_v_ip = torch.nn.Linear(input_dim, output_dim, bias=False)
36
37 def forward(self, hidden_states):
38 ip_k = self.to_k_ip(hidden_states)
39 ip_v = self.to_v_ip(hidden_states)
40 return ip_k, ip_v
41
42
43class SDXLIpAdapter(torch.nn.Module):

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected